-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
bpo-31647: Fix write_eof() after close() for SelectorSocketTransport #7149
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
Conversation
Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's already closed raises AttributeError.
Added a test case for calling write_eof() after close() on _SelectorSocketTransport.
|
Whoooooooops. Fat finger, I wrote the issue number wrong. (facepalm) The correct number is bpo-31647. I have corrected the title. I see there's an issue number tag in the first comment, should I edit that one as well? Are there too much bot magic here that I should simply close this PR and make a new one? |
|
Thanks @twisteroidambassador for the PR, and @1st1 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
|
Thanks @twisteroidambassador! |
…ythonGH-7149) Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's already closed raises AttributeError. (cherry picked from commit 23f587e) Co-authored-by: twisteroid ambassador <[email protected]>
|
GH-7153 is a backport of this pull request to the 3.7 branch. |
…ythonGH-7149) Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's already closed raises AttributeError. (cherry picked from commit 23f587e) Co-authored-by: twisteroid ambassador <[email protected]>
|
GH-7154 is a backport of this pull request to the 3.6 branch. |
…H-7149) (GH-7153) Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's already closed raises AttributeError. (cherry picked from commit 23f587e) Co-authored-by: twisteroid ambassador <[email protected]>
…H-7149) (#7154) Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's already closed raises AttributeError. (cherry picked from commit 23f587e) Co-authored-by: twisteroid ambassador <[email protected]>
Fixed bug where calling write_eof() on a _SelectorSocketTransport after
it's already closed raises AttributeError. Also added a test case for this behavior.
https://bugs.python.org/issue31647