Skip to content

Conversation

@twisteroidambassador
Copy link
Contributor

@twisteroidambassador twisteroidambassador commented May 28, 2018

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

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.
@twisteroidambassador twisteroidambassador changed the title bpo-31467: Fix write_eof() after close() for SelectorSocketTransport bpo-31647: Fix write_eof() after close() for SelectorSocketTransport May 28, 2018
@twisteroidambassador
Copy link
Contributor Author

twisteroidambassador commented May 28, 2018

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?

@miss-islington
Copy link
Contributor

Thanks @twisteroidambassador for the PR, and @1st1 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

@1st1
Copy link
Member

1st1 commented May 28, 2018

Thanks @twisteroidambassador!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 28, 2018
…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]>
@bedevere-bot
Copy link

GH-7153 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 28, 2018
…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]>
@bedevere-bot
Copy link

GH-7154 is a backport of this pull request to the 3.6 branch.

1st1 pushed a commit that referenced this pull request May 28, 2018
…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]>
1st1 pushed a commit that referenced this pull request May 28, 2018
…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]>
@twisteroidambassador twisteroidambassador deleted the bpo31467 branch May 29, 2018 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants