Staging
v0.5.1
https://github.com/python/cpython
Revision 7cfede6859586f77f786bda56af4698ae2245f56 authored by Miss Islington (bot) on 29 July 2020, 01:16:19 UTC, committed by GitHub on 29 July 2020, 01:16:19 UTC

This consolidates the handling of my_fgets return values, so that interrupts are always handled, even if they come after EOF.

 I believe PyOS_StdioReadline is still buggy in that I/O errors will not result in a proper Python exception being set. However, that is a separate issue.
(cherry picked from commit a74eea238f5baba15797e2e8b570d153bc8690a7)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
1 parent 5e0ce46
Raw File
Tip revision: 7cfede6859586f77f786bda56af4698ae2245f56 authored by Miss Islington (bot) on 29 July 2020, 01:16:19 UTC
closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569)
Tip revision: 7cfede6
pyshellext.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>
    <Filter Include="Header Files">
      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
    </Filter>
    <Filter Include="Resource Files">
      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
    </Filter>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\PC\pyshellext.cpp">
      <Filter>Source Files</Filter>
    </ClCompile>
  </ItemGroup>
  <ItemGroup>
    <Midl Include="..\PC\pyshellext.idl">
      <Filter>Source Files</Filter>
    </Midl>
  </ItemGroup>
  <ItemGroup>
    <ResourceCompile Include="..\PC\pyshellext.rc">
      <Filter>Resource Files</Filter>
    </ResourceCompile>
  </ItemGroup>
  <ItemGroup>
    <None Include="..\PC\pyshellext.def">
      <Filter>Source Files</Filter>
    </None>
    <None Include="..\PC\pyshellext_d.def">
      <Filter>Source Files</Filter>
    </None>
  </ItemGroup>
</Project>
back to top