[issue13340] list.index does not accept None as start or stop

Raymond Hettinger report at bugs.python.org
Sat Nov 5 22:37:34 CET 2011


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

I think this "fix" was too hastily committed. 

1) It was an API change.
2) It probably should have been done in _PyEval_SliceIndex().

Be careful.  Don't rush to commit.  Especially for backports.

----------
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13340>
_______________________________________


More information about the Python-bugs-list mailing list