[issue20335] bytes constructor accepts more than one argument even if the first one is not a string

Roundup Robot report at bugs.python.org
Tue Dec 2 08:35:19 CET 2014


Roundup Robot added the comment:

New changeset 8badbd65840e by Serhiy Storchaka in branch '3.4':
Issue #20335: bytes constructor now raises TypeError when encoding or errors
https://hg.python.org/cpython/rev/8badbd65840e

New changeset 8d6b27837c69 by Serhiy Storchaka in branch 'default':
Issue #20335: bytes constructor now raises TypeError when encoding or errors
https://hg.python.org/cpython/rev/8d6b27837c69

----------
nosy: +python-dev

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20335>
_______________________________________


More information about the Python-bugs-list mailing list