[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread STINNER Victor
STINNER Victor added the comment: > Looks good, please commit. Ok, done: r87642 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread Georg Brandl
Georg Brandl added the comment: Looks good, please commit. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread STINNER Victor
STINNER Victor added the comment: Ah yes :-) -- Added file: http://bugs.python.org/file20225/issue10807.patch ___ Python tracker ___

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file20224/issue10780.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread Georg Brandl
Georg Brandl added the comment: That does not look like the right patch... -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread STINNER Victor
STINNER Victor added the comment: issue10807.patch just disables hex, base64, ... codecs in aliases (so it's still possible to use they through codecs.lookup()). -- keywords: +patch Added file: http://bugs.python.org/file20224/issue10780.patch ___ P

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +georg.brandl priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mai

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread STINNER Victor
STINNER Victor added the comment: base64, bz2, hex, quopri, rot13, uu and zlib codecs (reintroduced recently by r86934, issue #7475) cannot be used by str.encode/bytes.decode, but with .transform() and .untransform() methods of bytes and str objects. But these methods were removed by r87176.

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread yihuang
New submission from yihuang : >>> b'dGVzdA==\n'.decode('base64') Traceback (most recent call last): File "", line 1, in 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