Message226692
New features cannot be added to Python 2 anymore, only to the current development version which is now Python 3.5.
If new methods are added to bytes, they should be added to bytearray too. Maybe we should also consider add them to memoryview? memoryview has already a .bytes() method and can be casted to type "B" (array of integers in range 0..255).
The float type has .hex() and .fromhex() methods. We should kepe these names to stay consistent. Which kind of output do you prefer? "0xHH 0xHH ...", "HH HH HH ..." or "HHHHHH..."? Do you want to add parameters to choose the format?
Current binascii format:
>>> binascii.hexlify('abc')
'616263' |
|
Date |
User |
Action |
Args |
2014-09-10 12:29:40 | vstinner | set | recipients:
+ vstinner, georg.brandl, rhettinger, terry.reedy, mark.dickinson, ncoghlan, pitrou, gotgenes, christian.heimes, eric.araujo, Arfrever, wiggin15, martin.panter, serhiy.storchaka, hct |
2014-09-10 12:29:40 | vstinner | set | messageid: <1410352180.55.0.931059233712.issue9951@psf.upfronthosting.co.za> |
2014-09-10 12:29:40 | vstinner | link | issue9951 messages |
2014-09-10 12:29:40 | vstinner | create | |
|