-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Move iocpsupport to external dist #1446
Merged
graingert
merged 9 commits into
twisted:trunk
from
graingert:move-iocpsupport-to-external-dist
Oct 21, 2020
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f8eaeb7
move iocpsupport to external dist
graingert 8c4b9f5
raise the ImportError in test_iocp if we're running on windows
graingert 9872b09
Merge branch 'trunk' into move-iocpsupport-to-external-dist
graingert 20e4fca
add newsfragment
graingert acc2e85
iocpsupport needs to always be installed on windows
graingert 92c1d6a
Merge branch 'trunk' into move-iocpsupport-to-external-dist
graingert 9f26236
upgrade to twisted-iocpsupport v1.0.0
graingert 13aa597
add myself to contributors
graingert 00d4a1e
Merge branch 'trunk' into move-iocpsupport-to-external-dist
graingert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| __all__ = [ | ||
| "CompletionPort", | ||
| "Event", | ||
| "accept", | ||
| "connect", | ||
| "get_accept_addrs", | ||
| "have_connectex", | ||
| "makesockaddr", | ||
| "maxAddrLen", | ||
| "recv", | ||
| "recvfrom", | ||
| "send", | ||
| ] | ||
|
|
||
| from twisted_iocpsupport.iocpsupport import ( | ||
| CompletionPort, | ||
| Event, | ||
| accept, | ||
| connect, | ||
| get_accept_addrs, | ||
| have_connectex, | ||
| makesockaddr, | ||
| maxAddrLen, | ||
| recv, | ||
| recvfrom, | ||
| send, | ||
| ) | ||
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
src/twisted/internet/iocpreactor/iocpsupport/connectex.pxi
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have all this as
from twisted_iocpsupport import recv?And maybe add a deprecation so that in the future the code will import directly from twisted_iocpsupport and not from this redirection.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably worth doing https://github.com/asottile/reorder_python_imports everywhere in a followup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well.. in Twisted we have backward compatibility policy, so you can't remove something from the public namespace without a prior deprecation warning.
But I can create the deprecation part after this is merged.