mirror of https://github.com/python/cpython
0c2f930564
* bpo-22385: Support output separators in hex methods. Also in binascii.hexlify aka b2a_hex. The underlying implementation behind all hex generation in CPython uses the same pystrhex.c implementation. This adds support to bytes, bytearray, and memoryview objects. The binascii module functions exist rather than being slated for deprecation because they return bytes rather than requiring an intermediate step through a str object. This change was inspired by MicroPython which supports sep in its binascii implementation (and does not yet support the .hex methods). https://bugs.python.org/issue22385 |
||
---|---|---|
.. | ||
bytearrayobject.c.h | ||
bytesobject.c.h | ||
codeobject.c.h | ||
complexobject.c.h | ||
descrobject.c.h | ||
dictobject.c.h | ||
enumobject.c.h | ||
floatobject.c.h | ||
funcobject.c.h | ||
listobject.c.h | ||
longobject.c.h | ||
memoryobject.c.h | ||
moduleobject.c.h | ||
odictobject.c.h | ||
structseq.c.h | ||
tupleobject.c.h | ||
typeobject.c.h | ||
unicodeobject.c.h |