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
_asyncio.vcxproj.filters
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup>
    <ResourceCompile Include="..\PC\python_nt.rc" />
  </ItemGroup>
  <ItemGroup>
    <Filter Include="Source Files">
      <UniqueIdentifier>{2422278e-eeeb-4241-8182-433e2bc5a7fc}</UniqueIdentifier>
    </Filter>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\Modules\_asynciomodule.c">
      <Filter>Source Files</Filter>
    </ClCompile>
  </ItemGroup>
</Project>
back to top