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 zach.ware
Recipients serhiy.storchaka, zach.ware
Date 2015-01-20.06:07:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421734051.68.0.00270883538381.issue23280@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-01-20 06:07:31zach.waresetrecipients: + zach.ware, serhiy.storchaka
2015-01-20 06:07:31zach.waresetmessageid: <1421734051.68.0.00270883538381.issue23280@psf.upfronthosting.co.za>
2015-01-20 06:07:31zach.warelinkissue23280 messages
2015-01-20 06:07:31zach.warecreate