Message197571
You can follow the discussion I linked in the ticket description for an answer:
http://psf.upfronthosting.co.za/roundup/tracker/issue3532
Mainly the answer is: to conform to PEP 358 and to provide the opposite of bytes.fromhex.
I agree that you can use binascii, but apparently it was decided that this functionality is good to have in the builtins (what used to be encode/decode('hex') in Python 2.x, and what is now bytes.fromhex, with the missing bytes.hex). In addition, binascii works a little differently - already discussed in the given link... |
|
Date |
User |
Action |
Args |
2013-09-13 13:29:52 | wiggin15 | set | recipients:
+ wiggin15, rhettinger, terry.reedy, mark.dickinson, ncoghlan, eric.araujo, martin.panter, serhiy.storchaka |
2013-09-13 13:29:52 | wiggin15 | set | messageid: <1379078992.8.0.974399880253.issue9951@psf.upfronthosting.co.za> |
2013-09-13 13:29:52 | wiggin15 | link | issue9951 messages |
2013-09-13 13:29:52 | wiggin15 | create | |
|