Output buffered in Python 3
Bug #545012 reported by
weizi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DreamPie |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
DreamPie 1.0.2
>>> for i in range(10):
... print(i,end = ' ')
>>>
Changed in dreampie: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the report!
This is caused by Python 3 buffering stdout. A somewhat simpler example can be: write(' a')
>>> import sys
>>> sys.stdout.
>>>
I reported this in http:// bugs.python. org/issue8213 . I commited a workaround in revision 156 to flush stdout and stderr after executing.