[issue9951] introduce bytes.hex method

Nick Coghlan report at bugs.python.org
Thu Sep 11 01:57:04 CEST 2014


Nick Coghlan added the comment:

Good point Terry - I split the proposal to support bytes-like objects for 'x' and 'X' in string formatting out to issue 22385.

For bytes.hex, I'm inclined to stick with the dirt simple option described in PEP 358: the exact behaviour of the current binascii.hexlify().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9951>
_______________________________________


More information about the Python-bugs-list mailing list