Serhiy Storchaka added the comment:

sys.getdefaultencoding() always returns "utf-8" in 3.x (it left for 
compatibility with 2.x). I suggested to set defaults to literal "utf-8". This 
matches documentation and signatures of str.encode() and bytes.decode().

----------

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

Reply via email to