2012-05-13 13:19:23 -03:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
2019-02-14 12:31:30 -04:00
|
|
|
|
<ProjectConfiguration Include="Debug|ARM">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-05-17 14:07:24 -03:00
|
|
|
|
<ProjectConfiguration Include="Debug|ARM64">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2012-05-13 13:19:23 -03:00
|
|
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-02-14 12:31:30 -04:00
|
|
|
|
<ProjectConfiguration Include="PGInstrument|ARM">
|
|
|
|
|
<Configuration>PGInstrument</Configuration>
|
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-05-17 14:07:24 -03:00
|
|
|
|
<ProjectConfiguration Include="PGInstrument|ARM64">
|
|
|
|
|
<Configuration>PGInstrument</Configuration>
|
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2012-05-13 13:19:23 -03:00
|
|
|
|
<ProjectConfiguration Include="PGInstrument|Win32">
|
|
|
|
|
<Configuration>PGInstrument</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="PGInstrument|x64">
|
|
|
|
|
<Configuration>PGInstrument</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-02-14 12:31:30 -04:00
|
|
|
|
<ProjectConfiguration Include="PGUpdate|ARM">
|
|
|
|
|
<Configuration>PGUpdate</Configuration>
|
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-05-17 14:07:24 -03:00
|
|
|
|
<ProjectConfiguration Include="PGUpdate|ARM64">
|
|
|
|
|
<Configuration>PGUpdate</Configuration>
|
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2012-05-13 13:19:23 -03:00
|
|
|
|
<ProjectConfiguration Include="PGUpdate|Win32">
|
|
|
|
|
<Configuration>PGUpdate</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="PGUpdate|x64">
|
|
|
|
|
<Configuration>PGUpdate</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-02-14 12:31:30 -04:00
|
|
|
|
<ProjectConfiguration Include="Release|ARM">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-05-17 14:07:24 -03:00
|
|
|
|
<ProjectConfiguration Include="Release|ARM64">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2012-05-13 13:19:23 -03:00
|
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
|
<ProjectGuid>{6901D91C-6E48-4BB7-9FEC-700C8131DF1D}</ProjectGuid>
|
|
|
|
|
<RootNamespace>_testcapi</RootNamespace>
|
|
|
|
|
<Keyword>Win32Proj</Keyword>
|
2014-11-22 16:54:57 -04:00
|
|
|
|
<SupportPGO>false</SupportPGO>
|
2012-05-13 13:19:23 -03:00
|
|
|
|
</PropertyGroup>
|
2014-11-22 16:54:57 -04:00
|
|
|
|
<Import Project="python.props" />
|
2012-05-13 13:19:23 -03:00
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
2014-11-22 16:54:57 -04:00
|
|
|
|
<PropertyGroup Label="Configuration">
|
2012-05-13 13:19:23 -03:00
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
|
<CharacterSet>NotSet</CharacterSet>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
2014-11-22 16:54:57 -04:00
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<TargetExt>.pyd</TargetExt>
|
|
|
|
|
</PropertyGroup>
|
2012-05-13 13:19:23 -03:00
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
|
</ImportGroup>
|
2014-11-22 16:54:57 -04:00
|
|
|
|
<ImportGroup Label="PropertySheets">
|
2012-05-13 13:19:23 -03:00
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
2014-11-22 16:54:57 -04:00
|
|
|
|
<Import Project="pyproject.props" />
|
2012-05-13 13:19:23 -03:00
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClCompile Include="..\Modules\_testcapimodule.c" />
|
2022-11-14 17:23:41 -04:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\getargs.c" />
|
2022-07-08 12:56:26 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\vectorcall.c" />
|
2022-08-08 09:12:05 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\vectorcall_limited.c" />
|
2022-08-01 10:04:14 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\heaptype.c" />
|
2023-05-04 04:56:53 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\heaptype_relative.c" />
|
2023-08-07 12:51:43 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\abstract.c" />
|
2022-08-10 04:10:25 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\unicode.c" />
|
2023-08-07 12:51:43 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\dict.c" />
|
2023-10-09 05:57:48 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\set.c" />
|
2022-11-15 03:17:52 -04:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\datetime.c" />
|
2022-11-16 09:09:10 -04:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\docstring.c" />
|
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\mem.c" />
|
2022-11-16 15:13:32 -04:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\watchers.c" />
|
2022-11-17 04:56:56 -04:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\float.c" />
|
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\long.c" />
|
gh-47146: Soft-deprecate structmember.h, expose its contents via Python.h (GH-99014)
The ``structmember.h`` header is deprecated, though it continues to be available
and there are no plans to remove it. There are no deprecation warnings. Old code
can stay unchanged (unless the extra include and non-namespaced macros bother
you greatly). Specifically, no uses in CPython are updated -- that would just be
unnecessary churn.
The ``structmember.h`` header is deprecated, though it continues to be
available and there are no plans to remove it.
Its contents are now available just by including ``Python.h``,
with a ``Py`` prefix added if it was missing:
- `PyMemberDef`, `PyMember_GetOne` and`PyMember_SetOne`
- Type macros like `Py_T_INT`, `Py_T_DOUBLE`, etc.
(previously ``T_INT``, ``T_DOUBLE``, etc.)
- The flags `Py_READONLY` (previously ``READONLY``) and
`Py_AUDIT_READ` (previously all uppercase)
Several items are not exposed from ``Python.h``:
- `T_OBJECT` (use `Py_T_OBJECT_EX`)
- `T_NONE` (previously undocumented, and pretty quirky)
- The macro ``WRITE_RESTRICTED`` which does nothing.
- The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of
`Py_AUDIT_READ`.
- In some configurations, ``<stddef.h>`` is not included from ``Python.h``.
It should be included manually when using ``offsetof()``.
The deprecated header continues to provide its original
contents under the original names.
Your old code can stay unchanged, unless the extra include and non-namespaced
macros bother you greatly.
There is discussion on the issue to rename `T_PYSSIZET` to `PY_T_SSIZE` or
similar. I chose not to do that -- users will probably copy/paste that with any
spelling, and not renaming it makes migration docs simpler.
Co-Authored-By: Alexander Belopolsky <abalkin@users.noreply.github.com>
Co-Authored-By: Matthias Braun <MatzeB@users.noreply.github.com>
2022-11-22 03:25:43 -04:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\structmember.c" />
|
2023-02-23 11:03:13 -04:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\exceptions.c" />
|
2023-02-28 04:31:01 -04:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\code.c" />
|
2023-05-04 11:59:46 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\buffer.c" />
|
2023-08-31 18:41:18 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\pyatomic.c" />
|
2023-03-22 08:35:27 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\pyos.c" />
|
2023-05-02 12:05:30 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\immortal.c" />
|
2023-05-12 06:26:07 -03:00
|
|
|
|
<ClCompile Include="..\Modules\_testcapi\gc.c" />
|
2012-05-13 13:19:23 -03:00
|
|
|
|
</ItemGroup>
|
2016-04-06 16:35:24 -03:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ResourceCompile Include="..\PC\python_nt.rc" />
|
|
|
|
|
</ItemGroup>
|
2012-05-13 13:19:23 -03:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="pythoncore.vcxproj">
|
|
|
|
|
<Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project>
|
|
|
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
|
|
|
</ProjectReference>
|
2022-08-17 08:48:43 -03:00
|
|
|
|
<ProjectReference Include="python3dll.vcxproj">
|
|
|
|
|
<Project>{885d4898-d08d-4091-9c40-c700cfe3fc5a}</Project>
|
|
|
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
|
|
|
</ProjectReference>
|
2012-05-13 13:19:23 -03:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
2023-07-01 19:27:18 -03:00
|
|
|
|
</Project>
|