[issue41407] Tricky behavior of builtin-function map
Jim Jewett
report at bugs.python.org
Mon Jul 27 19:44:35 EDT 2020
Jim Jewett <jimjjewett at gmail.com> added the comment:
Why would you raise StopIteration if you didn't want to stop the nearest iteration loop? I agree that the result of your sample code seems strange, but that is because it is strange code.
I agree with Steven D'Aprano that changing it would cause more pain than it would remove.
Unless it gets a lot more support by the first week of August, I recommend closing this request as rejected.
----------
nosy: +Jim.Jewett
status: open -> pending
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41407>
_______________________________________
More information about the Python-bugs-list
mailing list