Eric V. Smith added the comment:

As this is an enhancement request, I've changed the versions.

I'm opposed to this change. If I pass an encoding along with a type for which 
it makes no sense, I'd prefer an error instead of silently ignoring the 
encoding.

I think your helper function is an appropriate solution to your problem.

----------
components: +Interpreter Core -Unicode
nosy: +eric.smith
type: behavior -> enhancement
versions:  -Python 2.7, Python 3.6

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

Reply via email to