Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 8fa398d5cecec80990c5642b081f52cbbc6a05eb authored by Miss Islington (bot) on 07 June 2018, 22:49:34 UTC, committed by Victor Stinner on 07 June 2018, 22:49:34 UTC
The cancellation of an overlapped WSARecv() has a race condition which causes data loss because of the current implementation of proactor in asyncio. No longer cancel overlapped WSARecv() in _ProactorReadPipeTransport to work around the race condition. Remove the optimized recv_into() implementation to get simple implementation of pause_reading() using the single _pending_data attribute. Move _feed_data_to_bufferred_proto() to protocols.py. Remove set_protocol() method which became useless. (cherry picked from commit 79790bc35fe722a49977b52647f9b5fe1deda2b7) Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent 0aee3be
Tip revision: 8fa398d5cecec80990c5642b081f52cbbc6a05eb authored by Miss Islington (bot) on 07 June 2018, 22:49:34 UTC
bpo-33694: Fix race condition in asyncio proactor (GH-7498) (GH-7499)
bpo-33694: Fix race condition in asyncio proactor (GH-7498) (GH-7499)
Tip revision: 8fa398d
File | Mode | Size |
---|---|---|
c-api | ||
data | ||
distributing | ||
distutils | ||
extending | ||
faq | ||
howto | ||
includes | ||
install | ||
installing | ||
library | ||
reference | ||
tools | ||
tutorial | ||
using | ||
whatsnew | ||
Makefile | -rw-r--r-- | 7.3 KB |
README.rst | -rw-r--r-- | 4.3 KB |
about.rst | -rw-r--r-- | 1.5 KB |
bugs.rst | -rw-r--r-- | 4.2 KB |
conf.py | -rw-r--r-- | 6.1 KB |
contents.rst | -rw-r--r-- | 538 bytes |
copyright.rst | -rw-r--r-- | 451 bytes |
docutils.conf | -rw-r--r-- | 56 bytes |
glossary.rst | -rw-r--r-- | 51.3 KB |
license.rst | -rw-r--r-- | 43.4 KB |
make.bat | -rw-r--r-- | 5.1 KB |
Computing file changes ...