Message329819
| Author |
vstinner |
| Recipients |
atuining, eric.snow, izbyshev, lemburg, serhiy.storchaka, tim.peters, vstinner |
| Date |
2018年11月13日.09:05:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1542099900.49.0.788709270274.issue35081@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hum, this issue is much harder than what I expected.
Status:
* Include/internal/ header files have been renamed to get a new "pycore_" prefix which avoids conflicts with Include/ header files. Example: "pycore_pystate.h" vs "pystate.h".
* pyatomic.c has been moved to Include/internal/ and it is no longer
included in Python.h.
* Except of _PyTuple_ITEMS() and _PyObject_GC_TRACK(), all internal APIs have been moved to Include/internal/. Many new header files have been created, like pycore_lifecycle.h and pycore_pathconfig.h.
TODO:
* Move _PyObject_GC_TRACK() to Include/internal/
* msg329608 describes bugs like: pystate.c:968:1: warning: no previous prototype for ‘_PyGILState_Init’ [-Wmissing-prototypes]
* bpo-35134 now manages moving unstable API to a new separated Include/ subdirectory
* bpo-35059 converts macros to static inline functions |
|