Buffering in Wing and IDLE 3

Franck Ditter franck at ditter.org
Wed Feb 1 10:17:39 EST 2012


Hi,
I'm using Python 3.2.x with beginners.
If I try the following in IDLE 3, it works as expected :

from time import sleep
import sys

for i in range(4) :
    sys.stdout.write(str(i))
    sys.stdout.flush()
    sleep(1)

but with Wing-101, it write 0123 after the total sleep time.
Why ???

I would prefer to use IDLE but as we are in France, the Python team 
does not seem to be aware that the ~ and others are not available 
on MacOS-X here (probably the same in Europe)...

    franck



More information about the Python-list mailing list