Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-38314: Add is_reading() method to asyncio _UnixReadPipeTransport #17755

Open
wants to merge 4 commits into
base: master
from

Conversation

@callumquick
Copy link
Contributor

callumquick commented Dec 30, 2019

Unix read pipe (from Lib:asyncio.unix_events) is missing is_reading() method available for other read transports within the asyncio protocol, which checks that the transport read is not
paused or the transport is not closing.

This behaviour is documented in Doc/library/asyncio-protocol.rst.

Additional tests for the Lib:asyncio.unix_events module which check against the state of the pipe and the behaviour of is_reading(). New testing harness for functional testing of the UNIX pipe connection and associated methods, with an initial test for the new is_reading() implementation.

This is a fresh rebase PR, based on changes made in the original PR (#17042).

https://bugs.python.org/issue38314

Callum and others added 4 commits Nov 4, 2019
Unix read pipe is missing method available for other read transports
within the aynscio protocol, which checks that the transport read is not
paused or the transport is not closing.
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.