Nick Coghlan <ncogh...@gmail.com> added the comment:

To make the distinction easier to remember, would it help if the methods that 
are currently set to return bytes instead accepted the typical encoding+errors 
parameters, with parallel *b APIs to get at the raw bytes?

My concern with the current API is that there isn't a clear indicator during 
normal programming as to which APIs return strings and which return the raw 
bytes and hence require further decoding.

----------
nosy: +ncoghlan

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

Reply via email to