[issue6786] readline and zero based indexing
James
report at bugs.python.org
Mon Aug 9 21:24:35 CEST 2010
James <purpleidea at gmail.com> added the comment:
I'd be writing a patch which would allow a programmer the option to explicitly use/instantiate the library in a zero-based way. This way throughout their particular program, the indexing of elements could be consistent. Not having this causes you to have to reason differently about which parts should be list[i+1] versions list[i].
Would this be reasonable?
Thanks,
_J
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6786>
_______________________________________
More information about the Python-bugs-list
mailing list