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 2018年11月22日 17:33 by vstinner, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 10665 | merged | vstinner, 2018年11月22日 17:43 | |
| PR 10897 | merged | vstinner, 2018年12月04日 16:12 | |
| Messages (7) | |||
|---|---|---|---|
| msg330271 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2018年11月22日 17:33 | |
For some very specific use cases (ex: debuggers), it can be interesting to access the internal API of CPython. I propose to install the internal API: Include/internal/*.h header files. Attached PR implements this idea. |
|||
| msg330274 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2018年11月22日 17:48 | |
Example of debuggers: vmprof or faulthandler (now part of the stdlib). |
|||
| msg330275 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2018年11月22日 17:56 | |
TODO: Update the Windows installer: https://github.com/python/cpython/pull/10624#issuecomment-441090519 |
|||
| msg330332 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2018年11月23日 15:30 | |
New changeset f653fd4d950ac092719b6152e38d77c62b443125 by Victor Stinner in branch 'master': bpo-35296: make install now installs the internal API (GH-10665) https://github.com/python/cpython/commit/f653fd4d950ac092719b6152e38d77c62b443125 |
|||
| msg330333 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2018年11月23日 15:41 | |
I decided to merge my PR because I started to *remove* functions from the public C API to move them to the CPython internal API: _PyObject_GC_TRACK() and _PyObject_GC_UNTRACK() are two examples from bpo-35081. So some people might want even more to use the internal API. The main issue with this API is the requirement to use the same compiler with the same compilation options, especially to access atomic variables. |
|||
| msg331060 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2018年12月04日 16:15 | |
I reopen the issue since I'm now also interested to make the change in Python 3.7. I wrote PR 10897. See discussion on python-dev: https://mail.python.org/pipermail/python-dev/2018-December/155921.html |
|||
| msg331076 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2018年12月04日 20:28 | |
New changeset b02774f42108aaf18eb19865472c8d5cd95b5f11 by Victor Stinner in branch '3.7': bpo-35296: make install now installs the internal API (GH-10665) (GH-10897) https://github.com/python/cpython/commit/b02774f42108aaf18eb19865472c8d5cd95b5f11 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:08 | admin | set | github: 79477 |
| 2021年05月28日 18:33:59 | mark.dickinson | set | title: Python -> Install Include/internal/ header files versions: + Python 3.8 |
| 2021年05月28日 18:03:45 | mark.dickinson | set | messages: - msg394672 |
| 2021年05月28日 18:03:33 | mark.dickinson | set | messages: - msg394671 |
| 2021年05月28日 16:56:26 | ponnuchamy4929 | set | messages: + msg394672 |
| 2021年05月28日 16:55:55 | ponnuchamy4929 | set | versions:
- Python 3.8 nosy: + ponnuchamy4929 title: Install Include/internal/ header files -> Python messages: + msg394671 |
| 2018年12月04日 20:30:54 | vstinner | set | status: open -> closed resolution: fixed |
| 2018年12月04日 20:28:31 | vstinner | set | messages: + msg331076 |
| 2018年12月04日 16:15:13 | vstinner | set | status: closed -> open resolution: fixed -> (no value) messages: + msg331060 versions: + Python 3.7 |
| 2018年12月04日 16:12:51 | vstinner | set | pull_requests: + pull_request10137 |
| 2018年11月23日 15:41:27 | vstinner | set | status: open -> closed resolution: fixed messages: + msg330333 stage: patch review -> resolved |
| 2018年11月23日 15:30:16 | vstinner | set | messages: + msg330332 |
| 2018年11月22日 17:56:08 | vstinner | set | messages: + msg330275 |
| 2018年11月22日 17:48:25 | vstinner | set | messages: + msg330274 |
| 2018年11月22日 17:43:05 | vstinner | set | keywords:
+ patch stage: patch review pull_requests: + pull_request9918 |
| 2018年11月22日 17:33:21 | vstinner | create | |