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
winsound.vcxproj.filters
<?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>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
    </Filter>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\PC\winsound.c">
      <Filter>Source Files</Filter>
    </ClCompile>
  </ItemGroup>
</Project>
back to top