Output buffered in Python 3

Bug #545012 reported by weizi
6
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 = ' ')
>>>

Revision history for this message
Noam Yorav-Raphael (noamraph) wrote :

Thanks for the report!

This is caused by Python 3 buffering stdout. A somewhat simpler example can be:
>>> import sys
>>> sys.stdout.write('a')
>>>

I reported this in http://bugs.python.org/issue8213 . I commited a workaround in revision 156 to flush stdout and stderr after executing.

summary: - print() for python 3.1.2
+ Output buffered in Python 3
Changed in dreampie:
status: New → Fix Committed
Changed in dreampie:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.