diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2020-05-01 17:30:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 17:30:51 (GMT) |
commit | 03b7642265e65f198682f22648dbe6cf4fff9835 (patch) | |
tree | 9eb424f013229729e2eef40ec91de43f69983027 /.github | |
parent | d9d6eadf003605f4cdb55e38df2168dd1bc0dbd5 (diff) | |
download | cpython-03b7642265e65f198682f22648dbe6cf4fff9835.zip cpython-03b7642265e65f198682f22648dbe6cf4fff9835.tar.gz cpython-03b7642265e65f198682f22648dbe6cf4fff9835.tar.bz2 |
bpo-40334: Make the PyPegen* and PyParser* APIs more consistent (GH-19839)
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`.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions