Quantcast
Viewing all articles
Browse latest Browse all 38

Tolerate unicode arguments to binascii methods (fixes #2826).

changeset 7fe475b0fea2
branch
bookmark
tag
user Jeff Allen <ja.py@farowl.co.uk>
description Tolerate unicode arguments to binascii methods (fixes #2826).

Where a unicode argument is given, it is interpreted as bytes through
the default encoding. A test suite is added (missing from CPython 2) to
extend test_binascii to unicode arguments (ASCII decoding only).

There is some tidying up in binascii.java, but more is needed.
files Lib/test/test_binascii_jy.py
NEWS
src/org/python/modules/binascii.java

Viewing all articles
Browse latest Browse all 38

Trending Articles