Download cpython_15/tests/private/omitted.patch from lolbench26/LoLBench: direct link, hf CLI and curl.
- Browser
- Download file 3.98 kB
-
https://huggingface.co/datasets/lolbench26/LoLBench/resolve/main/cpython_15/tests/private/omitted.patch
- Command line
-
hf download hf://datasets/lolbench26/LoLBench/cpython_15/tests/private/omitted.patch
-
curl -L -o omitted.patch https://huggingface.co/datasets/lolbench26/LoLBench/resolve/main/cpython_15/tests/private/omitted.patch
3.98 kB
| diff --git a/Doc/data/stable_abi.dat b/Doc/data/stable_abi.dat | |
| index 67b498c4268..1359cfa4fbf 100644 | |
| --- a/Doc/data/stable_abi.dat | |
| +++ b/Doc/data/stable_abi.dat | |
| func,PyLong_FromUnsignedNativeBytes,3.14,, | |
| func,PyLong_FromVoidPtr,3.2,, | |
| func,PyLong_GetInfo,3.2,, | |
| data,PyLong_Type,3.2,, | |
| +macro,PyMODEXPORT_FUNC,3.15,, | |
| data,PyMap_Type,3.2,, | |
| func,PyMapping_Check,3.2,, | |
| func,PyMapping_GetItemString,3.2,, | |
| func,PyModule_AddObjectRef,3.10,, | |
| func,PyModule_AddStringConstant,3.2,, | |
| func,PyModule_AddType,3.10,, | |
| func,PyModule_Create2,3.2,, | |
| +func,PyModule_Exec,3.15,, | |
| func,PyModule_ExecDef,3.7,, | |
| func,PyModule_FromDefAndSpec2,3.7,, | |
| +func,PyModule_FromSlotsAndSpec,3.15,, | |
| func,PyModule_GetDef,3.2,, | |
| func,PyModule_GetDict,3.2,, | |
| func,PyModule_GetFilename,3.2,, | |
| func,PyModule_GetFilenameObject,3.2,, | |
| func,PyModule_GetName,3.2,, | |
| func,PyModule_GetNameObject,3.7,, | |
| func,PyModule_GetState,3.2,, | |
| +func,PyModule_GetStateSize,3.15,, | |
| +func,PyModule_GetToken,3.15,, | |
| func,PyModule_New,3.2,, | |
| func,PyModule_NewObject,3.7,, | |
| func,PyModule_SetDocString,3.7,, | |
| func,PyType_GetFlags,3.2,, | |
| func,PyType_GetFullyQualifiedName,3.13,, | |
| func,PyType_GetModule,3.10,, | |
| func,PyType_GetModuleByDef,3.13,, | |
| +func,PyType_GetModuleByToken,3.15,, | |
| func,PyType_GetModuleName,3.13,, | |
| func,PyType_GetModuleState,3.10,, | |
| func,PyType_GetName,3.11,, | |
| diff --git a/Misc/NEWS.d/next/C_API/2025-10-26-16-45-28.gh-issue-140556.s__Dae.rst b/Misc/NEWS.d/next/C_API/2025-10-26-16-45-28.gh-issue-140556.s__Dae.rst | |
| new file mode 100644 | |
| index 00000000000..61da60903ee | |
| --- /dev/null | |
| +++ b/Misc/NEWS.d/next/C_API/2025-10-26-16-45-28.gh-issue-140556.s__Dae.rst | |
| +:pep:`793`: Add a new entry point for C extension modules, | |
| +``PyModExport_<modulename>``. | |
| diff --git a/Misc/stable_abi.toml b/Misc/stable_abi.toml | |
| index ad0f3704599..7ee6cf1dae5 100644 | |
| --- a/Misc/stable_abi.toml | |
| +++ b/Misc/stable_abi.toml | |
| added = '3.15' | |
| [const.PyABIInfo_FREETHREADING_AGNOSTIC] | |
| added = '3.15' | |
| +[function.PyModule_FromSlotsAndSpec] | |
| + added = '3.15' | |
| +[function.PyModule_Exec] | |
| + added = '3.15' | |
| +[function.PyModule_GetToken] | |
| + added = '3.15' | |
| +[function.PyType_GetModuleByToken] | |
| + added = '3.15' | |
| +[function.PyModule_GetStateSize] | |
| + added = '3.15' | |
| +[macro.PyMODEXPORT_FUNC] | |
| + added = '3.15' | |
| +[const.Py_mod_name] | |
| + added = '3.15' | |
| +[const.Py_mod_doc] | |
| + added = '3.15' | |
| +[const.Py_mod_state_size] | |
| + added = '3.15' | |
| +[const.Py_mod_methods] | |
| + added = '3.15' | |
| +[const.Py_mod_state_traverse] | |
| + added = '3.15' | |
| +[const.Py_mod_state_clear] | |
| + added = '3.15' | |
| +[const.Py_mod_state_free] | |
| + added = '3.15' | |
| +[const.Py_mod_token] | |
| + added = '3.15' | |
| diff --git a/PCbuild/_testcapi.vcxproj b/PCbuild/_testcapi.vcxproj | |
| index a355a5fc257..68707a54ff6 100644 | |
| --- a/PCbuild/_testcapi.vcxproj | |
| +++ b/PCbuild/_testcapi.vcxproj | |
| <?xml version="1.0" encoding="utf-8"?> | |
| <ClCompile Include="..\Modules\_testcapi\gc.c" /> | |
| <ClCompile Include="..\Modules\_testcapi\run.c" /> | |
| <ClCompile Include="..\Modules\_testcapi\modsupport.c" /> | |
| + <ClCompile Include="..\Modules\_testcapi\module.c" /> | |
| <ClCompile Include="..\Modules\_testcapi\monitoring.c" /> | |
| <ClCompile Include="..\Modules\_testcapi\config.c" /> | |
| <ClCompile Include="..\Modules\_testcapi\import.c" /> | |
| diff --git a/PCbuild/_testcapi.vcxproj.filters b/PCbuild/_testcapi.vcxproj.filters | |
| index 05128d3ac36..b0e75ce433a 100644 | |
| --- a/PCbuild/_testcapi.vcxproj.filters | |
| +++ b/PCbuild/_testcapi.vcxproj.filters | |
| <?xml version="1.0" encoding="utf-8"?> | |
| <ClCompile Include="..\Modules\_testcapi\modsupport.c"> | |
| <Filter>Source Files</Filter> | |
| </ClCompile> | |
| + <ClCompile Include="..\Modules\_testcapi\module.c"> | |
| + <Filter>Source Files</Filter> | |
| + </ClCompile> | |
| <ClCompile Include="..\Modules\_testcapi\monitoring.c"> | |
| <Filter>Source Files</Filter> | |
| </ClCompile> | |