Jelle Zijlstra <[email protected]> added the comment:
I can confirm that the behavior changed between 3.10 and current main: enumerate(iterable=[]) works on 3.10 but not on main. It's likely a consequence of bpo-43706. I'll submit a patch to restore the previous behavior. ---------- nosy: +Jelle Zijlstra, corona10 _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue46527> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
