Author vstinner
Recipients Arfrever, christian.heimes, eric.araujo, georg.brandl, gotgenes, hct, mark.dickinson, martin.panter, ncoghlan, pitrou, rhettinger, serhiy.storchaka, terry.reedy, vstinner, wiggin15
Date 2014-09-10.12:29:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410352180.55.0.931059233712.issue9951@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2014-09-10 12:29:40vstinnersetrecipients: + 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:40vstinnersetmessageid: <1410352180.55.0.931059233712.issue9951@psf.upfronthosting.co.za>
2014-09-10 12:29:40vstinnerlinkissue9951 messages
2014-09-10 12:29:40vstinnercreate