Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

The API in 2.7 shouldn't be changed.
The error message can be fixed though.

Also, it is not clear that the API should change even in 3.3.  The list.index() 
method is not required to accept None.  It is not different than other APIs 
that use PyArg_ParseTuple() with an "i" field for a start, stop, or step 
argument.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13340>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to