[issue22385] Define a binary output formatting mini-language for *.hex()

Gregory P. Smith report at bugs.python.org
Sat May 25 20:57:40 EDT 2019


Gregory P. Smith <greg at krypto.org> added the comment:

Given that we have f-strings, I don't think a format mini language makes as much sense.  My PR adds support for separators to the .hex() methods (and to binascii.hexlify) via a parameter.  Extending beyond what MicroPython already does in its binascii implementation (a single sep parameter).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue22385>
_______________________________________


More information about the Python-bugs-list mailing list