[issue6345] extra characters displayed when writing to sys.stdout.buffer

2009-06-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is because write() is returning the number of characters it wrote and that is displayed at the prompt. -- nosy: +benjamin.peterson resolution: -> works for me status: open -> closed ___ Python tracker

[issue6345] extra characters displayed when writing to sys.stdout.buffer

2009-06-25 Thread Mark Tolonen
Mark Tolonen added the comment: Sorry, msg.replace('Issue ','Issue 4571'). -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6345] extra characters displayed when writing to sys.stdout.buffer

2009-06-25 Thread Mark Tolonen
New submission from Mark Tolonen : According to Issue , sys.stdout.buffer is the binary stream underlying stdout. I see the following behavior on 3.0.1 and 3.1rc2 when writing to a console window: Python 3.1rc2 (r31rc2:73414, Jun 13 2009, 16:43:15) [MSC v.1500 32 bit (Intel)] on win32 Ty