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 matthaeus.wander
Recipients matthaeus.wander
Date 2013-01-18.18:21:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358533279.94.0.666576182033.issue16995@psf.upfronthosting.co.za>
In-reply-to
Content
RFC4648 specifies two different alphabets for Base32: 1) the common one already used in RFC3548 and implemented in Python, and 2) an "Extended Hex" alphabet which is used by e.g. DNSSEC NSEC3 but not yet implemented in Python.

The attached patches add the "Extended Hex" alphabet to Python 2.7 and 3 via an optional parameter 'base32hex=False'. Default behavior is not changed.

patch Lib/base64.py < py27_base64.patch
patch Lib/test/test_base64.py < py27_test_base64.patch
History
Date User Action Args
2013-01-18 18:21:19matthaeus.wandersetrecipients: + matthaeus.wander
2013-01-18 18:21:19matthaeus.wandersetmessageid: <1358533279.94.0.666576182033.issue16995@psf.upfronthosting.co.za>
2013-01-18 18:21:19matthaeus.wanderlinkissue16995 messages
2013-01-18 18:21:19matthaeus.wandercreate