Author georg.brandl
Recipients christian.heimes, eric.araujo, georg.brandl, mark.dickinson, martin.panter, ncoghlan, pitrou, rhettinger, serhiy.storchaka, terry.reedy, wiggin15
Date 2013-10-13.07:45:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381650340.94.0.510544781461.issue9951@psf.upfronthosting.co.za>
In-reply-to
Content
Blasphemous question: why not give bytes a __hex__ method? Then you could use hex() to convert them :)

The patch is outdated; it should not use PyUnicode_AS_UNICODE, but PyUnicode_New(..., 127) and then PyUnicode_1BYTE_DATA to get the char array.
History
Date User Action Args
2013-10-13 07:45:41georg.brandlsetrecipients: + georg.brandl, rhettinger, terry.reedy, mark.dickinson, ncoghlan, pitrou, christian.heimes, eric.araujo, wiggin15, martin.panter, serhiy.storchaka
2013-10-13 07:45:40georg.brandlsetmessageid: <1381650340.94.0.510544781461.issue9951@psf.upfronthosting.co.za>
2013-10-13 07:45:40georg.brandllinkissue9951 messages
2013-10-13 07:45:40georg.brandlcreate