Staging
v0.5.1
https://github.com/python/cpython
Revision b4d1e1f7c1af6ae33f0e371576c8bcafedb099db authored by Victor Stinner on 30 November 2017, 21:05:00 UTC, committed by GitHub on 30 November 2017, 21:05:00 UTC
When PyGILState_Ensure() is called in a non-Python thread before
PyEval_InitThreads(), only call PyEval_InitThreads() after calling
PyThreadState_New() to fix a crash.

Add an unit test in test_embed.
1 parent 986375e
Raw File
Tip revision: b4d1e1f7c1af6ae33f0e371576c8bcafedb099db authored by Victor Stinner on 30 November 2017, 21:05:00 UTC
bpo-20891: Fix PyGILState_Ensure() (#4650)
Tip revision: b4d1e1f
python.vcxproj.filters
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup>
    <Filter Include="Resource Files">
      <UniqueIdentifier>{2d690795-de83-4a33-8235-3c5dafe45efa}</UniqueIdentifier>
    </Filter>
    <Filter Include="Source Files">
      <UniqueIdentifier>{8b010a19-5b29-45f1-a8a0-f672e2bbb11a}</UniqueIdentifier>
    </Filter>
  </ItemGroup>
  <ItemGroup>
    <None Include="..\PC\pycon.ico">
      <Filter>Resource Files</Filter>
    </None>
  </ItemGroup>
  <ItemGroup>
    <ResourceCompile Include="..\PC\python_exe.rc">
      <Filter>Resource Files</Filter>
    </ResourceCompile>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\Programs\python.c">
      <Filter>Source Files</Filter>
    </ClCompile>
  </ItemGroup>
</Project>
back to top