[New-bugs-announce] [issue21120] PyArena type is used in headers from the limited API

Andrey report at bugs.python.org
Tue Apr 1 10:10:21 CEST 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue21120>
_______________________________________


More information about the New-bugs-announce mailing list