Salome HOME
SSL mode integration : switch back SALOME modules on master branches - patch HOMARD...
[tools/sat_salome.git] / products / patches / Python-3.6.5_windows.patch
1 --- Python_ref/Modules/_io/_iomodule.c
2 +++ Python/Modules/_io/_iomodule.c
3 @@ -21,7 +21,8 @@
4  #endif /* HAVE_SYS_STAT_H */
5  
6  #ifdef MS_WINDOWS
7 -#include <consoleapi.h>
8 +#include <windows.h>
9 + #include <consoleapi.h>
10  #endif
11  
12  /* Various interned strings */
13 --- Python_ref/PCbuild/_asyncio.vcxproj
14 +++ Python/PCbuild/_asyncio.vcxproj
15 @@ -38,6 +38,7 @@
16      <ProjectGuid>{384C224A-7474-476E-A01B-750EA7DE918C}</ProjectGuid>
17      <RootNamespace>_asyncio</RootNamespace>
18      <Keyword>Win32Proj</Keyword>
19 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
20    </PropertyGroup>
21    <Import Project="python.props" />
22    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
23 @@ -74,4 +75,4 @@
24    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
25    <ImportGroup Label="ExtensionTargets">
26    </ImportGroup>
27 -</Project>
28 +</Project>
29 \ No newline at end of file
30 --- Python_ref/PCbuild/_bz2.vcxproj
31 +++ Python/PCbuild/_bz2.vcxproj
32 @@ -38,6 +38,7 @@
33      <ProjectGuid>{73FCD2BD-F133-46B7-8EC1-144CD82A59D5}</ProjectGuid>
34      <RootNamespace>bz2</RootNamespace>
35      <Keyword>Win32Proj</Keyword>
36 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
37    </PropertyGroup>
38    <Import Project="python.props" />
39    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
40 --- Python_ref/PCbuild/_bz2.vcxproj.filters
41 +++ Python/PCbuild/_bz2.vcxproj.filters
42 @@ -45,4 +45,7 @@
43        <Filter>bzip2 1.0.6 Header Files</Filter>
44      </ClInclude>
45    </ItemGroup>
46 -</Project>
47 +  <ItemGroup>
48 +    <ResourceCompile Include="..\PC\python_nt.rc" />
49 +  </ItemGroup>
50 +</Project>
51 \ No newline at end of file
52 --- Python_ref/PCbuild/_ctypes.vcxproj
53 +++ Python/PCbuild/_ctypes.vcxproj
54 @@ -38,6 +38,7 @@
55      <ProjectGuid>{0E9791DB-593A-465F-98BC-681011311618}</ProjectGuid>
56      <RootNamespace>_ctypes</RootNamespace>
57      <Keyword>Win32Proj</Keyword>
58 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
59    </PropertyGroup>
60    <Import Project="python.props" />
61    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
62 --- Python_ref/PCbuild/_ctypes.vcxproj.filters
63 +++ Python/PCbuild/_ctypes.vcxproj.filters
64 @@ -62,4 +62,7 @@
65        <Filter>Source Files</Filter>
66      </CustomBuild>
67    </ItemGroup>
68 +  <ItemGroup>
69 +    <ResourceCompile Include="..\PC\python_nt.rc" />
70 +  </ItemGroup>
71  </Project>
72 \ No newline at end of file
73 --- Python_ref/PCbuild/_ctypes_test.vcxproj
74 +++ Python/PCbuild/_ctypes_test.vcxproj
75 @@ -39,6 +39,7 @@
76      <RootNamespace>_ctypes_test</RootNamespace>
77      <Keyword>Win32Proj</Keyword>
78      <SupportPGO>false</SupportPGO>
79 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
80    </PropertyGroup>
81    <Import Project="python.props" />
82    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
83 --- Python_ref/PCbuild/_ctypes_test.vcxproj.filters
84 +++ Python/PCbuild/_ctypes_test.vcxproj.filters
85 @@ -18,4 +18,7 @@
86        <Filter>Source Files</Filter>
87      </ClCompile>
88    </ItemGroup>
89 +  <ItemGroup>
90 +    <ResourceCompile Include="..\PC\python_nt.rc" />
91 +  </ItemGroup>
92  </Project>
93 \ No newline at end of file
94 --- Python_ref/PCbuild/_decimal.vcxproj
95 +++ Python/PCbuild/_decimal.vcxproj
96 @@ -38,6 +38,7 @@
97      <ProjectGuid>{0E9791DB-593A-465F-98BC-681011311617}</ProjectGuid>
98      <RootNamespace>_decimal</RootNamespace>
99      <Keyword>Win32Proj</Keyword>
100 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
101    </PropertyGroup>
102    <Import Project="python.props" />
103    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
104 --- Python_ref/PCbuild/_decimal.vcxproj.filters
105 +++ Python/PCbuild/_decimal.vcxproj.filters
106 @@ -113,4 +113,7 @@
107        <Filter>Source Files</Filter>
108      </CustomBuild>
109    </ItemGroup>
110 +  <ItemGroup>
111 +    <ResourceCompile Include="..\PC\python_nt.rc" />
112 +  </ItemGroup>
113  </Project>
114 \ No newline at end of file
115 --- Python_ref/PCbuild/_distutils_findvs.vcxproj
116 +++ Python/PCbuild/_distutils_findvs.vcxproj
117 @@ -38,6 +38,7 @@
118      <ProjectGuid>{41ADEDF9-11D8-474E-B4D7-BB82332C878E}</ProjectGuid>
119      <RootNamespace>_distutils_findvs</RootNamespace>
120      <Keyword>Win32Proj</Keyword>
121 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
122    </PropertyGroup>
123    <Import Project="python.props" />
124    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
125 @@ -80,4 +81,4 @@
126    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
127    <ImportGroup Label="ExtensionTargets">
128    </ImportGroup>
129 -</Project>
130 +</Project>
131 \ No newline at end of file
132 --- Python_ref/PCbuild/_elementtree.vcxproj
133 +++ Python/PCbuild/_elementtree.vcxproj
134 @@ -38,6 +38,7 @@
135      <ProjectGuid>{17E1E049-C309-4D79-843F-AE483C264AEA}</ProjectGuid>
136      <RootNamespace>_elementtree</RootNamespace>
137      <Keyword>Win32Proj</Keyword>
138 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
139    </PropertyGroup>
140    <Import Project="python.props" />
141    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
142 @@ -104,4 +105,4 @@
143    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
144    <ImportGroup Label="ExtensionTargets">
145    </ImportGroup>
146 -</Project>
147 +</Project>
148 \ No newline at end of file
149 --- Python_ref/PCbuild/_elementtree.vcxproj.filters
150 +++ Python/PCbuild/_elementtree.vcxproj.filters
151 @@ -33,9 +33,6 @@
152      <ClInclude Include="..\Modules\expat\latin1tab.h">
153        <Filter>Header Files</Filter>
154      </ClInclude>
155 -    <ClInclude Include="..\Modules\expat\loadlibrary.c">
156 -      <Filter>Header Files</Filter>
157 -    </ClInclude>
158      <ClInclude Include="..\Modules\expat\macconfig.h">
159        <Filter>Header Files</Filter>
160      </ClInclude>
161 @@ -71,5 +68,9 @@
162      <ClCompile Include="..\Modules\expat\xmltok.c">
163        <Filter>Source Files</Filter>
164      </ClCompile>
165 +    <ClCompile Include="..\Modules\expat\loadlibrary.c" />
166    </ItemGroup>
167 -</Project>
168 +  <ItemGroup>
169 +    <ResourceCompile Include="..\PC\python_nt.rc" />
170 +  </ItemGroup>
171 +</Project>
172 \ No newline at end of file
173 --- Python_ref/PCbuild/_freeze_importlib.vcxproj
174 +++ Python/PCbuild/_freeze_importlib.vcxproj
175 @@ -39,6 +39,7 @@
176      <Keyword>Win32Proj</Keyword>
177      <RootNamespace>_freeze_importlib</RootNamespace>
178      <SupportPGO>false</SupportPGO>
179 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
180    </PropertyGroup>
181    <Import Project="python.props" />
182    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
183 @@ -89,26 +90,21 @@
184    <ImportGroup Label="ExtensionTargets">
185    </ImportGroup>
186    <Target Name="_RebuildImportLib">
187 -    <Exec Command='"$(TargetPath)" "%(None.FullPath)" "%(None.IntFile)"' />
188 -    
189 +    <Exec Command="&quot;$(TargetPath)&quot; &quot;%(None.FullPath)&quot; &quot;%(None.IntFile)&quot;" />
190      <PropertyGroup>
191 -      <_OldContent Condition="Exists($(OutTargetPath))"></_OldContent>
192 -      <_NewContent Condition="Exists($(IntTargetPath))">$([System.IO.File]::ReadAllText($(IntTargetPath)).Replace(`&#x0D;&#x0A;`, `&#x0A;`))</_NewContent>
193 +      <_OldContent Condition="Exists($(OutTargetPath))">
194 +      </_OldContent>
195 +      <_NewContent Condition="Exists($(IntTargetPath))">$([System.IO.File]::ReadAllText($(IntTargetPath)).Replace(`
196 +`, `
197 +`))</_NewContent>
198      </PropertyGroup>
199 -    
200 -    <Copy SourceFiles="%(None.IntFile)"
201 -          DestinationFiles="%(None.OutFile)"
202 -          Condition="!Exists(%(None.OutFile)) or (Exists(%(None.IntFile)) and '$([System.IO.File]::ReadAllText(%(None.OutFile)).Replace(`&#x0D;&#x0A;`, `&#x0A;`))' != '$([System.IO.File]::ReadAllText(%(None.IntFile)).Replace(`&#x0D;&#x0A;`, `&#x0A;`))')">
203 +    <Copy SourceFiles="%(None.IntFile)" DestinationFiles="%(None.OutFile)" Condition="!Exists(%(None.OutFile)) or (Exists(%(None.IntFile)) and '$([System.IO.File]::ReadAllText(%(None.OutFile)).Replace(`&#xD;&#xA;`, `&#xA;`))' != '$([System.IO.File]::ReadAllText(%(None.IntFile)).Replace(`&#xD;&#xA;`, `&#xA;`))')">
204        <Output TaskParameter="CopiedFiles" ItemName="_Updated" />
205      </Copy>
206 -    
207 -    <Warning Text="@(_Updated->'%(Filename)%(Extension)',', ') updated. You will need to rebuild pythoncore to see the changes."
208 -             Condition="'@(_Updated)' != '' and $(Configuration) == 'Debug'" />
209 -    <Error Text="@(_Updated->'%(Filename)%(Extension)',', ') updated. You will need to rebuild pythoncore to see the changes."
210 -           Condition="'@(_Updated)' != '' and $(Configuration) == 'Release'" />
211 +    <Warning Text="@(_Updated->'%(Filename)%(Extension)',', ') updated. You will need to rebuild pythoncore to see the changes." Condition="'@(_Updated)' != '' and $(Configuration) == 'Debug'" />
212 +    <Error Text="@(_Updated->'%(Filename)%(Extension)',', ') updated. You will need to rebuild pythoncore to see the changes." Condition="'@(_Updated)' != '' and $(Configuration) == 'Release'" />
213    </Target>
214 -  <Target Name="RebuildImportLib" AfterTargets="AfterBuild" Condition="$(Configuration) == 'Debug' or $(Configuration) == 'Release'"
215 -          DependsOnTargets="_RebuildImportLib">
216 +  <Target Name="RebuildImportLib" AfterTargets="AfterBuild" Condition="$(Configuration) == 'Debug' or $(Configuration) == 'Release'" DependsOnTargets="_RebuildImportLib">
217    </Target>
218    <Target Name="_CleanImportLib" BeforeTargets="CoreClean">
219      <ItemGroup>
220 @@ -116,4 +112,4 @@
221        <Clean Include="$(IntDir)importlib_external.g.h" />
222      </ItemGroup>
223    </Target>
224 -</Project>
225 +</Project>
226 \ No newline at end of file
227 --- Python_ref/PCbuild/_freeze_importlib.vcxproj.filters
228 +++ Python/PCbuild/_freeze_importlib.vcxproj.filters
229 @@ -23,5 +23,6 @@
230      <None Include="..\Lib\importlib\_bootstrap.py">
231        <Filter>Source Files</Filter>
232      </None>
233 +    <None Include="..\Lib\importlib\_bootstrap_external.py" />
234    </ItemGroup>
235 -</Project>
236 +</Project>
237 \ No newline at end of file
238 --- Python_ref/PCbuild/_hashlib.vcxproj
239 +++ Python/PCbuild/_hashlib.vcxproj
240 @@ -38,6 +38,7 @@
241      <ProjectGuid>{447F05A8-F581-4CAC-A466-5AC7936E207E}</ProjectGuid>
242      <RootNamespace>_hashlib</RootNamespace>
243      <Keyword>Win32Proj</Keyword>
244 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
245    </PropertyGroup>
246    <Import Project="python.props" />
247    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
248 @@ -90,4 +91,4 @@
249    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
250    <ImportGroup Label="ExtensionTargets">
251    </ImportGroup>
252 -</Project>
253 +</Project>
254 \ No newline at end of file
255 --- Python_ref/PCbuild/_hashlib.vcxproj.filters
256 +++ Python/PCbuild/_hashlib.vcxproj.filters
257 @@ -10,4 +10,7 @@
258        <Filter>Source Files</Filter>
259      </ClCompile>
260    </ItemGroup>
261 +  <ItemGroup>
262 +    <ResourceCompile Include="..\PC\python_nt.rc" />
263 +  </ItemGroup>
264  </Project>
265 \ No newline at end of file
266 --- Python_ref/PCbuild/_lzma.vcxproj
267 +++ Python/PCbuild/_lzma.vcxproj
268 @@ -38,6 +38,7 @@
269      <ProjectGuid>{F9D71780-F393-11E0-BE50-0800200C9A66}</ProjectGuid>
270      <RootNamespace>lzma</RootNamespace>
271      <Keyword>Win32Proj</Keyword>
272 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
273    </PropertyGroup>
274    <Import Project="python.props" />
275    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
276 @@ -87,4 +88,4 @@
277    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
278    <ImportGroup Label="ExtensionTargets">
279    </ImportGroup>
280 -</Project>
281 +</Project>
282 \ No newline at end of file
283 --- Python_ref/PCbuild/_lzma.vcxproj.filters
284 +++ Python/PCbuild/_lzma.vcxproj.filters
285 @@ -10,4 +10,7 @@
286        <Filter>Source Files</Filter>
287      </ClCompile>
288    </ItemGroup>
289 +  <ItemGroup>
290 +    <ResourceCompile Include="..\PC\python_nt.rc" />
291 +  </ItemGroup>
292  </Project>
293 \ No newline at end of file
294 --- Python_ref/PCbuild/_msi.vcxproj
295 +++ Python/PCbuild/_msi.vcxproj
296 @@ -38,6 +38,7 @@
297      <ProjectGuid>{31FFC478-7B4A-43E8-9954-8D03E2187E9C}</ProjectGuid>
298      <RootNamespace>_msi</RootNamespace>
299      <Keyword>Win32Proj</Keyword>
300 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
301    </PropertyGroup>
302    <Import Project="python.props" />
303    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
304 --- Python_ref/PCbuild/_msi.vcxproj.filters
305 +++ Python/PCbuild/_msi.vcxproj.filters
306 @@ -10,4 +10,7 @@
307        <Filter>Source Files</Filter>
308      </ClCompile>
309    </ItemGroup>
310 +  <ItemGroup>
311 +    <ResourceCompile Include="..\PC\python_nt.rc" />
312 +  </ItemGroup>
313  </Project>
314 \ No newline at end of file
315 --- Python_ref/PCbuild/_multiprocessing.vcxproj
316 +++ Python/PCbuild/_multiprocessing.vcxproj
317 @@ -38,6 +38,7 @@
318      <ProjectGuid>{9E48B300-37D1-11DD-8C41-005056C00008}</ProjectGuid>
319      <RootNamespace>_multiprocessing</RootNamespace>
320      <Keyword>Win32Proj</Keyword>
321 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
322    </PropertyGroup>
323    <Import Project="python.props" />
324    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
325 --- Python_ref/PCbuild/_multiprocessing.vcxproj.filters
326 +++ Python/PCbuild/_multiprocessing.vcxproj.filters
327 @@ -21,4 +21,7 @@
328        <Filter>Source Files</Filter>
329      </ClCompile>
330    </ItemGroup>
331 +  <ItemGroup>
332 +    <ResourceCompile Include="..\PC\python_nt.rc" />
333 +  </ItemGroup>
334  </Project>
335 \ No newline at end of file
336 --- Python_ref/PCbuild/_overlapped.vcxproj
337 +++ Python/PCbuild/_overlapped.vcxproj
338 @@ -38,6 +38,7 @@
339      <ProjectGuid>{EB6E69DD-04BF-4543-9B92-49FAABCEAC2E}</ProjectGuid>
340      <RootNamespace>_overlapped</RootNamespace>
341      <Keyword>Win32Proj</Keyword>
342 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
343    </PropertyGroup>
344    <Import Project="python.props" />
345    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
346 --- Python_ref/PCbuild/_overlapped.vcxproj.filters
347 +++ Python/PCbuild/_overlapped.vcxproj.filters
348 @@ -10,4 +10,7 @@
349        <Filter>Source Files</Filter>
350      </ClCompile>
351    </ItemGroup>
352 +  <ItemGroup>
353 +    <ResourceCompile Include="..\PC\python_nt.rc" />
354 +  </ItemGroup>
355  </Project>
356 \ No newline at end of file
357 --- Python_ref/PCbuild/_socket.vcxproj
358 +++ Python/PCbuild/_socket.vcxproj
359 @@ -38,6 +38,7 @@
360      <ProjectGuid>{86937F53-C189-40EF-8CE8-8759D8E7D480}</ProjectGuid>
361      <RootNamespace>_socket</RootNamespace>
362      <Keyword>Win32Proj</Keyword>
363 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
364    </PropertyGroup>
365    <Import Project="python.props" />
366    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
367 --- Python_ref/PCbuild/_socket.vcxproj.filters
368 +++ Python/PCbuild/_socket.vcxproj.filters
369 @@ -18,4 +18,7 @@
370        <Filter>Source Files</Filter>
371      </ClCompile>
372    </ItemGroup>
373 +  <ItemGroup>
374 +    <ResourceCompile Include="..\PC\python_nt.rc" />
375 +  </ItemGroup>
376  </Project>
377 \ No newline at end of file
378 --- Python_ref/PCbuild/_sqlite3.vcxproj
379 +++ Python/PCbuild/_sqlite3.vcxproj
380 @@ -38,6 +38,7 @@
381      <ProjectGuid>{13CECB97-4119-4316-9D42-8534019A5A44}</ProjectGuid>
382      <RootNamespace>_sqlite3</RootNamespace>
383      <Keyword>Win32Proj</Keyword>
384 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
385    </PropertyGroup>
386    <Import Project="python.props" />
387    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
388 --- Python_ref/PCbuild/_sqlite3.vcxproj.filters
389 +++ Python/PCbuild/_sqlite3.vcxproj.filters
390 @@ -66,4 +66,7 @@
391        <Filter>Source Files</Filter>
392      </ClCompile>
393    </ItemGroup>
394 +  <ItemGroup>
395 +    <ResourceCompile Include="..\PC\python_nt.rc" />
396 +  </ItemGroup>
397  </Project>
398 \ No newline at end of file
399 --- Python_ref/PCbuild/_ssl.vcxproj
400 +++ Python/PCbuild/_ssl.vcxproj
401 @@ -38,6 +38,7 @@
402      <ProjectGuid>{C6E20F84-3247-4AD6-B051-B073268F73BA}</ProjectGuid>
403      <RootNamespace>_ssl</RootNamespace>
404      <Keyword>Win32Proj</Keyword>
405 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
406    </PropertyGroup>
407    <Import Project="python.props" />
408    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
409 @@ -94,4 +95,4 @@
410    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
411    <ImportGroup Label="ExtensionTargets">
412    </ImportGroup>
413 -</Project>
414 +</Project>
415 \ No newline at end of file
416 --- Python_ref/PCbuild/_ssl.vcxproj.filters
417 +++ Python/PCbuild/_ssl.vcxproj.filters
418 @@ -10,4 +10,7 @@
419        <Filter>Source Files</Filter>
420      </ClCompile>
421    </ItemGroup>
422 +  <ItemGroup>
423 +    <ResourceCompile Include="..\PC\python_nt.rc" />
424 +  </ItemGroup>
425  </Project>
426 \ No newline at end of file
427 --- Python_ref/PCbuild/_testbuffer.vcxproj
428 +++ Python/PCbuild/_testbuffer.vcxproj
429 @@ -39,6 +39,7 @@
430      <RootNamespace>_testbuffer</RootNamespace>
431      <Keyword>Win32Proj</Keyword>
432      <SupportPGO>false</SupportPGO>
433 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
434    </PropertyGroup>
435    <Import Project="python.props" />
436    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
437 --- Python_ref/PCbuild/_testbuffer.vcxproj.filters
438 +++ Python/PCbuild/_testbuffer.vcxproj.filters
439 @@ -10,4 +10,7 @@
440        <Filter>Source Files</Filter>
441      </ClCompile>
442    </ItemGroup>
443 +  <ItemGroup>
444 +    <ResourceCompile Include="..\PC\python_nt.rc" />
445 +  </ItemGroup>
446  </Project>
447 \ No newline at end of file
448 --- Python_ref/PCbuild/_testcapi.vcxproj
449 +++ Python/PCbuild/_testcapi.vcxproj
450 @@ -39,6 +39,7 @@
451      <RootNamespace>_testcapi</RootNamespace>
452      <Keyword>Win32Proj</Keyword>
453      <SupportPGO>false</SupportPGO>
454 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
455    </PropertyGroup>
456    <Import Project="python.props" />
457    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
458 --- Python_ref/PCbuild/_testcapi.vcxproj.filters
459 +++ Python/PCbuild/_testcapi.vcxproj.filters
460 @@ -10,4 +10,7 @@
461        <Filter>Source Files</Filter>
462      </ClCompile>
463    </ItemGroup>
464 +  <ItemGroup>
465 +    <ResourceCompile Include="..\PC\python_nt.rc" />
466 +  </ItemGroup>
467  </Project>
468 \ No newline at end of file
469 --- Python_ref/PCbuild/_testconsole.vcxproj
470 +++ Python/PCbuild/_testconsole.vcxproj
471 @@ -39,6 +39,7 @@
472      <Keyword>Win32Proj</Keyword>
473      <RootNamespace>_testconsole</RootNamespace>
474      <SupportPGO>false</SupportPGO>
475 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
476    </PropertyGroup>
477    <Import Project="python.props" />
478    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
479 --- Python_ref/PCbuild/_testconsole.vcxproj.filters
480 +++ Python/PCbuild/_testconsole.vcxproj.filters
481 @@ -15,8 +15,13 @@
482      </Filter>
483    </ItemGroup>
484    <ItemGroup>
485 -    <ClCompile Include="..\Modules\_testmultiphase.c">
486 +    <ClCompile Include="..\PC\_testconsole.c">
487        <Filter>Source Files</Filter>
488      </ClCompile>
489 +  </ItemGroup>
490 +  <ItemGroup>
491 +    <ResourceCompile Include="..\PC\python_nt.rc">
492 +      <Filter>Resource Files</Filter>
493 +    </ResourceCompile>
494    </ItemGroup>
495  </Project>
496 \ No newline at end of file
497 --- Python_ref/PCbuild/_testembed.vcxproj
498 +++ Python/PCbuild/_testembed.vcxproj
499 @@ -39,6 +39,7 @@
500      <Keyword>Win32Proj</Keyword>
501      <RootNamespace>_testembed</RootNamespace>
502      <SupportPGO>false</SupportPGO>
503 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
504    </PropertyGroup>
505    <Import Project="python.props" />
506    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
507 --- Python_ref/PCbuild/_testembed.vcxproj.filters
508 +++ Python/PCbuild/_testembed.vcxproj.filters
509 @@ -19,4 +19,9 @@
510        <Filter>Source Files</Filter>
511      </ClCompile>
512    </ItemGroup>
513 +  <ItemGroup>
514 +    <ResourceCompile Include="..\PC\python_nt.rc">
515 +      <Filter>Resource Files</Filter>
516 +    </ResourceCompile>
517 +  </ItemGroup>
518  </Project>
519 \ No newline at end of file
520 --- Python_ref/PCbuild/_testimportmultiple.vcxproj
521 +++ Python/PCbuild/_testimportmultiple.vcxproj
522 @@ -39,6 +39,7 @@
523      <RootNamespace>_testimportmultiple</RootNamespace>
524      <Keyword>Win32Proj</Keyword>
525      <SupportPGO>false</SupportPGO>
526 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
527    </PropertyGroup>
528    <Import Project="python.props" />
529    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
530 @@ -80,4 +81,4 @@
531    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
532    <ImportGroup Label="ExtensionTargets">
533    </ImportGroup>
534 -</Project>
535 +</Project>
536 \ No newline at end of file
537 --- Python_ref/PCbuild/_testimportmultiple.vcxproj.filters
538 +++ Python/PCbuild/_testimportmultiple.vcxproj.filters
539 @@ -10,4 +10,7 @@
540        <Filter>Source Files</Filter>
541      </ClCompile>
542    </ItemGroup>
543 -</Project>
544 +  <ItemGroup>
545 +    <ResourceCompile Include="..\PC\python_nt.rc" />
546 +  </ItemGroup>
547 +</Project>
548 \ No newline at end of file
549 --- Python_ref/PCbuild/_testmultiphase.vcxproj
550 +++ Python/PCbuild/_testmultiphase.vcxproj
551 @@ -39,6 +39,7 @@
552      <Keyword>Win32Proj</Keyword>
553      <RootNamespace>_testmultiphase</RootNamespace>
554      <SupportPGO>false</SupportPGO>
555 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
556    </PropertyGroup>
557    <Import Project="python.props" />
558    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
559 --- Python_ref/PCbuild/_testmultiphase.vcxproj.filters
560 +++ Python/PCbuild/_testmultiphase.vcxproj.filters
561 @@ -19,4 +19,9 @@
562        <Filter>Source Files</Filter>
563      </ClCompile>
564    </ItemGroup>
565 +  <ItemGroup>
566 +    <ResourceCompile Include="..\PC\python_nt.rc">
567 +      <Filter>Resource Files</Filter>
568 +    </ResourceCompile>
569 +  </ItemGroup>
570  </Project>
571 \ No newline at end of file
572 --- Python_ref/PCbuild/env.bat
573 +++ Python/PCbuild/env.bat
574 @@ -9,7 +9,8 @@
575  
576  echo Build environments: x86, amd64, x86_amd64
577  echo.
578 -set VSTOOLS=%VS140COMNTOOLS%
579 +set VSTOOLS=%VS150COMNTOOLS%
580 +if "%VSTOOLS%"=="" set VSTOOLS=%VS140COMNTOOLS%
581  if "%VSTOOLS%"=="" set VSTOOLS=%VS120COMNTOOLS%
582  if "%VSTOOLS%"=="" set VSTOOLS=%VS110COMNTOOLS%
583  if "%VSTOOLS%"=="" set VSTOOLS=%VS100COMNTOOLS%
584 --- Python_ref/PCbuild/libeay.vcxproj
585 +++ Python/PCbuild/libeay.vcxproj
586 @@ -37,18 +37,15 @@
587    <PropertyGroup Label="Globals">
588      <ProjectGuid>{E5B04CC0-EB4C-42AB-B4DC-18EF95F864B0}</ProjectGuid>
589      <RootNamespace>libeay</RootNamespace>
590 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
591    </PropertyGroup>
592 -
593    <Import Project="python.props" />
594    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
595 -
596    <PropertyGroup Label="Configuration">
597      <ConfigurationType>StaticLibrary</ConfigurationType>
598    </PropertyGroup>
599 -   
600    <Import Project="openssl.props" />
601    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
602 -
603    <Target Name="CreateBuildinfH" Inputs="$(MSBuildProjectFullPath)" Outputs="$(IntDir)\buildinf.h" AfterTargets="PrepareForBuild">
604      <PropertyGroup>
605        <_DATEValue>#define DATE "$([System.DateTime]::Now.ToString(`ddd MMM dd HH':'mm':'ss yyyy`))"</_DATEValue>
606 @@ -56,25 +53,17 @@
607        <_PLATFORMValue Condition="$(Platform)=='Win32'">#define PLATFORM "VC-WIN32"</_PLATFORMValue>
608        <_PLATFORMValue Condition="$(Platform)=='x64'">#define PLATFORM "VC-WIN64A"</_PLATFORMValue>
609      </PropertyGroup>
610 -    <WriteLinesToFile File="$(IntDir)\buildinf.h"
611 -                      Lines="$(_DATEValue);$(_CFLAGSValue);$(_PLATFORMValue)"
612 -                      Overwrite="true" />
613 -    <Message Text="Updating buildinf.h:
614 -    $(_DATEValue)
615 -    $(_CFLAGSValue)
616 -    $(_PLATFORMValue)" Importance="normal" />
617 +    <WriteLinesToFile File="$(IntDir)\buildinf.h" Lines="$(_DATEValue);$(_CFLAGSValue);$(_PLATFORMValue)" Overwrite="true" />
618 +    <Message Text="Updating buildinf.h:&#xD;&#xA;    $(_DATEValue)&#xD;&#xA;    $(_CFLAGSValue)&#xD;&#xA;    $(_PLATFORMValue)" Importance="normal" />
619    </Target>
620 -
621    <Target Name="SuppressOriginalBuildinfH" Condition="Exists('$(opensslDir)crypto\buildinf.h')" BeforeTargets="PrepareForBuild">
622      <Move SourceFiles="$(opensslDir)crypto\buildinf.h" DestinationFiles="$(opensslDir)crypto\buildinf.h.orig" />
623    </Target>
624 -
625    <ItemGroup>
626      <ClCompile Include="$(opensslDir)crypto\cversion.c">
627        <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
628      </ClCompile>
629    </ItemGroup>
630 -  
631    <ItemGroup>
632      <!--
633      <ClCompile Include="$(opensslDir)apps\errstr.c" />
634 @@ -847,7 +836,6 @@
635      <ClCompile Include="$(opensslDir)crypto\des\des_enc.c" />
636      <ClCompile Include="$(opensslDir)crypto\des\fcrypt_b.c" />
637    </ItemGroup>
638 -    
639    <ItemGroup Condition="$(Platform) == 'Win32'">
640      <NasmCompile Include="$(opensslDir)tmp32\aes-586.asm" />
641      <NasmCompile Include="$(opensslDir)tmp32\aesni-x86.asm" />
642 @@ -897,7 +885,6 @@
643      <NasmCompile Include="$(opensslDir)tmp64\x86_64-mont.asm" />
644      <NasmCompile Include="$(opensslDir)tmp64\x86_64-mont5.asm" />
645    </ItemGroup>
646 -
647    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
648    <Target Name="Clean" />
649    <Target Name="CleanAll">
650 --- Python_ref/PCbuild/liblzma.vcxproj
651 +++ Python/PCbuild/liblzma.vcxproj
652 @@ -38,11 +38,10 @@
653      <ProjectGuid>{12728250-16EC-4DC6-94D7-E21DD88947F8}</ProjectGuid>
654      <RootNamespace>liblzma</RootNamespace>
655      <SupportPGO>true</SupportPGO>
656 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
657    </PropertyGroup>
658 -
659    <Import Project="python.props" />
660    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
661 -
662    <PropertyGroup Label="Configuration">
663      <ConfigurationType>StaticLibrary</ConfigurationType>
664    </PropertyGroup>
665 @@ -213,4 +212,4 @@
666    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
667    <ImportGroup Label="ExtensionTargets">
668    </ImportGroup>
669 -</Project>
670 +</Project>
671 \ No newline at end of file
672 --- Python_ref/PCbuild/pcbuild.sln
673 +++ Python/PCbuild/pcbuild.sln
674 @@ -36,8 +36,6 @@
675  EndProject
676  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_testimportmultiple", "_testimportmultiple.vcxproj", "{36D0C52C-DF4E-45D0-8BC7-E294C3ABC781}"
677  EndProject
678 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_tkinter", "_tkinter.vcxproj", "{4946ECAC-2E69-4BF8-A90A-F5136F5094DF}"
679 -EndProject
680  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_bz2", "_bz2.vcxproj", "{73FCD2BD-F133-46B7-8EC1-144CD82A59D5}"
681  EndProject
682  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "select", "select.vcxproj", "{18CAE28C-B454-46C1-87A0-493D91D97F03}"
683 @@ -79,12 +77,6 @@
684  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_testembed", "_testembed.vcxproj", "{6DAC66D9-E703-4624-BE03-49112AB5AA62}"
685  EndProject
686  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_testmultiphase", "_testmultiphase.vcxproj", "{16BFE6F0-22EF-40B5-B831-7E937119EF10}"
687 -EndProject
688 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tcl", "tcl.vcxproj", "{B5FD6F1D-129E-4BFF-9340-03606FAC7283}"
689 -EndProject
690 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tix", "tix.vcxproj", "{C5A3E7FB-9695-4B2E-960B-1D9F43F1E555}"
691 -EndProject
692 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tk", "tk.vcxproj", "{7E85ECCF-A72C-4DA4-9E52-884508E80BA1}"
693  EndProject
694  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libeay", "libeay.vcxproj", "{E5B04CC0-EB4C-42AB-B4DC-18EF95F864B0}"
695  EndProject
696 --- Python_ref/PCbuild/pyexpat.vcxproj
697 +++ Python/PCbuild/pyexpat.vcxproj
698 @@ -38,6 +38,7 @@
699      <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
700      <ProjectGuid>{D06B6426-4762-44CC-8BAD-D79052507F2F}</ProjectGuid>
701      <RootNamespace>pyexpat</RootNamespace>
702 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
703    </PropertyGroup>
704    <Import Project="python.props" />
705    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
706 @@ -85,4 +86,4 @@
707    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
708    <ImportGroup Label="ExtensionTargets">
709    </ImportGroup>
710 -</Project>
711 +</Project>
712 \ No newline at end of file
713 --- Python_ref/PCbuild/pyexpat.vcxproj.filters
714 +++ Python/PCbuild/pyexpat.vcxproj.filters
715 @@ -33,4 +33,7 @@
716        <Filter>Source Files</Filter>
717      </ClCompile>
718    </ItemGroup>
719 -</Project>
720 +  <ItemGroup>
721 +    <ResourceCompile Include="..\PC\python_nt.rc" />
722 +  </ItemGroup>
723 +</Project>
724 \ No newline at end of file
725 --- Python_ref/PCbuild/pylauncher.vcxproj
726 +++ Python/PCbuild/pylauncher.vcxproj
727 @@ -39,6 +39,7 @@
728      <RootNamespace>pylauncher</RootNamespace>
729      <TargetName>py</TargetName>
730      <SupportPGO>false</SupportPGO>
731 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
732    </PropertyGroup>
733    <Import Project="python.props" />
734    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
735 @@ -79,4 +80,4 @@
736    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
737    <ImportGroup Label="ExtensionTargets">
738    </ImportGroup>
739 -</Project>
740 +</Project>
741 \ No newline at end of file
742 --- Python_ref/PCbuild/pyshellext.vcxproj
743 +++ Python/PCbuild/pyshellext.vcxproj
744 @@ -39,6 +39,7 @@
745      <RootNamespace>pyshellext</RootNamespace>
746      <TargetName>pyshellext</TargetName>
747      <SupportPGO>false</SupportPGO>
748 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
749    </PropertyGroup>
750    <Import Project="python.props" />
751    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
752 --- Python_ref/PCbuild/python.vcxproj
753 +++ Python/PCbuild/python.vcxproj
754 @@ -36,6 +36,7 @@
755    </ItemGroup>
756    <PropertyGroup Label="Globals">
757      <ProjectGuid>{B11D750F-CD1F-4A96-85CE-E69A5C5259F9}</ProjectGuid>
758 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
759    </PropertyGroup>
760    <Import Project="python.props" />
761    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
762 @@ -88,9 +89,7 @@
763        <UcrtName>ucrtbase</UcrtName>
764        <UcrtName Condition="'$(Configuration)' == 'Debug'">ucrtbased</UcrtName>
765      </PropertyGroup>
766 -    <Exec Command='setlocal
767 -set PYTHONPATH=$(PySourcePath)Lib
768 -"$(OutDir)python$(PyDebugExt).exe" "$(PySourcePath)PC\validate_ucrtbase.py" $(UcrtName)' ContinueOnError="true" />
769 +    <Exec Command="setlocal&#xD;&#xA;set PYTHONPATH=$(PySourcePath)Lib&#xD;&#xA;&quot;$(OutDir)python$(PyDebugExt).exe&quot; &quot;$(PySourcePath)PC\validate_ucrtbase.py&quot; $(UcrtName)" ContinueOnError="true" />
770    </Target>
771    <Target Name="GeneratePythonBat" AfterTargets="AfterBuild">
772      <PropertyGroup>
773 --- Python_ref/PCbuild/python3dll.vcxproj
774 +++ Python/PCbuild/python3dll.vcxproj
775 @@ -40,6 +40,7 @@
776      <Keyword>Win32Proj</Keyword>
777      <TargetName>python3</TargetName>
778      <SupportPGO>false</SupportPGO>
779 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
780    </PropertyGroup>
781    <Import Project="python.props" />
782    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
783 @@ -88,7 +89,6 @@
784    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
785    <ImportGroup Label="ExtensionTargets">
786    </ImportGroup>
787 -  
788    <Target Name="BuildPython3_dDef" BeforeTargets="BuildStubDef" Inputs="..\PC\python3.def" Outputs="$(IntDir)python3_d.def" Condition="$(Configuration) == 'Debug'">
789      <ItemGroup>
790        <_DefLines Remove="@(_DefLines)" />
791 @@ -111,7 +111,6 @@
792      <MakeDir Directories="$(IntDir)" />
793      <WriteLinesToFile File="$(IntDir)python3_d.def" Lines="@(_Lines->'%(New)')" Overwrite="true" />
794    </Target>
795 -  
796    <Target Name="BuildStubDef" BeforeTargets="PreLinkEvent" Inputs="..\PC\python3.def" Outputs="$(IntDir)python3stub.def">
797      <ItemGroup>
798        <_DefLines Remove="@(_DefLines)" />
799 --- Python_ref/PCbuild/pythoncore.vcxproj
800 +++ Python/PCbuild/pythoncore.vcxproj
801 @@ -37,6 +37,7 @@
802    <PropertyGroup Label="Globals">
803      <ProjectGuid>{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}</ProjectGuid>
804      <RootNamespace>pythoncore</RootNamespace>
805 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
806    </PropertyGroup>
807    <Import Project="python.props" />
808    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
809 @@ -433,4 +434,4 @@
810    <Target Name="_WarnAboutToolset" BeforeTargets="PrepareForBuild" Condition="$(PlatformToolset) != 'v140' and $(PlatformToolset) != 'v141'">
811      <Warning Text="Toolset $(PlatformToolset) is not used for official builds. Your build may have errors or incompatibilities." />
812    </Target>
813 -</Project>
814 +</Project>
815 \ No newline at end of file
816 --- Python_ref/PCbuild/pythonw.vcxproj
817 +++ Python/PCbuild/pythonw.vcxproj
818 @@ -37,6 +37,7 @@
819    <PropertyGroup Label="Globals">
820      <ProjectGuid>{F4229CC3-873C-49AE-9729-DD308ED4CD4A}</ProjectGuid>
821      <SupportPGO>false</SupportPGO>
822 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
823    </PropertyGroup>
824    <Import Project="python.props" />
825    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
826 --- Python_ref/PCbuild/pythonw.vcxproj.filters
827 +++ Python/PCbuild/pythonw.vcxproj.filters
828 @@ -9,9 +9,7 @@
829      </Filter>
830    </ItemGroup>
831    <ItemGroup>
832 -    <ResourceCompile Include="..\PC\python_exe.rc">
833 -      <Filter>Resource Files</Filter>
834 -    </ResourceCompile>
835 +    <ResourceCompile Include="..\PC\pythonw_exe.rc" />
836    </ItemGroup>
837    <ItemGroup>
838      <ClCompile Include="..\PC\WinMain.c">
839 --- Python_ref/PCbuild/pywlauncher.vcxproj
840 +++ Python/PCbuild/pywlauncher.vcxproj
841 @@ -39,6 +39,7 @@
842      <RootNamespace>pywlauncher</RootNamespace>
843      <TargetName>pyw</TargetName>
844      <SupportPGO>false</SupportPGO>
845 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
846    </PropertyGroup>
847    <Import Project="python.props" />
848    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
849 --- Python_ref/PCbuild/select.vcxproj
850 +++ Python/PCbuild/select.vcxproj
851 @@ -37,6 +37,7 @@
852    <PropertyGroup Label="Globals">
853      <ProjectGuid>{18CAE28C-B454-46C1-87A0-493D91D97F03}</ProjectGuid>
854      <RootNamespace>select</RootNamespace>
855 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
856    </PropertyGroup>
857    <Import Project="python.props" />
858    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
859 --- Python_ref/PCbuild/select.vcxproj.filters
860 +++ Python/PCbuild/select.vcxproj.filters
861 @@ -10,4 +10,7 @@
862        <Filter>Source Files</Filter>
863      </ClCompile>
864    </ItemGroup>
865 +  <ItemGroup>
866 +    <ResourceCompile Include="..\PC\python_nt.rc" />
867 +  </ItemGroup>
868  </Project>
869 \ No newline at end of file
870 --- Python_ref/PCbuild/sqlite3.vcxproj
871 +++ Python/PCbuild/sqlite3.vcxproj
872 @@ -39,6 +39,7 @@
873      <RootNamespace>sqlite3</RootNamespace>
874      <TargetExt>.pyd</TargetExt>
875      <SupportPGO>false</SupportPGO>
876 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
877    </PropertyGroup>
878    <Import Project="python.props" />
879    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
880 @@ -86,4 +87,4 @@
881    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
882    <ImportGroup Label="ExtensionTargets">
883    </ImportGroup>
884 -</Project>
885 +</Project>
886 \ No newline at end of file
887 --- Python_ref/PCbuild/sqlite3.vcxproj.filters
888 +++ Python/PCbuild/sqlite3.vcxproj.filters
889 @@ -21,4 +21,7 @@
890        <Filter>Source Files</Filter>
891      </ClCompile>
892    </ItemGroup>
893 +  <ItemGroup>
894 +    <ResourceCompile Include="..\PC\sqlite3.rc" />
895 +  </ItemGroup>
896  </Project>
897 \ No newline at end of file
898 --- Python_ref/PCbuild/ssleay.vcxproj
899 +++ Python/PCbuild/ssleay.vcxproj
900 @@ -37,18 +37,15 @@
901    <PropertyGroup Label="Globals">
902      <ProjectGuid>{10615B24-73BF-4EFA-93AA-236916321317}</ProjectGuid>
903      <RootNamespace>ssleay</RootNamespace>
904 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
905    </PropertyGroup>
906 -
907    <Import Project="python.props" />
908    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
909 -
910    <PropertyGroup Label="Configuration">
911      <ConfigurationType>StaticLibrary</ConfigurationType>
912    </PropertyGroup>
913 -
914    <Import Project="openssl.props" />
915    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
916 -
917    <ItemGroup>
918      <!--
919      <ClCompile Include="$(opensslDir)ssl\bio_ssl.c" />
920 @@ -109,7 +106,6 @@
921      <ClCompile Include="$(opensslDir)ssl\t1_srvr.c" />
922      <ClCompile Include="$(opensslDir)ssl\tls_srp.c" />
923    </ItemGroup>
924 -  
925    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
926    <Target Name="Clean" />
927    <Target Name="CleanAll">
928 --- Python_ref/PCbuild/unicodedata.vcxproj
929 +++ Python/PCbuild/unicodedata.vcxproj
930 @@ -38,6 +38,7 @@
931      <ProjectGuid>{ECC7CEAC-A5E5-458E-BB9E-2413CC847881}</ProjectGuid>
932      <RootNamespace>unicodedata</RootNamespace>
933      <Keyword>Win32Proj</Keyword>
934 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
935    </PropertyGroup>
936    <Import Project="python.props" />
937    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
938 --- Python_ref/PCbuild/unicodedata.vcxproj.filters
939 +++ Python/PCbuild/unicodedata.vcxproj.filters
940 @@ -21,4 +21,7 @@
941        <Filter>Source Files</Filter>
942      </ClCompile>
943    </ItemGroup>
944 +  <ItemGroup>
945 +    <ResourceCompile Include="..\PC\python_nt.rc" />
946 +  </ItemGroup>
947  </Project>
948 \ No newline at end of file
949 --- Python_ref/PCbuild/winsound.vcxproj
950 +++ Python/PCbuild/winsound.vcxproj
951 @@ -38,6 +38,7 @@
952      <ProjectGuid>{28B5D777-DDF2-4B6B-B34F-31D938813856}</ProjectGuid>
953      <RootNamespace>winsound</RootNamespace>
954      <Keyword>Win32Proj</Keyword>
955 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
956    </PropertyGroup>
957    <Import Project="python.props" />
958    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
959 --- Python_ref/PCbuild/winsound.vcxproj.filters
960 +++ Python/PCbuild/winsound.vcxproj.filters
961 @@ -11,4 +11,7 @@
962        <Filter>Source Files</Filter>
963      </ClCompile>
964    </ItemGroup>
965 +  <ItemGroup>
966 +    <ResourceCompile Include="..\PC\python_nt.rc" />
967 +  </ItemGroup>
968  </Project>
969 \ No newline at end of file
970 --- Python_ref/PCbuild/xxlimited.vcxproj
971 +++ Python/PCbuild/xxlimited.vcxproj
972 @@ -38,6 +38,7 @@
973      <ProjectGuid>{F749B822-B489-4CA5-A3AD-CE078F5F338A}</ProjectGuid>
974      <RootNamespace>xxlimited</RootNamespace>
975      <Keyword>Win32Proj</Keyword>
976 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
977    </PropertyGroup>
978    <Import Project="python.props" />
979    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />