summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_parser.h
Commit message (Collapse)AuthorAgeFilesLines
* gh-122581: Avoid data races when collecting parser statistics (#122694)Lysandros Nikolaou2024-08-061-0/+19
|
* gh-110805: Allow the repl to show source code and complete tracebacks (#110775)Pablo Galindo Salgado2023-10-131-1/+11
|
* gh-81057: Move the Cached Parser Dummy Name to _PyRuntimeState (#100277)Eric Snow2022-12-161-1/+16
|
* gh-81057: Move More Globals to _PyRuntimeState (gh-100092)Eric Snow2022-12-071-0/+20
| | | https://github.com/python/cpython/issues/81057
* bpo-43244: Remove parser_interface.h header file (GH-25001)Victor Stinner2021-03-241-0/+31
Remove parser functions using the "struct _mod" type, because the AST C API was removed: * PyParser_ASTFromFile() * PyParser_ASTFromFileObject() * PyParser_ASTFromFilename() * PyParser_ASTFromString() * PyParser_ASTFromStringObject() These functions were undocumented and excluded from the limited C API. Add pycore_parser.h internal header file. Rename functions: * PyParser_ASTFromFileObject() => _PyParser_ASTFromFile() * PyParser_ASTFromStringObject() => _PyParser_ASTFromString() These functions are no longer exported (replace PyAPI_FUNC() with extern). Remove also _PyPegen_run_parser_from_file() function. Update test_peg_generator to use _PyPegen_run_parser_from_file_pointer() instead.