Staging
v0.5.1
https://github.com/python/cpython
Revision 3b36642924a51e6bceb7033916c3049764817166 authored by Miss Islington (bot) on 08 September 2018, 20:44:20 UTC, committed by GitHub on 08 September 2018, 20:44:20 UTC

This caused installation errors in some cases on Windows.
Patch by Julien Malard.
(cherry picked from commit 0afada163c7ef25c3a9d46ed445481fb69f2ecaf)

Co-authored-by: Julien Malard <julien.malard@mail.mcgill.ca>
1 parent eb6ab73
Raw File
Tip revision: 3b36642924a51e6bceb7033916c3049764817166 authored by Miss Islington (bot) on 08 September 2018, 20:44:20 UTC
bpo-34421 avoid unicode error in distutils logging (GH-8799)
Tip revision: 3b36642
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