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

Senthil: I wasn't advocating the removal of the ability to specify encoding, 
only stating that avoiding the use of sys.stdout.buffer.write could only 
sensibly be done if we also removed the ability to specify an encoding (I can 
see how my wording might have been confusing). Earlier (msg122219) I said that 
we probably can't remove the encoding option because that would break backwards 
compatibility.

FWIW, I think that the encoding parameter to the console program is probably 
sensible because there are no guarantees that the sys.getdefaultencoding() is 
actually set to the console encoding and I would guess that most people using 
the html option are not sending output to the console anyway. They are likely 
redirecting the output somewhere else because there is no "output this to a 
file" option.

----------

_______________________________________
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