2007/11/7, Guido van Rossum <[EMAIL PROTECTED]>: > There's clearly a bug somewhere, maybe several. Can you file a bug > report at bugs.python.org, clearly stating the expected behavior and > the observed behavior, preferably with sample code? Studying the > source code and providing a patch would be much appreciated as well!
Got it! Please, take a look at my patch. It's in the attachment. I am still digging in the source, but I think that I have found the core of the bug. Without that patch "ret=sys.stdout.write('x')" acts in the same way as print('x',end=''), which is - it prints nothing. After applying the patch it is allright for both sys.stdout.write() and for print(). Wojtek Walczak
py3k-print.patch
Description: Binary data
_______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com