flox <la...@yahoo.fr> added the comment:

Maybe the "sys.stdout.write" method can be wrapped in a decorator or a
context manager?

See example of decorator attached.

----------
keywords: +patch
nosy: +flox
Added file: http://bugs.python.org/file15590/issue7537_tolerant_stdout.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7537>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to