Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
For convenience, the takewhile iterator can also have additional attributes: a boolean attribute which indicates that the falsifying element is set, and dynamic attribute which is equal to orig_iterator or chain([odd_element], orig_iterator). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44571> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com