[IPython-dev] pyreadline refactor progess

Jörgen Stenarson jorgen.stenarson at bostream.nu
Tue Jul 1 16:26:13 EDT 2008


Hi,

the refactoring of pyreadline is progressing nicely. I have now moved 
all stuff that depends on the console out of the emacs mode. The vi mode 
still uses some console stuff and should not be used in non-console mode.

There is a very simplistic tk_gui.py example in the examples directory. 
The translation of tk key events to the event type used in pyreadline is 
not complete. Dead keys, keys using alt gr, as well as many 
non-alphanumeric keys are not translated. The example also has a very 
simple python prompt.
There also needs to be work on getting the cursor visible.

The code is available, using bzr, from: 
lp:~jorgen-stenarson/pyreadline/pyreadline-refactor

If you want to try it out note that an install will install a 
readline.py which may interfere with your regular readline.

/Jörgen





More information about the IPython-dev mailing list