[issue44571] itertools: takedowhile()

pavel-lexyr report at bugs.python.org
Mon Jul 5 19:34:44 EDT 2021


pavel-lexyr <pavel at lexyr.com> added the comment:

I see. If the syntax allows for better ways to do it now, perhaps a move towards deprecation would be a better idea then? This would agree with the Zen.

Also, please elaborate more on the generator-based solutions you have in mind. The suggestion stems from a very real use case - and the lambda function we ended up using looks like a poor hack.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44571>
_______________________________________


More information about the Python-bugs-list mailing list