]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #4770: Restrict binascii module to accept only bytes (as specified).
authorFlorent Xicluna <florent.xicluna@gmail.com>
Tue, 27 Jul 2010 21:20:15 +0000 (21:20 +0000)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Tue, 27 Jul 2010 21:20:15 +0000 (21:20 +0000)
commitf1046ca8173380e2c320c56e1cdc911493371057
treec3eabb51cc16a958e1fd1ca6700036d8b365d48b
parent4bf70686fab91dcc5603c11c36f77bd2131ff6ed
Issue #4770: Restrict binascii module to accept only bytes (as specified).
And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
Doc/library/binascii.rst
Lib/email/base64mime.py
Lib/email/message.py
Lib/test/test_binascii.py
Lib/test/test_struct.py
Misc/NEWS
Modules/binascii.c