[issue9951] introduce bytes.hex method

HCT report at bugs.python.org
Mon Dec 9 23:31:35 CET 2013


HCT added the comment:

would be good if we can specify a optional flag to get all cap hex. currently, I have to do hexlify( some_bytes ).decode( 'UTF-8' ).upper(). would be good to be able to do some_bytes.hex( upper=1 )

----------
nosy: +hct

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


More information about the Python-bugs-list mailing list