string module

holger krekel pyth at devel.trillke.net
Tue May 21 16:25:47 EDT 2002


Michael Hudson wrote:
> Fernando Pérez <fperez528 at yahoo.com> writes:
> 
> > Michael Hudson wrote:
> > 
> > >> So indeed, since I'm loading readline at the interactive prompt, there's an
> > >> under the hood resetting of the locale. Ah, the beauty of perl-like silent,
> > >> implicit global changes ;)
> > > 
> > > Now trying playing with signals at the interactive prompt[1]
> > > <wink/frown>.  I wouldn't want to live without readline, but sometimes
> > > I do wish it wouldn't bugger around with stuff my application cares
> > > about so much.
> > > 
> > 
> > Agreed. There's not much I can do about readline (I'm not going to
> > rewrite the whole thing!) 
> 
> Well, as you probably know, that's what *I* did...
> 
> pyrepl hasn't seen much of my time of late, sadly.

i just gave it a test. very interesting! it'a pity i am always
using vi-bindings (even in xemacs :-).

btw, Fernando already knows that i rewrote the rlcompleter module
to be a lot more comfortable. It works very differently from
the old rlcompleter by tokeninzing/parsing/evaluating subexpressions.
My current development version (requires readline :-) is here:

     http://home.trillke.net/~hpk/rlcompleter2.py 

just import it on a pure python installation (with readline available)
and play around :-)

If you want to continue development i'd definitely try to integrate my
rlcompleter2 module into pyrepl (and learn some emacs-bindings again :-).

cheers,

    holger





More information about the Python-list mailing list