This repository was archived by the owner on Nov 23, 2017. It is now read-only.
Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork178
Python#500
Open
itsmekarthikreddy wants to merge1,537 commits intopython:redirectChoose a base branch fromjamadden:trollius
base:redirect
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Open
Python#500
Changes from1 commit
Commits
Show all changes
1537 commits Select commitHold shift + click to select a range
de9990e
Fix BaseSubprocessTransport._kill_wait()
vstinner233af8c
cleanup BaseSelectorEventLoop
vstinnered21baf
TestLoop.close() now calls the close() method of the parent class (Ba…
vstinner158f621
Fix BaseSubprocessTransport.close()
vstinnerd5cc030
_ProactorBasePipeTransport now sets _sock to None when the transport …
vstinnerf2e08a0
Fix BaseEventLoop._create_connection_transport()
vstinner58d27b7
Fix test_events on Python older than 3.5
vstinner20a103c
PipeHandle now uses None instead of -1 for a closed handle
vstinner47152d6
StreamWriter: close() now clears the reference to the transport
vstinner1da6e1d
Python issue #22560: Fix SSLProtocol._on_handshake_complete()
vstinner3ce21be
Python issue #23242: SubprocessStreamProtocol now closes the subprocess
vstinner8addd76
SSLProtocol: set the _transport attribute in the constructor
vstinner693fa4b
Python issue #23243: Fix _UnixWritePipeTransport.close()
vstinnerae6f24c
Python issue #23243: Close explicitly event loops in tests
vstinnereba6a46
Python issue #23243: Close explicitly transports in tests
vstinnerd9de03a
Fix _ProactorBasePipeTransport.__repr__()
vstinner873bc97
Fix _ProactorBasePipeTransport.close()
vstinnerf9c91e5
Close the transport on subprocess creation failure
vstinnercf01d42
Close transports in tests
vstinner408fbab
Python issue #23219: cancelling wait_for() now cancels the task
vstinner416f59d
Backout changeset 3a06020af8cf
vstinnere87e26f
Issue #22685: Fix test_pause_reading() of test_subprocess
vstinner21192c4
Cleanup BaseEventLoop._create_connection_transport()
vstinner777da23
tox.ini: fix comment
vstinner346737d
runtests.py: rephrase the message mentionning randomization of tests
vstinnerad1724a
release.py: fix typo
vstinner2b5becd
tests: Remove unused function; inline another function
vstinner3c0eabf
Enhance BaseProactorEventLoop._loop_self_reading()
vstinnerc3a18fd
pyflakes: remove unused import
vstinnerf1fbd1e
test_selectors: use asyncio.test_support if test.support is missing
vstinner5500000
Python issue #23095: Rewrite _WaitHandleFuture.cancel()
vstinner0bb6858
BaseEventLoop._create_connection_transport() catchs any exception, no…
vstinnerae97759
Python issue #23095: IocpProactor.close() must not cancel pending
vstinner2fe68a3
IocpProactor.close(): don't cancel futures which are already cancelled
vstinnerbb31eae
release.py: Fix help
vstinner8f386cd
Python issue #23293: Rewrite IocpProactor.connect_pipe()
vstinner8b4b4f1
Tulip issue #204: Fix IocpProactor.accept_pipe()
vstinner995e2c1
Close transports on error
vstinneradc9c3e
Python issue #23293: Cleanup IocpProactor.close()
vstinner86bbe9e
Tulip issue #219: Fix comments in simple_tcp_server.py example
vstinnera4aa7c1
Tulip issue #220: Merge JoinableQueue with Queue.
ajdavisdc19c32
Docstring for Queue.join shouldn't mention threads.
ajdavis684f3be
Python issue #23208: Add BaseEventLoop._current_handle
vstinnerfebe4cb
Fix ProactorEventLoop.start_serving_pipe()
vstinner4945c1a
PipeHandle.fileno() now raises an exception if the pipe is closed
vstinner34214f4
Python issue #23293: Rewrite IocpProactor.connect_pipe() as a coroutine
vstinner09f7de1
Python issue #23095: Fix _WaitHandleFuture.cancel()
vstinner29487bb
Tulip issue #204: Fix IocpProactor.recv()
vstinner54faf33
_overlapped.ConnectPipe(): release the GIL
vstinnerf1774fc
Python issue #23208: Don't use the traceback of the current handle if we
vstinner8343733
test_sslproto: skip test if ssl module is missing
vstinnerfdd3d9b
Remove unused SSLProtocol._closing attribute
vstinner63d8fc1
Fix SSLProtocol.eof_received()
vstinneraed248b
SSL transports now clear their reference to the waiter
vstinnerc560003
Fix _SelectorSocketTransport constructor
vstinner74a3c25
BaseSubprocessTransport._kill_wait() now also call close()
vstinner2c89c71
Fix _SelectorDatagramTransport constructor
vstinner1162bf2
_SelectorTransport constructor: extra parameter is now optional
vstinner7a46eda
Fix _SelectorSslTransport.close()
vstinnerc662822
Cleanup gather(): use cancelled() method instead of using private Future
vstinner5fe382d
Fix _UnixReadPipeTransport and _UnixWritePipeTransport
vstinner59fcee2
Fix BaseSelectorEventLoop._accept_connection()
vstinner93a4cf4
Document Protocol state machine
vstinner2b0f274
Python issue #23243: test_sslproto: Close explicitly transports
vstinner241c710
Python issue #23243: On Python 3.4 and newer, emit a ResourceWarning …
vstinnerc92da15
Python issue #23347: Refactor creation of subprocess transports
vstinner2e187bb
Python issue #23347: send_signal(), kill() and terminate() methods of
vstinnercffe67d
tox.ini: enable ResourceWarning warnings
vstinner787b494
Fix ResourceWarning in test_subprocess.test_proc_exit()
vstinnerd37a906
Python issue #23347: Make BaseSubprocessTransport.wait() private
vstinner6c7490e
Python issue #23347: send_signal(), terminate(), kill() don't check i…
vstinnerab5d83c
Fix a ResourceWarning in the shell example
vstinnereec5196
Fix subprocess_attach_write_pipe example
vstinneraeb1824
Workaround CPython bug #23353
vstinnerb9d3799
Tulip issue #221: Fix docstring of QueueEmpty and QueueFull
vstinnerd3dbdf8
BaseSelectorEventLoop uses directly the private _debug attribute
vstinner0105a8f
Only call _check_resolved_address() in debug mode
vstinner7b2d8ab
BaseEventLoop: rename _owner to _thread_id
vstinnerd496a7e
BaseSubprocessTransport.close() doesn't try to kill the process if it…
vstinner10a91fe
BaseSubprocessTransport: repr() mentions when the child process is ru…
vstinnerd9c50eb
Tulip issue #220: Restore JoinableQueue as a deprecated alias for Queue.
ajdavis716ef6c
Merge branch remove-joinable-queue.
ajdavisb60bad4
tests: Use os.devnull instead of hardcoded '/dev/null'.
vstinnerc18c4d0
Python issue #23475: Fix test_close_kill_running()
vstinnere147802
Fix warning in test_close_kill_running()
vstinner8049625
Python issue #23537: Remove 2 unused private methods of BaseSubproces…
vstinner22a9854
Added tag 3.4.3 for changeset 122233297cfd
vstinnerf04f680
Set version to 3.4.4
vstinnere0bf949
Write Tulip 3.4.3 changelog
vstinner26c6fed
Fix repr(BaseSubprocessTransport) if it didn't start yet
vstinner16b3121
Python issue #23456: Add missing @coroutine decorators
vstinner15a569d
Fix _SelectorTransport.__repr__() if the event loop is closed
vstinnerb26e6ae
Python issue #23879: SelectorEventLoop.sock_connect() must not call c…
vstinnerbf4b2ce
Rename README file to have rst render on Github
ludovic-gasc1888b1d
Switch hgignore and hgeol to git equivalents
asvetlov3582e11
Merge pull request #224 from Eyepea/readme_improvement
asvetlov30f4788
add in .gitignore pyvenv and Pycharm files
ludovic-gasc4f9099e
Merge pull request #225 from Eyepea/add_pycharm_in_gitignore
asvetlov173ff86
Update README.rst
asvetlovb08ee40
Fix @coroutine for functions without __name__
vstinner7718675
#230: Change official URL from tulip to asyncio in README.rst
ludovic-gasca943b49
Test LifoQueue's and PriorityQueue's put() and task_done().
ajdavise496c7c
Fix LifoQueue's and PriorityQueue's put() and task_done().
ajdavisbcb7ec4
Merge pull request #236 from ajdavis/queue-join-fix
gvanrossum70d8856
Fix queue join tests for CPython's test runner.
ajdaviscd10ff2
Merge pull request #237 from ajdavis/update-queue-join-tests
gvanrossumb516e80
Merge pull request #231 from haypo/issue_222
gvanrossum2798fb4
Rename the function arg to run_in_executor() to "func" to avoid confu…
71f7c24
Add new loop APIs: set_task_factory() and get_task_factory()
1st10f50393
Sync script_helper import with CPython
1st12659599
Make sure that CPython 3.4 and older will import script_helper
1st11181bc1
Fix script_helper imports for 3.4
1st153edb85
Deprecate async() function in favour of ensure_future()
1st16c6a5e4
Use DeprecationWarning for async()
1st1e3216b8
Enable Travis-CI integration
1st136e7141
Support PEP 492 native coroutines.
1st1f24ba38
Make sure sys.set_coroutine_wrapper is called *only* when loop is run…
1st16ac55b2
Enable 'async for' for StreamReader, 'async with' for locks in 3.5.
1st13a09a93
Use collections.abc.Coroutine for asyncio.iscoroutine() when available.
1st1fed8618
tasks: Drop useless code.
1st1755806f
Support Awaitables (pep 492) in @coroutine decorator
1st17baef9d
coroutines: Fix CoroWrapper to support native coroutines
1st1eff4672
Sync with CPython.
1st183ac3b8
Fix CoroWrapper for 'async def' coroutines
1st132a303e
Fix regression in 83ac3b8 (failed unittests in debug mode)
1st1e802f17
coroutines: Proxy cr_await and gi_yieldfrom in CoroWrapper
1st1728a912
Rerite README
vstinner1975461
rename asyncio/ directory to trollius/
vstinnerccafbc0
Replace asyncio with trollius in code and config
vstinnera01f3f4
Add compatibility files from old trollius project
vstinnera474950
Port asyncio to Python 2, trollius/ directory
vstinner6d516e5
Port asyncio to Python 2, tests/ directory
vstinnerd8b296d
Add documentation
vstinner26a3183
add test_asyncio.py
vstinner603a58e
Port asyncio to Python 2, examples/ directory
vstinner22df34e
Add interop_asyncio.py example
vstinner962dea8
copy files from trollius
vstinner3d64966
replace update_stdlib with update-tulip
vstinnerf09e57b
Port overlapped.c
vstinner2fd3bf4
Port remaining files
vstinnerfa09379
Add TODO.rst from Trollius
vstinnere6e6e0a
use releaser
vstinner3590610
remove asyncio changelog
vstinner7104694
Fix Python 3.4 issues
vstinner14d618e
Python 2.7 fixes
vstinner352b8ce
Fixes for Python 2.6
vstinner94fa7e2
tox.ini: fix py2_release
vstinner03a4d4d
pick README from trollius
vstinner6f52fbf
README: replace Tulip with asyncio
vstinnerfe673cc
replace Tulip with asyncio
vstinnerc335bfe
queues.py: import coroutine from .coroutines
vstinnerf5ae096
Replace Tulip with asyncio in test comments
vstinner46c187a
replace tulip with asyncio
vstinner30f5c84
Merge branch 'master' into trollius
vstinner67bf1da
update doc for unittest2
vstinner4c6a4e1
Fix import on windows
vstinnerd15529b
get unittest from trollius.test_utils
vstinnerd735bba
fix import
vstinnere752c82
getaddrinfo() doesn't support keywords on Python 2
vstinner170c465
subprocess.Popen doesn't support context manager on Python 2
vstinnerf751a25
Fix PipeHandle.__del__ on Python 2
vstinner3acc9d0
fix test_events on python 3.4.0 and 3.4.1
vstinner3b6a64a
Add asyncio.compat module
vstinnera3bce3b
Merge pull request #254 from haypo/compat
vstinner1f85dc7
Issue #234: Drop JoinableQueue on Python 3.5+
vstinner53a8e99
port update-tulip-step1.sh to git+github
vstinner05e99d6
rename update-tulip...sh scripts to update-asyncio-...sh
vstinnercfcc3c0
update scripts to git
vstinnerfe8894a
rename compat.py to be able to merge asyncio
vstinner61199a4
enhance git merge
vstinner16b46b3
Merge asyncio into trollius
vstinner53bf283
don't commit in update-asyncio-step3.sh
vstinner2173eee
fix 2.6 compat
vstinnere82d8c6
Fix Python 3.2 compat
vstinner1ade799
Test without ssl or without concurrent
vstinnerb5e33de
Enable warnings to see ResourceWarning on Python 3
vstinner05ecc3c
update doc
vstinnerb4f24c2
cleanup changelog
vstinner14bdbc0
changelog: summary
vstinner242222f
Fix sslproto when ssl is not available
vstinner4a3cad7
Fix TestCase.tearDown() for skipped tests
vstinner5d4fcb5
prepare release 2.0
vstinner5e9854d
update release procedure
vstinner306b7b2
post-release: set version to 2.0.1
vstinner9414da1
test_utils.py: remove assertRaisesRegex
vstinnera0bad46
update TODO list
vstinnerd444158
Use the six module
vstinnerce3ad81
Return True from StreamReader.eof_received() to fix
d9d8881
setup.py: don't use bdist_wheel
vstinnerd1630dc
doc: add libraries
vstinnerb13b14a
fix test_utils: add missing "import six"
vstinnerf25cb29
fix windows_utils: add missing "import six"
vstinner9bb6743
remove unused imports
vstinnerce41fba
Fix ResourceWarning warnings in test_streams
vstinner5eac181
Fix ResourceWarning in BaseSubprocessTransport
vstinner4f45ac7
Use compat.PY34
vstinner4851618
tasks: Fix code style
1st151a3206
Revert "tasks: Fix code style"
1st127f3499
Use '==' operator instead of 'is'
1st15d71b68
Run asyncio with python nightly builds too on travis
1st11dd213e
Merge PR #256: fix issue23812 of queues loosing items on cancellation
1st1f57cfc6
Make sure BaseException is re-raised in SSLProtocol
1st1f411181
queues: Fix getter-cancellation with many pending getters code path
1st1f3ed6c3
Fix asyncio tests on windows
1st18d79c57
Fix Task.get_stask() for 'async def' coroutines
1st10727ad2
Merge asyncio into trollius
vstinnerf285592
better exception traceback
5388ec1
Merge pull request #5 from imkin/trollius
vstinner056a394
fix test on py2 win32
mindwb335213
ignore inline built extensions
mindwe22a30b
Fix Future on Python 3.5
vstinnere1a4ed9
document change on exception
vstinnera8b8ad4
Drop support of Python 2.6 and 3.2
vstinner9fb2a3d
Ugly hack to support Python 3.5 with the PEP 479
vstinnerf7a315a
Fix CoroWrapper.throw()
vstinner985e789
Merge pull request #6 from mindw/fix_win32_test
vstinner5641f31
document the win32 fix
vstinner2c7f6ac
set version to 2.1
vstinner98ba7f8
Deprecate Trollius
vstinnerdc11b97
post-release: set version to 2.2
vstinner907fac4
From(proc.wait()) instead of form proc.wait()
pavan123k20544a6
Convert readthedocs link for their .org -> .io migration for hosted p…
a72d9fe
Merge pull request #9 from pavan123k/patch-1
vstinner0ce9dcb
Merge pull request #11 from adamchainz/readthedocs.io
vstinner3d8e1db
Update GitHub URL
vstinnerb4bacc0
trollius.readthedocs.io has been removed
vstinnerc6c8641
Remove aiotest tests
vstinner97c56f0
Add "No Maintenance Intended" badge
vstinnerfa13a1c
Prepare 2.2 release
vstinner30d9760
post release: set version to 2.3
vstinner479788f
README: add deprecation warning
vstinner6d0a877
Add appveyor.yml from https://github.com/vstinner/trollius/pull/13/files
jamaddencd16267
Metadata updates.
jamadden439637d
Copy logic from gevent to install pypy.
jamadden1a76339
Use right executable for pypy
jamadden85e055d
No really.
jamadden6b843ec
Nope, drop PyPy: It does not actually build.
jamaddena692f5a
Tweaking versions.
jamadden65e0c60
add missing metadata.
jamadden44ce7ec
Preparing release 2.2.post1
jamadden2585726
Back to development: 2.2.post2
jamadden2aeeb23
Add Development Status :: 7 - Inactive classifier.
jamaddena74449a
Make socket.error with errno EBADF get raised as OSError.
jamaddenc6af107
Merge pull request #18 from jamadden/issue17
jamaddene60f33a
Update changelog.
jamadden284b318
Preparing release 2.2.1
jamadden007602e
Back to development: 2.2.2
jamadden41951a2
Merge branch '2.2' into trollius
jamadden5f541ea
Temporarily playing with tags to get appveyor wheels.
jamadden2df073c
Revert.
jamaddenFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Issue #22685: Fix test_pause_reading() of test_subprocess
Override the connect_read_pipe() method of the loop to mock immediatlypause_reading() and resume_reading() methods.The test failed randomly on FreeBSD 9 buildbot and on Windows using trollius.
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commite87e26f866e407c1a82639f0d6c1424efafc346f
There are no files selected for viewing
14 changes: 12 additions & 2 deletionstests/test_subprocess.py
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.