Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31956: Add start and stop parameters to array.index() (GH-25059) | Zackery Spytz | 2021-04-02 | 1 | -4/+41 |
| | | | Co-Authored-By: Anders Lorentsen <Phaqui@gmail.com> | ||||
* | bpo-40077: Convert arraymodule to use heap types and establish module state ↵ | Erlend Egeberg Aasland | 2021-01-02 | 1 | -2/+23 |
| | | | | (GH-23124) | ||||
* | bpo-40792: Make the result of PyNumber_Index() always having exact type int. ↵ | Serhiy Storchaka | 2020-05-28 | 1 | -4/+4 |
| | | | | | | | | | | | | (GH-20443) Previously, the result could have been an instance of a subclass of int. Also revert bpo-26202 and make attributes start, stop and step of the range object having exact type int. Add private function _PyNumber_Index() which preserves the old behavior of PyNumber_Index() for performance to use it in the conversion functions like PyLong_AsLong(). | ||||
* | bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636) | Serhiy Storchaka | 2020-05-26 | 1 | -21/+1 |
| | | | | Only __index__ should be used to make integer conversions lossless. | ||||
* | bpo-36346: array: Don't use deprecated APIs (GH-19653) | Inada Naoki | 2020-05-11 | 1 | -7/+10 |
| | | | | | | | | * Py_UNICODE -> wchar_t * Py_UNICODE -> unicode in Argument Clinic * PyUnicode_AsUnicode -> PyUnicode_AsWideCharString * Don't use "u#" format. Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | bpo-38916: array.array: remove fromstring() and tostring() (GH-17487) | Victor Stinner | 2019-12-09 | 1 | -69/+1 |
| | | | | array.array: Remove tostring() and fromstring() methods. They were aliases to tobytes() and frombytes(), deprecated since Python 3.2. | ||||
* | bpo-37034: Display argument name on errors with keyword arguments with ↵ | Rémi Lapeyre | 2019-08-29 | 1 | -5/+5 |
| | | | | Argument Clinic. (GH-13593) | ||||
* | bpo-35582: Argument Clinic: inline parsing code for positional parameters. ↵ | Serhiy Storchaka | 2019-01-11 | 1 | -11/+87 |
| | | | | (GH-11313) | ||||
* | bpo-23867: Argument Clinic: inline parsing code for a single positional ↵ | Serhiy Storchaka | 2018-12-25 | 1 | -4/+22 |
| | | | | parameter. (GH-9689) | ||||
* | bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. ↵ | Serhiy Storchaka | 2018-12-14 | 1 | -3/+3 |
| | | | | (GH-11150) | ||||
* | bpo-33012: Fix invalid function cast warnings with gcc 8 in Argument Clinic. ↵ | Serhiy Storchaka | 2018-11-27 | 1 | -5/+5 |
| | | | | | | | | (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 | -5/+5 |
| | | | | arguments. (#4746) | ||||
* | bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955) | Serhiy Storchaka | 2017-07-03 | 1 | -21/+5 |
| | | | | | 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 | -13/+13 |
| | | | | | | | | 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". | ||||
* | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 1 | -13/+29 |
| | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using only positional arguments. | ||||
* | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -3/+3 |
|\ | | | | | | | 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 | -3/+3 |
| | | | | | | | | 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 | -10/+19 |
|/ | |||||
* | Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the | Serhiy Storchaka | 2015-04-23 | 1 | -18/+8 |
| | | | | same line as function name. | ||||
* | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -3/+7 |
| | |||||
* | Issue #23492: Argument Clinic now generates argument parsing code with | Serhiy Storchaka | 2015-04-03 | 1 | -10/+10 |
| | | | | PyArg_Parse instead of PyArg_ParseTuple if possible. | ||||
* | Issue #22615: Argument Clinic now supports the "type" argument for the | Larry Hastings | 2014-10-13 | 1 | -3/+3 |
| | | | | | int converter. This permits using the int converter with enums and typedefs. | ||||
* | Issue #20152: Port the array module to Argument Clinic. | Brett Cannon | 2014-10-10 | 1 | -0/+505 |