This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson, purpleidea, terry.reedy
Date 2009-09-09.19:09:25
SpamBayes Score 7.839578e-09
Marked as misclassified No
Message-id <1252523368.42.0.781021874582.issue6786@psf.upfronthosting.co.za>
In-reply-to
Content
I'd guess the same.  Most of the readline module is just a thin wrapper 
around the system readline library, so if the system readline library uses 
one-based indexing, so does the readline module.  Changing this would 
probably be quite error-prone,  with a high chance of introducing off-by-
one errors somewhere along the line.

Interestingly, the Apple-supplied python (2.6.1) in OS X 10.6 does have 
zero-based readline history.  See issue 6872.
History
Date User Action Args
2009-09-09 19:09:28mark.dickinsonsetrecipients: + mark.dickinson, terry.reedy, purpleidea
2009-09-09 19:09:28mark.dickinsonsetmessageid: <1252523368.42.0.781021874582.issue6786@psf.upfronthosting.co.za>
2009-09-09 19:09:26mark.dickinsonlinkissue6786 messages
2009-09-09 19:09:25mark.dickinsoncreate