Python interpretor auto-completion, history and readline supports

Registered by Ray Wang on 2010-07-19

By looking at openSUSE, its python interpretor environment supports auto-completion, history and readline features etc...
which are very common and useful to python developers, with these, you don't have to install ipython to support these basic features.

the solutions is sample
there is a very sample way to address this idea.
1) just have a pythonstart script in /etc/ somewhere like /etc/python/ , you can download the file which is from openSUSE from http://people.canonical.com/~raywang/files/pythonstart

2) set PYTHONSTART environment variable somewhere like /etc/bash.bashrc to point to pythonstart script, or place a executable bash script in /etc/profile.d/ which export PYTHONSTART variable.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
Proposed for maverick
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Why not use iPython [http://ipython.scipy.org/moin/]?
* Hi, As I have explained, it is a very simple script that can enhance these important, useful and common features, then why we have to install another package to support this? Also, many users would like to run original python interpreter rather than install extra packages to achieve this goal. (think about what most of users start their python interpreter? just run 'python' in shell)

Is anyone looking at this? Thanks a lot!

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.