This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年04月01日 08:10 by aponomarenko, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 14634 | merged | ZackerySpytz, 2019年07月07日 05:59 | |
| Messages (4) | |||
|---|---|---|---|
| msg215300 - (view) | Author: Andrey (aponomarenko) | Date: 2014年04月01日 08:10 | |
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. |
|||
| msg238955 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2015年03月22日 23:39 | |
I'm not sure if this should be a compile error or an enhancement request, can someone please advise. |
|||
| msg351386 - (view) | Author: Mark Shannon (Mark.Shannon) * (Python committer) | Date: 2019年09月09日 09:45 | |
This seems like the correct thing to do. Since the AST changes from version to version, I don't see how these files could reasonably be part of the limited API. |
|||
| msg352071 - (view) | Author: Mark Shannon (Mark.Shannon) * (Python committer) | Date: 2019年09月12日 09:27 | |
New changeset 421a72af4deaec96a49a79951b9c2546a2faa13d by Mark Shannon (Zackery Spytz) in branch 'master': bpo-21120: Exclude Python-ast.h, ast.h and asdl.h from the limited API (#14634) https://github.com/python/cpython/commit/421a72af4deaec96a49a79951b9c2546a2faa13d |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:01 | admin | set | github: 65319 |
| 2019年09月12日 09:30:33 | Mark.Shannon | set | status: open -> closed |
| 2019年09月12日 09:30:08 | Mark.Shannon | set | stage: patch review -> resolved |
| 2019年09月12日 09:27:17 | Mark.Shannon | set | messages: + msg352071 |
| 2019年09月09日 09:45:47 | Mark.Shannon | set | nosy:
+ Mark.Shannon messages: + msg351386 |
| 2019年07月07日 09:31:19 | ZackerySpytz | set | nosy:
+ ZackerySpytz components: + Build, - Library (Lib) versions: + Python 3.9, - Python 3.5 |
| 2019年07月07日 05:59:05 | ZackerySpytz | set | keywords:
+ patch stage: patch review pull_requests: + pull_request14448 |
| 2019年03月15日 22:17:41 | BreamoreBoy | set | nosy:
- BreamoreBoy |
| 2015年03月22日 23:39:01 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg238955 |
| 2014年04月02日 14:47:31 | jcea | set | nosy:
+ jcea |
| 2014年04月01日 13:16:58 | vstinner | set | nosy:
+ loewis |
| 2014年04月01日 08:10:21 | aponomarenko | create | |