-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
bpo-36889: Merge asyncio streams #13251
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
1ba375b
Merge StreamReader and StreamWriter
asvetlov 1af2238
Merge StreamReader and StreamWriter
asvetlov d0543a5
Work on
asvetlov b3cf11c
Work on
asvetlov b059fd9
...
asvetlov d5c3391
...
asvetlov 89d097d
Merge branch 'master' into merge-streams
asvetlov abce39c
../..
asvetlov 0c8e8af
Fix tests
asvetlov e0a54d0
kind -> mode
asvetlov a632339
Fix streams
asvetlov 97641eb
Convert subprocess to use Stream instead of StreamReader/StreamWriter
asvetlov 962495b
Reimplement deprecation strategy
asvetlov 0ec17ed
Disallow asyncio.StreamReaderProtocol usage outside of asyncio package
asvetlov 77bf0e4
Fix test___all__
asvetlov f46854f
Don't expose asyncio.StreamReaderProtocol
asvetlov 13f1430
Ignore warning registry in test___all__
asvetlov a1bf0b7
Support close on stdout/stderr
asvetlov 062b570
Fix Windows
asvetlov ec24c70
make patchcheck
asvetlov a45bdca
8000
Fix import names
asvetlov 5cc3107
Fix typo
asvetlov 1d2cf87
Add NEWS
asvetlov d2f91c1
Split StreamReaderProtocol into _StreamProtocol and _ServerStreamProt…
asvetlov 7bc248e
Replace Enum with Flag
asvetlov 6270289
Add tests for stream mode
asvetlov f04352b
Create a server stream in protocol.connection_made()
asvetlov e92a1ec
Merge branch 'master' into merge-streams
asvetlov e848308
Merge branch 'master' into merge-streams
asvetlov 958111a
Merge branch 'master' into merge-streams
asvetlov 2cc72b8
Add conntect method
asvetlov 7148c6f
Merge branch 'master' into merge-streams
asvetlov e7fcb06
Work on
asvetlov 775860f
Sketch StreamServer class
asvetlov 75421d7
Work on
asvetlov 7d11e4f
Fix stream test
asvetlov 03cc501
Test cleanup
asvetlov 30b1cb6
Merge branch 'master' into merge-streams
asvetlov ca7f479
Add unix server test
asvetlov 7ff3b9f
Add tests for server.bind()
asvetlov a34bbed
Rename private method
asvetlov 9486196
More tests
asvetlov 4a4a2e0
More tests
asvetlov 414939b
Drop low-level server early
asvetlov c62b8b4
More tests
asvetlov b84cf84
Add more tests
asvetlov e233c06
Merge branch 'master' into merge-streams
asvetlov f4572c8
Forbid stream servers inheritance
asvetlov 37a2949
Add tests for stream sendfile
asvetlov c73ddfd
Add start_tls method
asvetlov 3f9bc91
served_names() -> addresses()
asvetlov 7eca1fc
Drop obsolete TODOs
asvetlov ab41dd6
Drop redundant TODO
asvetlov 1716e92
Add test for stream.is_server_side()
asvetlov 6a41b1f
Polish
asvetlov 774e9f1
Fix imports
asvetlov c54f64b
Fix inheritance error
asvetlov efcb326
Update Lib/asyncio/streams.py
asvetlov 066d317
Update Lib/asyncio/streams.py
asvetlov b64c9af
Update Lib/asyncio/streams.py
asvetlov 12e4f07
Make client_connected_cb positional-only
asvetlov d68f728
Merge branch 'merge-streams' of github.com:asvetlov/cpython into merg…
asvetlov 035cf3f
addresses -> listeners
asvetlov 9acd1a2
Revert back StreamReader and StreamWriter
asvetlov 25d59fe
Fix exception names
asvetlov e076498
Deprecate old streams
asvetlov ef44960
Fix tests
asvetlov 6dbe705
Merge branch 'merge-streams' of github.com:asvetlov/cpython into merg…
asvetlov 504ea78
Process deprecated StreamReader and StreamWriter in test_all
asvetlov c1cc242
Deprecate StreamReaderProtocol import
asvetlov fd2a6eb
Fix module name
asvetlov b6fbc9f
Suppress deprecation warnings
asvetlov c190c72
Fix another warning
asvetlov d80cb9c
listeners -> sockets
asvetlov dcc3353
Merge branch 'master' into merge-streams
asvetlov 1ae7d8d
Add repr
asvetlov 9d34da8
Fix comment
asvetlov d0c9ada
Fix comment
asvetlov af5f27e
Implement async with stream: ...
asvetlov a734f06
_low_server -> _server_impl
asvetlov e01b394
Support async with asyncio.connect(): ...
asvetlov 0ef2195
Use _OptionalAwait
asvetlov b533f5d
Merge branch 'master' into merge-streams
asvetlov 75804f6
Imprement connect_read_pipe and connect_write_pipe stream factories
asvetlov 476de4e
Update Lib/asyncio/streams.py
asvetlov 2d874c7
Update Lib/asyncio/streams.py
asvetlov d5c207b
Fix notes
asvetlov 30bdbe2
Merge branch 'merge-streams' of github.com:asvetlov/cpython into merg…
asvetlov 0521b1f
Return _OptionalAwait from stream.close()
asvetlov 5b4b7fd
Make _check_read() and _check_write() top-level functions
asvetlov 567f154
Return empty tuple instead of list if StreamServer.sockets is empty
asvetlov 8cf6bf1
Rename private helpers
asvetlov 217ea19
Merge branch 'master' into merge-streams
asvetlov 99f4839
Make more detailed NEWS
asvetlov 4ac5ce1
Fix tests
asvetlov 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
Drop obsolete TODOs
- Loading branch information
commit 7eca1fc76af3ac814fcf2c2dc09460891a73963c
There are no files selected for viewing
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.