mirror of
https://github.com/python/cpython
synced 2024-11-02 05:41:35 +00:00
8bea6c411d
Add Py_GetConstant() and Py_GetConstantBorrowed() functions. In the limited C API version 3.13, getting Py_None, Py_False, Py_True, Py_Ellipsis and Py_NotImplemented singletons is now implemented as function calls at the stable ABI level to hide implementation details. Getting these constants still return borrowed references. Add _testlimitedcapi/object.c and test_capi/test_object.py to test Py_GetConstant() and Py_GetConstantBorrowed() functions.
35 lines
1.7 KiB
XML
35 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup>
|
|
<Filter Include="Source Files">
|
|
<UniqueIdentifier>{a76a90d8-8e8b-4c36-8f58-8bd46abe9f5e}</UniqueIdentifier>
|
|
</Filter>
|
|
<Filter Include="Resource Files">
|
|
<UniqueIdentifier>{071b2ff4-e5a1-4e79-b0c5-cf46b0094a80}</UniqueIdentifier>
|
|
</Filter>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\abstract.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\bytearray.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\bytes.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\complex.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\dict.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\float.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\heaptype_relative.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\list.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\long.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\object.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\pyos.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\set.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\sys.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\testcapi_long.h" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\unicode.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi\vectorcall_limited.c" />
|
|
<ClCompile Include="..\Modules\_testlimitedcapi.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ResourceCompile Include="..\PC\python_nt.rc">
|
|
<Filter>Resource Files</Filter>
|
|
</ResourceCompile>
|
|
</ItemGroup>
|
|
</Project>
|