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