| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bpo-38237: Shorter docstring (GH-16322) (GH-16323) | Miss Islington (bot) | 2019-09-21 | 1 | -2/+2 |
| | | | | | | (cherry picked from commit b104ecbbafc14f9ca0c8371963c45dca893f6b75) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | ||||
| * | bpo-38237: Let pow() support keyword arguments (GH-16302) (GH-16320) | Miss Islington (bot) | 2019-09-21 | 1 | -18/+24 |
| | | | | Backported with release manager approval | ||||
| * | [3.8] bpo-37206: Unrepresentable default values no longer represented as ↵ | Serhiy Storchaka | 2019-09-14 | 1 | -2/+2 |
| | | | | | | | | | | | None. (GH-13933) (GH-16141) 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. (cherry picked from commit 279f44678c8b84a183f9eeb85e0b086228154497) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
| * | [3.8] bpo-37034: Display argument name on errors with keyword arguments with ↵ | Serhiy Storchaka | 2019-08-29 | 1 | -3/+3 |
| | | | | | | | | Argument Clinic. (GH-13593). (GH-15599) (cherry picked from commit 4901fe274bc82b95dc89bcb3de8802a3dfedab32) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr> | ||||
| * | bpo-35766: compile(): rename feature_version parameter (GH-13994) (GH-14001) | Victor Stinner | 2019-06-12 | 1 | -5/+9 |
| | | | | | | | | | Rename compile() feature_version parameter to _feature_version and convert it to a keyword-only parameter. Update also test_type_comments to pass feature_version as a tuple. (cherry picked from commit efdf6ca90f7702824e7aeee1ceca949e7c20288a) | ||||
| * | bpo-36127: Argument Clinic: inline parsing code for keyword parameters. ↵ | Serhiy Storchaka | 2019-03-14 | 1 | -10/+100 |
| | | | | | (GH-12058) | ||||
| * | bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086) | Guido van Rossum | 2019-03-07 | 1 | -7/+8 |
| | | | | | | | | This adds a `feature_version` flag to `ast.parse()` (documented) and `compile()` (hidden) that allow tweaking the parser to support older versions of the grammar. In particular if `feature_version` is 5 or 6, the hacks for the `async` and `await` keyword from PEP 492 are reinstated. (For 7 or higher, these are unconditionally treated as keywords, but they are still special tokens rather than `NAME` tokens that the parser driver recognizes.) https://bugs.python.org/issue35975 | ||||
| * | bpo-35582: Argument Clinic: Optimize the "all boring objects" case. (GH-11520) | Serhiy Storchaka | 2019-01-11 | 1 | -31/+56 |
| | | | | | | 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 | -3/+15 |
| | | | | | (GH-11313) | ||||
| * | bpo-23867: Argument Clinic: inline parsing code for a single positional ↵ | Serhiy Storchaka | 2018-12-25 | 1 | -2/+8 |
| | | | | | parameter. (GH-9689) | ||||
| * | bpo-33012: Fix invalid function cast warnings with gcc 8 in Argument Clinic. ↵ | Serhiy Storchaka | 2018-11-27 | 1 | -15/+15 |
| | | | | | | | | | (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-34637: Make the *start* argument for *sum()* visible as a keyword ↵ | Raymond Hettinger | 2018-09-12 | 1 | -6/+7 |
| | | | | | argument. (GH-9208) | ||||
| * | bpo-32240: Add the const qualifier to declarations of PyObject* array ↵ | Serhiy Storchaka | 2017-12-15 | 1 | -15/+15 |
| | | | | | arguments. (#4746) | ||||
| * | bpo-30950: Convert round() to Argument Clinic. (#2740) | Serhiy Storchaka | 2017-11-15 | 1 | -1/+35 |
| | | |||||
| * | bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955) | Serhiy Storchaka | 2017-07-03 | 1 | -62/+14 |
| | | | | | | 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 | -48/+48 |
| | | | | | | | | | 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". | ||||
| * | Add reference to help('FORMATTING') in format() builtin (GH-166) | Amit Kumar | 2017-05-29 | 1 | -2/+4 |
| | | |||||
| * | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 1 | -34/+78 |
| | | | | | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using "boring" positional arguments. Manually fix _elementtree: _elementtree_XMLParser_doctype() must remain consistent with the clinic code. | ||||
| * | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 1 | -4/+8 |
| | | | | | | 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 | -1/+1 |
| | | | | | Issue #29286. | ||||
| * | Issue #27810: Rerun Argument Clinic on all modules | Victor Stinner | 2016-09-10 | 1 | -4/+4 |
| | | |||||
| * | Issue #27574: Decreased an overhead of parsing keyword arguments in functions | Serhiy Storchaka | 2016-08-14 | 1 | -3/+4 |
| | | | | | implemented with using Argument Clinic. | ||||
| * | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -36/+35 |
| |\ | | | | | | | 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 | -36/+35 |
| | | | | | | | | | 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 | -15/+29 |
| |/ | |||||
| * | Regenerate Argument Clinic code for issue #26874. | Serhiy Storchaka | 2016-05-01 | 1 | -2/+2 |
| | | |||||
| * | Specify default values of semantic booleans in Argument Clinic generated ↵ | Serhiy Storchaka | 2015-05-30 | 1 | -5/+5 |
| | | | | | signatures as booleans. | ||||
| * | Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the | Serhiy Storchaka | 2015-04-23 | 1 | -8/+4 |
| | | | | | same line as function name. | ||||
| * | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -8/+16 |
| | | |||||
| * | Issue #23492: Argument Clinic now generates argument parsing code with | Serhiy Storchaka | 2015-04-03 | 1 | -4/+4 |
| | | | | | PyArg_Parse instead of PyArg_ParseTuple if possible. | ||||
| * | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -0/+659 |
