New submission from Andrey:

Hi all,

The PyArena data type is defined in the pyarena.h under the #ifndef 
Py_LIMITED_API statement, so it's not included in the limited api. But this 
type is used in Python-ast.h, ast.h and asdl.h headers that included in the 
limited api, because they don't contain any checks for Py_LIMITED_API.

May be all these header files (Python-ast.h, ast.h, asdl.h) should begin with 
"#ifndef Py_LIMITED_API" (excluded from the limited api)?

Thanks.

----------
components: Library (Lib)
messages: 215300
nosy: aponomarenko
priority: normal
severity: normal
status: open
title: PyArena type is used in headers from the limited API
type: compile error
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21120>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to