[docs] [issue26369] unicode.decode and str.encode are unnecessarily confusing for non-ascii
Ben Spiller
report at bugs.python.org
Thu May 12 07:02:53 EDT 2016
Ben Spiller added the comment:
yes the situation is loads better in python 3, this issue is specific to 2.x, but like many people sadly we're not able to move to 3 for the time being.
Since making this mistake is quite common and there's some sensible behaviour that would make it disappear (resulting in ascii and non-ascii strings being treated the same way by these methods) I'd much prefer if we could actually fix it for python 2.7
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26369>
_______________________________________
More information about the docs
mailing list