Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPython:
>>> from itertools import * >>> a = chain.from_iterable(repeat(range(2))) >>> next(a) 0 >>> next(a) 1 >>> next(a) 0
RustPython does not evaluate lazily and the call to from_iterable never returns:
from_iterable
>>>>> from itertools import * >>>>> a = chain.from_iterable(repeat(range(2)))
The text was updated successfully, but these errors were encountered:
This test looks missing in CPython
python/cpython#93815
Sorry, something went wrong.
test_itertools.py
itertools.chain.from_iterable
Ok, they are not interested in it. We will add it to extra_tests/snippets/stdlib_itertools.py.
extra_tests/snippets/stdlib_itertools.py
In #3788 I added a similar test.
Successfully merging a pull request may close this issue.
CPython:
RustPython does not evaluate lazily and the call to
from_iterable
never returns:The text was updated successfully, but these errors were encountered: