This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dennis Sweeney
Recipients Dennis Sweeney, arne123
Date 2022-03-17.21:23:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647552181.39.0.625687322677.issue47052@roundup.psfhosted.org>
In-reply-to
Content
Would there be substantial benefit of a new feature over using the existing feature and then calling str.replace()?

>>> b = b'abracadabra'
>>> "0x" + b.hex(":").replace(":", ", 0x")
'0x61, 0x62, 0x72, 0x61, 0x63, 0x61, 0x64, 0x61, 0x62, 0x72, 0x61'
History
Date User Action Args
2022-03-17 21:23:01Dennis Sweeneysetrecipients: + Dennis Sweeney, arne123
2022-03-17 21:23:01Dennis Sweeneysetmessageid: <1647552181.39.0.625687322677.issue47052@roundup.psfhosted.org>
2022-03-17 21:23:01Dennis Sweeneylinkissue47052 messages
2022-03-17 21:23:01Dennis Sweeneycreate