[Python-Dev] Hi, and a question about filename completion via readline in Python 2.3 (original) (raw)

Fernando Perez fperez at colorado.edu
Thu Sep 25 13:43:33 EDT 2003


Michael Hudson wrote:

Fernando Perez <fperez at colorado.edu> writes:

work. I personally (and many others) use ipython as my main python shell, and I fell it provides a superior working environment to anything else I've seen out there (especially if you need to combine python work with manipulating underlying files).

Bet pyrepl still canes it for multi-line work :-)

It does for on-site multi-line work (though ipython now has an @edit command which is a reasonable substitute). But ipython has a ton more features that make it a fuller environment. As I said before (long ago), it would be cool if we could integrate the two a bit more. Care to give it a go (off-list)?

So ultimately my concerns are:

- is there currently a way to re-enable readline filename completion, as suggested in that thread? Yes. Do it yourself, in your completer function. Is it really that hard? I would have thought os.path + glob would make it a five line or so excercise.

Oh well, I'll do it myself then. I'm a bit bummed to see functionality disappear in a release, but I can live with it. I have more and more 2.3 users who aren't too happy about this change, so I'll just go ahead and implement it.

Cheers,

f.



More information about the Python-Dev mailing list