Patrick Reader <pxe...@protonmail.com> added the comment:
As the one who wrote the code, I can guarantee you that the StopIteration value is not always None. But I understand your point that for most other users it is always None, and therefore having special syntax might be misleading. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue47147> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com