[issue34165] uu.decode() raises binascii.Error instead of uu.Error on invalid data

2022-03-13 Thread Irit Katriel
Irit Katriel added the comment: uu is deprecated as per PEP 594, so there won't be further enhancements to it. -- nosy: +iritkatriel resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34165] uu.decode() raises binascii.Error instead of uu.Error on invalid data

2022-01-17 Thread Pulak Malhotra
Change by Pulak Malhotra : -- keywords: +patch nosy: +PulakIIIT nosy_count: 1.0 -> 2.0 pull_requests: +28850 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30648 ___ Python tracker

[issue34165] uu.decode() raises binascii.Error instead of uu.Error on invalid data

2022-01-15 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker ___

[issue34165] uu.decode() raises binascii.Error instead of uu.Error on invalid data

2018-07-20 Thread Jussi Judin
New submission from Jussi Judin : uu.decode() function can leak the internal binascii.Error exception from binascii.a2b_uu() function call instead of the documented uu.Error exception. Following code demonstrates the issue: >>> import uu >>> with open("in.uu", "wb") as fp: ...