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 ronaldoussoren
Recipients georg.brandl, ronaldoussoren
Date 2009-09-20.14:13:30
SpamBayes Score 1.7493854e-05
Marked as misclassified No
Message-id <1253456012.32.0.661240289209.issue6953@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for the readline module is a bit too minimal.

1) function 'add_history' is described at the end of the documentation,
   not near the other functions for manipulation the history stack.

2) the index for remove_history_item and replace_history_item is 0-
based,
   while the index for get_history_item is 1-based.

The latter is a confusing API in the underlying readline library and 
should IMO be described in Python's documentation.

(If readline were a new addition to the stdlib I'd prefer to fix the 
interface, but that would have too many backward compatibility issues at 
this point in time).
History
Date User Action Args
2009-09-20 14:13:32ronaldoussorensetrecipients: + ronaldoussoren, georg.brandl
2009-09-20 14:13:32ronaldoussorensetmessageid: <1253456012.32.0.661240289209.issue6953@psf.upfronthosting.co.za>
2009-09-20 14:13:31ronaldoussorenlinkissue6953 messages
2009-09-20 14:13:30ronaldoussorencreate