Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not use Py_ssize_clean_t (GH-25940) | Inada Naoki | 2021-05-08 | 1 | -28/+24 |
| | |||||
* | bpo-36346: Prepare for removing the legacy Unicode C API (AC only). (GH-21223) | Serhiy Storchaka | 2020-06-30 | 1 | -3/+16 |
| | |||||
* | bpo-40792: Make the result of PyNumber_Index() always having exact type int. ↵ | Serhiy Storchaka | 2020-05-28 | 1 | -3/+3 |
| | | | | | | | | | | | | (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 | -81/+11 |
| | | | | Only __index__ should be used to make integer conversions lossless. | ||||
* | bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) | Serhiy Storchaka | 2020-04-18 | 1 | -0/+105 |
| | | | | Co-authored-by: Ammar Askar <ammar@ammaraskar.com> | ||||
* | bpo-27961: Replace PY_LONG_LONG with long long. (GH-15386) | Sergey Fedoseev | 2019-10-21 | 1 | -2/+2 |
| | |||||
* | bpo-37206: Unrepresentable default values no longer represented as None. ↵ | Serhiy Storchaka | 2019-09-14 | 1 | -5/+5 |
| | | | | | | | (GH-13933) In ArgumentClinic, value "NULL" should now be used only for unrepresentable default values (like in the optional third parameter of getattr). "None" should be used if None is accepted as argument and passing None has the same effect as not passing the argument at all. | ||||
* | bpo-37034: Display argument name on errors with keyword arguments with ↵ | Rémi Lapeyre | 2019-08-29 | 1 | -41/+94 |
| | | | | Argument Clinic. (GH-13593) | ||||
* | bpo-37942: Improve argument clinic float converter (GH-15470) | Raymond Hettinger | 2019-08-25 | 1 | -8/+20 |
| | |||||
* | bpo-36127: Argument Clinic: inline parsing code for keyword parameters. ↵ | Serhiy Storchaka | 2019-03-14 | 1 | -0/+1263 |
| | | | | (GH-12058) | ||||
* | bpo-35582: Argument Clinic: Optimize the "all boring objects" case. (GH-11520) | Serhiy Storchaka | 2019-01-11 | 1 | -4/+8 |
| | | | | | Use _PyArg_CheckPositional() and inlined code instead of PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters are positional and use the "object" converter. | ||||
* | bpo-35582: Argument Clinic: inline parsing code for positional parameters. ↵ | Serhiy Storchaka | 2019-01-11 | 1 | -60/+671 |
| | | | | (GH-11313) | ||||
* | bpo-23867: Argument Clinic: inline parsing code for a single positional ↵ | Serhiy Storchaka | 2018-12-25 | 1 | -8/+18 |
| | | | | parameter. (GH-9689) | ||||
* | bpo-20180: Simplify char_converter in Argument Clinic. (GH-9828) | Serhiy Storchaka | 2018-12-25 | 1 | -14/+16 |
| | | | Fix also handling non-ascii default values. | ||||
* | bpo-35578: Add an example file for testing Argument Clinic converters. ↵ | Serhiy Storchaka | 2018-12-25 | 1 | -0/+1307 |
(GH-11306) |