summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_positional_only_arg.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix constant folding optimization for positional only arguments (GH-17837)Miss Islington (bot)2020-01-051-0/+12
| | | | | (cherry picked from commit b121a4a45ff4bab8812a9b26ceffe5ad642f5d5a) Co-authored-by: Anthony Sottile <asottile@umich.edu>
* Fix SystemError when nested function has annotation on positional-only ↵Miss Islington (bot)2020-01-051-0/+7
| | | | | | | argument (GH-17826) (cherry picked from commit ec007cb43faf5f33d06efbc28152c7fdcb2edb9c) Co-authored-by: Anthony Sottile <asottile@umich.edu>
* bpo-37122: Make co->co_argcount represent the total number of positonal ↵Pablo Galindo2019-06-011-2/+2
| | | | arguments in the code object (GH-13726)
* bpo-37108: Support super with methods that use positional-only arguments ↵Pablo Galindo2019-05-311-0/+14
| | | | (GH-13695)
* bpo-36540: PEP 570 -- Implementation (GH-12701)Pablo Galindo2019-04-291-0/+403
This commit contains the implementation of PEP570: Python positional-only parameters. * Update Grammar/Grammar with new typedarglist and varargslist * Regenerate grammar files * Update and regenerate AST related files * Update code object * Update marshal.c * Update compiler and symtable * Regenerate importlib files * Update callable objects * Implement positional-only args logic in ceval.c * Regenerate frozen data * Update standard library to account for positional-only args * Add test file for positional-only args * Update other test files to account for positional-only args * Add News entry * Update inspect module and related tests