Mercurial > cpython-lru_cache-weakref
annotate PCbuild/debug.props @ 87690:66c1c9f32567 default tip
Add use_weakref option to functools.lru_cache
The use_weakref option makes lru_cache create weak references to the function
arguments when creating the cache key, which prevents them from staying in the
memory forever even after all other references to them are gone.
This is a proof of concept for http://bugs.python.org/issue19859
| author | Radomir Dopieralski <devel@sheep.art.pl> |
|---|---|
| date | Tue, 03 Dec 2013 16:02:48 +0100 |
| parents | f59e6cc3d5eb |
| children |
| rev | line source |
|---|---|
|
76898
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8"?> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
3 <PropertyGroup Label="UserMacros"> |
|
77060
40165fa89db8
Clean up the PCBuild project files, removing redundant settings and
Kristján Valur Jónsson <kristjan@ccpgames.com>
parents:
76898
diff
changeset
|
4 <PyDebugExt>_d</PyDebugExt> |
|
76898
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
5 <KillPythonExe>$(OutDir)kill_python_d.exe</KillPythonExe> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
6 </PropertyGroup> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
7 <PropertyGroup> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
8 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
9 <TargetName>$(ProjectName)_d</TargetName> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
10 </PropertyGroup> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
11 <ItemDefinitionGroup> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
12 <ClCompile> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
13 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
14 </ClCompile> |
|
77586
f59e6cc3d5eb
Issue #15143: Define _DEBUG when compiling resources.
Martin v. Löwis <martin@v.loewis.de>
parents:
77060
diff
changeset
|
15 <ResourceCompile> |
|
f59e6cc3d5eb
Issue #15143: Define _DEBUG when compiling resources.
Martin v. Löwis <martin@v.loewis.de>
parents:
77060
diff
changeset
|
16 <PreprocessorDefinitions>_DEBUG</PreprocessorDefinitions> |
|
f59e6cc3d5eb
Issue #15143: Define _DEBUG when compiling resources.
Martin v. Löwis <martin@v.loewis.de>
parents:
77060
diff
changeset
|
17 </ResourceCompile> |
|
76898
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
18 </ItemDefinitionGroup> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
19 <ItemGroup> |
|
77060
40165fa89db8
Clean up the PCBuild project files, removing redundant settings and
Kristján Valur Jónsson <kristjan@ccpgames.com>
parents:
76898
diff
changeset
|
20 <BuildMacro Include="PyDebugExt"> |
|
40165fa89db8
Clean up the PCBuild project files, removing redundant settings and
Kristján Valur Jónsson <kristjan@ccpgames.com>
parents:
76898
diff
changeset
|
21 <Value>$(PyDebugExt)</Value> |
|
40165fa89db8
Clean up the PCBuild project files, removing redundant settings and
Kristján Valur Jónsson <kristjan@ccpgames.com>
parents:
76898
diff
changeset
|
22 </BuildMacro> |
|
76898
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
23 <BuildMacro Include="KillPythonExe"> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
24 <Value>$(KillPythonExe)</Value> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
25 </BuildMacro> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
26 </ItemGroup> |
|
38d7d944370e
Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents:
diff
changeset
|
27 </Project> |
