summaryrefslogtreecommitdiff
path: root/Python/pystrhex.c
AgeCommit message (Collapse)AuthorLines
2019-08-27Fix unused variable and signed/unsigned warnings (GH-15537) (GH-15551)Miss Islington (bot)-1/+1
(cherry picked from commit 0138c4ceab1e10d42d0aa962d2ae079b46da7671) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-06-01Fix compiler warnings in the pystrehex module (GH-13730)Pablo Galindo-2/+2
2019-05-29bpo-22385: Support output separators in hex methods. (#13578)Gregory P. Smith-10/+80
* 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
2018-09-12closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)Benjamin Peterson-2/+4
2017-11-28bpo-32150: Expand tabs to spaces in C files. (#4583)Serhiy Storchaka-6/+6
2015-04-25Silence a gcc "may be used uninitialized" compiler warning. Not true.Gregory P. Smith-0/+1
Initializing retval prevents the naive warning.
2015-04-26Add missing PyAPI_FUNC macro's to the public functions as other .c files doGregory P. Smith-2/+2
in hopes that this fixes the windows extension module link error for modules trying to call _Py_strhex functions. issue9951.
2015-04-26Add the files missing from c9f1630cf2b1 for issue9951.Gregory P. Smith-0/+60
hg status should be my friend more often...