Staging
v0.5.1
https://github.com/python/cpython
Revision 516a6a254814d2bc6a90290dfc44d77fdfb4050b authored by Victor Stinner on 18 June 2019, 00:13:58 UTC, committed by Ned Deily on 18 June 2019, 00:13:57 UTC
(cherry picked from commit c1f5667be1e3ec5871560c677402c1252c6018a6)
1 parent ecafe8e
Raw File
Tip revision: 516a6a254814d2bc6a90290dfc44d77fdfb4050b authored by Victor Stinner on 18 June 2019, 00:13:58 UTC
bpo-33529, email: Fix infinite loop in email header encoding (GH-12020) (GH-14162)
Tip revision: 516a6a2
ast.h
#ifndef Py_AST_H
#define Py_AST_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyAST_Validate(mod_ty);
PyAPI_FUNC(mod_ty) PyAST_FromNode(
    const node *n,
    PyCompilerFlags *flags,
    const char *filename,       /* decoded from the filesystem encoding */
    PyArena *arena);
PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
    const node *n,
    PyCompilerFlags *flags,
    PyObject *filename,
    PyArena *arena);

#ifdef __cplusplus
}
#endif
#endif /* !Py_AST_H */
back to top