summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/binascii.c.h
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)Serhiy Storchaka2017-07-031-15/+7
| | | | | the bare METH_FASTCALL be used for functions with positional-only parameters.
* bpo-30600: Fix error messages (condition order in Argument Clinic) (#2051)Sylvain2017-06-101-7/+7
| | | | | | | | The function '_PyArg_ParseStack()' and '_PyArg_UnpackStack' were failing (with error "XXX() takes Y argument (Z given)") before the function '_PyArg_NoStackKeywords()' was called. Thus, the latter did not raise its more meaningful error : "XXX() takes no keyword arguments".
* bpo-30103: Allow Uuencode in Python using backtick as zero instead of space ↵Xiang Zhang2017-05-031-7/+11
| | | | | | (#1326)
* restore *data* parameter of binascii.b2a_base64 to positional-only (#1352)Xiang Zhang2017-05-011-3/+3
|
* Run Argument Clinic: METH_VARARGS=>METH_FASTCALLVictor Stinner2017-01-171-7/+15
| | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using only positional arguments.
* Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywordsVictor Stinner2017-01-171-3/+3
| | | | Issue #29286.
* Issue #29004: Merge crc_hqx() doc from 3.5Martin Panter2016-12-241-2/+2
|\
| * Issue #29004: Document binascii.crc_hqx() implements CRC-CCITTMartin Panter2016-12-241-2/+2
| |
* | Issue #27810: Rerun Argument Clinic on all modulesVictor Stinner2016-09-101-10/+10
| |
* | Issue #27574: Decreased an overhead of parsing keyword arguments in functionsSerhiy Storchaka2016-08-141-7/+10
| | | | | | | | implemented with using Argument Clinic.
* | - Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-071-33/+33
|\ \ | |/ | | | | generated by Argument Clinic. Patch by Petr Viktorin.
| * Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-071-33/+33
| | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin.
* | Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7.Serhiy Storchaka2016-06-091-29/+57
| |
* | Issue #25357: Add an optional newline paramer to binascii.b2a_base64().Victor Stinner2015-10-111-7/+10
|/ | | | base64.b64encode() uses it to avoid a memory copy.
* Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at theSerhiy Storchaka2015-04-231-45/+17
| | | | same line as function name.
* Issue #23728: binascii.crc_hqx() could return an integer outside of the rangeSerhiy Storchaka2015-04-201-8/+8
|\ | | | | | | 0-0xffff for empty data.
| * Issue #23728: binascii.crc_hqx() could return an integer outside of the rangeSerhiy Storchaka2015-04-201-7/+7
| | | | | | | | 0-0xffff for empty data.
* | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.Larry Hastings2015-04-141-2/+3
| |
* | Issue #23492: Argument Clinic now generates argument parsing code withSerhiy Storchaka2015-04-031-37/+37
| | | | | | | | PyArg_Parse instead of PyArg_ParseTuple if possible.
* | Merge with 3.4 (closes #23280)Zachary Ware2015-01-201-1/+69
|\ \ | |/
| * Issue #23280: Fix docstrings for binascii.(un)hexlifyZachary Ware2015-01-201-1/+69
| |
* | Issue #22120: For functions using an unsigned integer return converter,Larry Hastings2014-08-051-2/+2
|/ | | | | Argument Clinic now generates a cast to that type for the comparison to -1 in the generated code. (This supresses a compilation warning.)
* Issue #20530: Argument Clinic's signature format has been revised again.Larry Hastings2014-02-091-15/+43
| | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4.
* Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-281-15/+15
| | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).
* cleanup after custom buffer converterBenjamin Peterson2014-01-261-6/+26
|
* Issue #20390: Small fixes and improvements for Argument Clinic.Larry Hastings2014-01-261-0/+430