Jorgen Grahn a écrit : > On 9 Sep 2005 03:40:58 -0700, Sébastien Boisgérault <[EMAIL PROTECTED]> wrote: > > > > Fredrik Lundh wrote: > >> Sébastien Boisgérault wrote: > >> > >> > Thanks for your answer. The execution of your example leads to a > >> > 'aaa' display during 2 secs, before it is erased by the prompt. > >> > > >> > This behavior is standard ? The standard output is not supposed > >> > to *concatenate* the 'aaa' and the '>>>' ? > >> > >> what "python shell" are you using, and what platform are you running > >> it on? > > > > The python interpreter is invoked from a bash/konsole session, > > inside a KDE env.: > > So, it's either of these things: > - konsole and its bugs/features
Nothing that I could do about it ;) > - your $TERM settings My xterm settings ? > - your readline and its bugs/features Uh Uh ... I have disabled my $PYTHONSTARTUP script that was using some features of the readline module, but without any success ... > - your ~/.inputrc settings (see the readline man page) INPUTRC refers to the default Mandrake settings in etc/inputrc. An old version, 2002. It should be mostly harmless, right <wink> ... > It's hard to say what's right and wrong really, and whose fault it is. > I'm pretty sure it's not Python. What happens if you try bash? > > tuva:~> bash > [EMAIL PROTECTED]:~$ echo -n 'foo' > [EMAIL PROTECTED]:~$ Bash (into a konsole, same conditions than befor) seems to be ok: [EMAIL PROTECTED] boisgera]$ echo -n 'foo' [EMAIL PROTECTED] boisgera]$ :( Cheers, SB > /Jorgen > > -- > // Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu > \X/ algonet.se> R'lyeh wgah'nagl fhtagn! -- http://mail.python.org/mailman/listinfo/python-list