This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yi.codeplayer
Recipients yi.codeplayer
Date 2011-01-02.18:22:42
SpamBayes Score 4.1061327e-07
Marked as misclassified No
Message-id <1293992569.84.0.544003446653.issue10807@psf.upfronthosting.co.za>
In-reply-to
Content
>>> b'dGVzdA==\n'.decode('base64')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "../Lib/encodings/base64_codec.py", line 20, in base64_decode
    return (base64.decodebytes(input), len(input))
  File "../Lib/base64.py", line 359, in decodebytes
    raise TypeError("expected bytes, not %s" % s.__class__.__name__)
TypeError: expected bytes, not memoryview
History
Date User Action Args
2011-01-02 18:22:49yi.codeplayersetrecipients: + yi.codeplayer
2011-01-02 18:22:49yi.codeplayersetmessageid: <1293992569.84.0.544003446653.issue10807@psf.upfronthosting.co.za>
2011-01-02 18:22:43yi.codeplayerlinkissue10807 messages
2011-01-02 18:22:42yi.codeplayercreate