You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generator expressions and comprehensions seem to need a lot more testing, especially in combination with all the loop optimisations that we have: lists/tuples, range(), enumerate(), bytes/bytearray/unicode, memoryviews, C arrays, you name it.
At least the bytearray iteration fails to optimise inside of a generator expression, probably others.
This seems worth adding as dedicated test modules, e.g. genexpr_loop_optimisations_py.py (and possibly genexpr_loop_optimisations_cy.pyx).
Found as part of the change in #4254 (which broke memoryview iteration).
The text was updated successfully, but these errors were encountered:
Generator expressions and comprehensions seem to need a lot more testing, especially in combination with all the loop optimisations that we have: lists/tuples,
range()
,enumerate()
, bytes/bytearray/unicode, memoryviews, C arrays, you name it.At least the
bytearray
iteration fails to optimise inside of a generator expression, probably others.This seems worth adding as dedicated test modules, e.g.
genexpr_loop_optimisations_py.py
(and possiblygenexpr_loop_optimisations_cy.pyx
).Found as part of the change in #4254 (which broke memoryview iteration).
The text was updated successfully, but these errors were encountered: