different behaviour with iterator using pypy than using python
Perhaps this is a known issue, and if so sorry for wasting your time!
The following code snippet will behave differently when run with pypy3 than when run with python3.
#!python
class FakeIterator:
def __init__(self):
self.iterator = self._iter_helper()
def _iter_helper(self):
for i in range(10):
yield i
def __iter__(self):
yield from self.iterator
fake_iterator = FakeIterator()
for a in fake_iterator:
print(a)
if a > 2:
break
for a in fake_iterator:
print(a)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information