[Python-3000] print() flushing problem.

Wojciech Walczak wojtek.gminick.walczak at gmail.com
Wed Nov 7 15:09:09 CET 2007


2007/11/7, Amaury Forgeot d'Arc <amauryfa at gmail.com>:

> > >>> for i in list('print is not flushing'):
> > ...    print(i,end='')
> > ...
> > print is not flushin[3.0a1]>>> print()
> > g
> > >>> for i in list('printisnotflushing'):
> > ...    print(i,end='')
> > ...
> > printisnotflushing>>>
>
> I don't like this [3.0a1] in the output. Does someone know where it
> can come from? (yes, PY_VERSION, but the brakets?)

Sorry, it is just copy-paste mistake. It's my hack of python. I am
running a few interpreters at the same time and I like to know, which
is which. Thus my interpreter prints '[3.0a1]>>>' and '[3.0a1]...'
instead of '>>>' and '...'.



Wojciech Walczak


More information about the Python-3000 mailing list