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

Remove _connDone parameter from FileDescriptor.loseConnection() #1292

Merged
merged 3 commits into from
Jun 16, 2020

Conversation

rodrigc
Copy link
Contributor

@rodrigc rodrigc commented Jun 16, 2020

https://twistedmatrix.com/trac/ticket/9849

The signature of FileDescriptor.loseConnection() was modified here:
081d393

I think extending that signature was wrong, since it doesn't match the base class signature of that method.

This is needed to make the loseConnection() match the signature
in the baseclass ConnectionMixin.
@rodrigc rodrigc requested review from a team and mthuurne June 16, 2020 17:58
Copy link
Member

@adiroiban adiroiban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@rodrigc rodrigc requested a review from a team June 16, 2020 22:12
@rodrigc rodrigc merged commit a0754eb into trunk Jun 16, 2020
@rodrigc rodrigc deleted the 9849-rodrigc-loseconnection-mypy branch June 16, 2020 23:14
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.

None yet

2 participants