[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

Nick Coghlan report at bugs.python.org
Wed Oct 2 17:08:16 CEST 2013


Nick Coghlan added the comment:

With issue 17839 fixed, the error from invoking the base64 codec through the method API is now substantially more sensible:

>>> b"ZXhhbXBsZQ==\n".decode("base64_codec")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: decoder did not return a str object (type=bytes)

----------

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


More information about the Python-bugs-list mailing list