Staging
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
Raw File
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)
Tip revision: 8fa398d
.gitattributes
# Binary data types
*.aif binary
*.aifc binary
*.aiff binary
*.au binary
*.bmp binary
*.exe binary
*.icns binary
*.gif binary
*.ico binary
*.jpg binary
*.pck binary
*.png binary
*.psd binary
*.tar binary
*.wav binary
*.whl binary
*.zip binary

# Specific binary files
Lib/test/sndhdrdata/sndhdr.* binary

# Text files that should not be subject to eol conversion
Lib/test/cjkencodings/* -text
Lib/test/decimaltestdata/*.decTest -text
Lib/test/test_email/data/*.txt -text
Lib/test/xmltestdata/* -text
Lib/test/coding20731.py -text
Lib/test/test_importlib/data01/* -text

# CRLF files
*.bat text eol=crlf
*.ps1 text eol=crlf
*.sln text eol=crlf
*.vcxproj* text eol=crlf
*.props text eol=crlf
*.proj text eol=crlf
PCbuild/readme.txt text eol=crlf
PC/readme.txt text eol=crlf
back to top