Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-37034: Display argument name on errors with keyword arguments with ↵ | Rémi Lapeyre | 2019-08-29 | 1 | -11/+11 |
| | | | | Argument Clinic. (GH-13593) | ||||
* | bpo-22385: Support output separators in hex methods. (#13578) | Gregory P. Smith | 2019-05-29 | 1 | -17/+98 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | bpo-36127: Argument Clinic: inline parsing code for keyword parameters. ↵ | Serhiy Storchaka | 2019-03-14 | 1 | -13/+125 |
| | | | | (GH-12058) | ||||
* | bpo-35582: Argument Clinic: inline parsing code for positional parameters. ↵ | Serhiy Storchaka | 2019-01-11 | 1 | -10/+44 |
| | | | | (GH-11313) | ||||
* | bpo-23867: Argument Clinic: inline parsing code for a single positional ↵ | Serhiy Storchaka | 2018-12-25 | 1 | -11/+31 |
| | | | | parameter. (GH-9689) | ||||
* | bpo-33012: Fix invalid function cast warnings with gcc 8 in Argument Clinic. ↵ | Serhiy Storchaka | 2018-11-27 | 1 | -7/+7 |
| | | | | | | | | (GH-6748) Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS in Argument Clinic generated code. | ||||
* | bpo-32240: Add the const qualifier to declarations of PyObject* array ↵ | Serhiy Storchaka | 2017-12-15 | 1 | -7/+7 |
| | | | | arguments. (#4746) | ||||
* | bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955) | Serhiy Storchaka | 2017-07-03 | 1 | -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) | Sylvain | 2017-06-10 | 1 | -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 Zhang | 2017-05-03 | 1 | -7/+11 |
| | | | | | | (#1326) | ||||
* | restore *data* parameter of binascii.b2a_base64 to positional-only (#1352) | Xiang Zhang | 2017-05-01 | 1 | -3/+3 |
| | |||||
* | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 1 | -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_ParseStackAndKeywords | Victor Stinner | 2017-01-17 | 1 | -3/+3 |
| | | | | Issue #29286. | ||||
* | Issue #29004: Merge crc_hqx() doc from 3.5 | Martin Panter | 2016-12-24 | 1 | -2/+2 |
|\ | |||||
| * | Issue #29004: Document binascii.crc_hqx() implements CRC-CCITT | Martin Panter | 2016-12-24 | 1 | -2/+2 |
| | | |||||
* | | Issue #27810: Rerun Argument Clinic on all modules | Victor Stinner | 2016-09-10 | 1 | -10/+10 |
| | | |||||
* | | Issue #27574: Decreased an overhead of parsing keyword arguments in functions | Serhiy Storchaka | 2016-08-14 | 1 | -7/+10 |
| | | | | | | | | implemented with using Argument Clinic. | ||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -33/+33 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -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 Storchaka | 2016-06-09 | 1 | -29/+57 |
| | | |||||
* | | Issue #25357: Add an optional newline paramer to binascii.b2a_base64(). | Victor Stinner | 2015-10-11 | 1 | -7/+10 |
|/ | | | | base64.b64encode() uses it to avoid a memory copy. | ||||
* | Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the | Serhiy Storchaka | 2015-04-23 | 1 | -45/+17 |
| | | | | same line as function name. | ||||
* | Issue #23728: binascii.crc_hqx() could return an integer outside of the range | Serhiy Storchaka | 2015-04-20 | 1 | -8/+8 |
|\ | | | | | | | 0-0xffff for empty data. | ||||
| * | Issue #23728: binascii.crc_hqx() could return an integer outside of the range | Serhiy Storchaka | 2015-04-20 | 1 | -7/+7 |
| | | | | | | | | 0-0xffff for empty data. | ||||
* | | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -2/+3 |
| | | |||||
* | | Issue #23492: Argument Clinic now generates argument parsing code with | Serhiy Storchaka | 2015-04-03 | 1 | -37/+37 |
| | | | | | | | | PyArg_Parse instead of PyArg_ParseTuple if possible. | ||||
* | | Merge with 3.4 (closes #23280) | Zachary Ware | 2015-01-20 | 1 | -1/+69 |
|\ \ | |/ | |||||
| * | Issue #23280: Fix docstrings for binascii.(un)hexlify | Zachary Ware | 2015-01-20 | 1 | -1/+69 |
| | | |||||
* | | Issue #22120: For functions using an unsigned integer return converter, | Larry Hastings | 2014-08-05 | 1 | -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 Hastings | 2014-02-09 | 1 | -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 to | Larry Hastings | 2014-01-28 | 1 | -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 converter | Benjamin Peterson | 2014-01-26 | 1 | -6/+26 |
| | |||||
* | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 1 | -0/+430 |