Re: (offtopic) RE: [Python-Dev] Python 2.0 license and GPL

Thomas Wouters <thomas@xs4all.net> writes:
It wouldn't be particularly hard to rewrite editline in Python (we have termios & the terminal handling functions in curses - and even ioctl if we get really keen). I've been hacking on my own Python line reader on and off for a while; it's still pretty buggy, but if you're feeling brave you could look at: http://www-jcsu.jesus.cam.ac.uk/~mwh21/hacks/pyrl-0.0.0.tar.gz To try it out, unpack it, cd into the ./pyrl directory and try:
import foo # sorry foo.test_loop()
It sort of imitates the Python command prompt, except that it doesn't actually execute the code you type. You need a recent _cursesmodule.c for it to work. Cheers, M. -- 41. Some programming languages manage to absorb change, but withstand progress. -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html
participants (1)
-
Michael Hudson