Author cben
Recipients cben
Date 2009-04-25.23:27:17
SpamBayes Score 2.14637e-05
Marked as misclassified No
Message-id <1240702039.68.0.55843541961.issue5845@psf.upfronthosting.co.za>
In-reply-to
Content
An interactive prompt should offer working completion out-of-the-box,
without requiring every Python user on earth to create a $PYTHONSTARTUP
with '''import readline; readline.parse_and_bind("tab: complete")'''.

Note that it should work not only when Python is run without arguments,
but also when running with the -i option.
And ideally, it should only install the completion function when
dropping to the interpreter, not from the start, so that code that runs
before dropping to the interpreter is not affected.  But this is really
not important.

Safety: if 'rlcompleter' or 'readline' are not availiable (e.g. broken
python install), the user must still get a working interpreter, just
without completion.

Portability: there won't be completion on windows (as long as pyreadline
or similar is not part of Python).  But that shouldn't delay unix support!
History
Date User Action Args
2009-04-25 23:27:19cbensetrecipients: + cben
2009-04-25 23:27:19cbensetmessageid: <1240702039.68.0.55843541961.issue5845@psf.upfronthosting.co.za>
2009-04-25 23:27:18cbenlinkissue5845 messages
2009-04-25 23:27:18cbencreate