Skip to content
Branch: master
Find file History

Latest commit

lysnikolaou bpo-40334: Make the PyPegen* and PyParser* APIs more consistent (GH-1…
…9839)

This commit makes both APIs more consistent by doing the following:
- Remove the `PyPegen_CodeObjectFrom*` functions, which weren't used 
  and will probably not be needed. Functions like `Py_CompileStringObject`
  can be used instead.
- Include a `const char *filename` parameter in `PyPegen_ASTFromString`.
- Rename `PyPegen_ASTFromFile` to `PyPegen_ASTFromFilename`, because
  its signature is not the same with `PyParser_ASTFromFile`.
Latest commit 03b7642 May 2, 2020

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
pegen bpo-40334: Make the PyPegen* and PyParser* APIs more consistent (GH-1… May 1, 2020
pgen Fix typo in the parser generator (GH-18603) Mar 9, 2020
Python.asdl bpo-40141: Add line and column information to ast.keyword nodes (GH-1… Apr 1, 2020
acceler.c fix warnings by adding more const (GH-12924) Apr 23, 2019
asdl.py bpo-39638: Keep ASDL signatures in the AST nodes (GH-18515) Mar 16, 2020
asdl_c.py bpo-40268: Remove unused structmember.h includes (GH-19530) Apr 15, 2020
grammar1.c bpo-39882: Add _Py_FatalErrorFormat() function (GH-19157) Mar 25, 2020
listnode.c bpo-40268: Remove a few pycore_pystate.h includes (GH-19510) Apr 14, 2020
myreadline.c bpo-40268: Remove explicit pythread.h includes (#19529) Apr 15, 2020
node.c bpo-33416: Add end positions to Python AST (GH-11605) Jan 22, 2019
parser.c bpo-39882: Py_FatalError() logs the function name (GH-18819) Mar 6, 2020
parser.h fix warnings by adding more const (GH-12924) Apr 23, 2019
parsetok.c bpo-40335: Correctly handle multi-line strings in tokenize error scen… Apr 21, 2020
token.c bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086) Mar 7, 2019
tokenizer.c bpo-40335: Correctly handle multi-line strings in tokenize error scen… Apr 21, 2020
tokenizer.h closes bpo-39721: Fix constness of members of tok_state struct. (GH-1… Feb 28, 2020
You can’t perform that action at this time.