sys.stdout

Jorgen Grahn jgrahn-nntq at algonet.se
Fri Sep 9 11:49:39 EDT 2005


On 9 Sep 2005 03:40:58 -0700, Sébastien Boisgérault <Sebastien.Boisgerault at gmail.com> 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
- your $TERM settings
- your readline and its bugs/features
- your ~/.inputrc settings (see the readline man page)

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
  grahn at tuva:~$ echo -n 'foo'
  foograhn at tuva:~$

/Jorgen

-- 
  // Jorgen Grahn <jgrahn@       Ph'nglui mglw'nafh Cthulhu
\X/                algonet.se>   R'lyeh wgah'nagl fhtagn!



More information about the Python-list mailing list