Chris Lambacher <ch...@kateandchris.net> added the comment:

I have attached a patch that conditionally uses sys.stdout.buffer.write to 
output binary (encoded) data to stdout.

----------
nosy: +lambacck
Added file: http://bugs.python.org/file19768/calendar_bytes_output.patch

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

Reply via email to