• Pablo Galindo's avatar
    bpo-36540: PEP 570 -- Implementation (GH-12701) · 8c77b8cb
    Pablo Galindo yazdı
    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
    8c77b8cb
test_parser.py 35.7 KB