[New-bugs-announce] [issue47052] allow string as sep in _Py_strhex_impl ( bytearray.hex() )
arne123
report at bugs.python.org
Thu Mar 17 17:03:45 EDT 2022
New submission from arne123 <arne at pagelnet.de>:
I use Python to support some C development.
Often I need to convert bytearrays to C like convention:
0x12, 0x34
It would be very convenient for this use case if the separator could be a string (like ", 0x") instead of just a single character.
----------
components: IO
messages: 415447
nosy: arne123
priority: normal
severity: normal
status: open
title: allow string as sep in _Py_strhex_impl ( bytearray.hex() )
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47052>
_______________________________________
More information about the New-bugs-announce
mailing list