radiocane <[email protected]> added the comment:

Given that:
1) No standard codec returns unicode
2) I consider as "most common scenario" the case where a user wants to encode a 
unicode object using some character encoding and get back an str-like object

I'll keep on finding "-> string or unicode" misleading. I'd rather have the 
same as str.encode i.e. "-> object".
Anyway thanks for your time and attention :)

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35544>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to