]> granicus.if.org Git - python/commit
binascii_a2b_base64: Properly return an empty string if the input was all
authorThomas Wouters <thomas@python.org>
Mon, 17 Mar 2003 11:24:29 +0000 (11:24 +0000)
committerThomas Wouters <thomas@python.org>
Mon, 17 Mar 2003 11:24:29 +0000 (11:24 +0000)
commit9e1c192525f0382ec1e8710c2f8e1dcef389ff77
tree9587e0b075fa6b6589e5d4734005a6a9b4a8ac30
parent450bd873ac9a7d44d24498b67cd111ce77334e85
binascii_a2b_base64: Properly return an empty string if the input was all
    invalid, rather than returning a string of random garbage of the
    estimated result length. Closes SF patch #703471 by Hye-Shik Chang.

Will backport to 2.2-maint (consider it done.)
Lib/test/test_binascii.py
Modules/binascii.c