| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.14] gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers ↵ | Miss Islington (bot) | 2025-07-01 | 1 | -0/+22 |
| | | | | | | | | | | | | | | (GH-135928) (#136173) gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH-135928) Move PYOS_LOG2_STACK_MARGIN, PYOS_STACK_MARGIN, PYOS_STACK_MARGIN_BYTES and PYOS_STACK_MARGIN_SHIFT macros to pycore_pythonrun.h internal header. Add underscore (_) prefix to the names to make them private. Rename _PYOS to _PyOS. (cherry picked from commit 28940e8e4884eb3444a8ea15a5634f76b154d7ed) Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
| * | [3.14] gh-132775: Add _PyCode_GetScriptXIData() (gh-133676) | Miss Islington (bot) | 2025-05-08 | 1 | -0/+1 |
| | | | | | | | | | | | | This converts functions, code, str, bytes, bytearray, and memoryview objects to PyCodeObject, and ensure that the object looks like a script. That means no args, no return, and no closure. _PyCode_GetPureScriptXIData() takes it a step further and ensures there are no globals. We also add _PyObject_SupportedAsScript() to the internal C-API. (cherry picked from commit c81fa2b9cd1ed4d4ff5c13984d6582c27e5f2633, AKA gh-133480) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> | ||||
| * | gh-106320: Remove private pythonrun API (#108599) | Victor Stinner | 2023-08-29 | 1 | -0/+39 |
| Remove these private functions from the public C API: * _PyRun_AnyFileObject() * _PyRun_InteractiveLoopObject() * _PyRun_SimpleFileObject() * _Py_SourceAsString() Move them to the internal C API: add a new pycore_pythonrun.h header file. No longer export these functions. | |||||
