[issue31417] Use the enumerate function where appropriate

Mark Byrne report at bugs.python.org
Mon Sep 11 18:37:08 EDT 2017


Mark Byrne added the comment:

Generally, we consider the danger of introducing bugs to be more significant than the benefit of the "cleanup" changes.  The fact that you are discussing further changes to the code in the PR make this more likely.

I haven't updated the PR with further code changes as suggested in the PR comments because the comments don't strictly relate to the changes put forward in this issue, and I don't want to go beyond the scope of the issue - the requested changes could go in a separate PR as needed.

The motivation is to use enumerate where it is a natural fit.
If you decide not to merge, then that is ok; let me know if I can help with anything.

----------

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


More information about the Python-bugs-list mailing list