New submission from Zachary Ware: The Argument Clinic conversion of the binascii module left hexlify and unhexlify with bad docstrings:
hexlify(...) b2a_hex($module, data, /) -- Hexadecimal representation of binary data. The return value is a bytes object. This function is also available as "hexlify()". unhexlify(...) a2b_hex($module, hexstr, /) -- Binary data of hexadecimal representation. hexstr must contain an even number of hex digits (upper or lower case). This function is also available as "unhexlify()". Attached patch fixes it, removes the note that the function is also available as itself (leaving the note on {a2b,b2a}_hex), and tests that the functions are in fact aliases. ---------- components: Extension Modules files: binascii_clinic_fix.diff keywords: patch messages: 234353 nosy: serhiy.storchaka, zach.ware priority: normal severity: normal stage: patch review status: open title: Convert binascii.{un}hexlify to Argument Clinic (fix docstrings) type: behavior versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file37784/binascii_clinic_fix.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23280> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com