New submission from Cherniavsky Beni <c...@users.sf.net>: 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! ---------- messages: 86570 nosy: cben severity: normal status: open title: rlcompleter should be enabled automatically _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5845> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com