Message233237
| Author |
xdegaye |
| Recipients |
giampaolo.rodola, gvanrossum, pitrou, vstinner, xdegaye, yselivanov |
| Date |
2014年12月31日.09:56:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1420019773.34.0.176587493323.issue23140@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The attached test_cancel.py script prints the following error:
Exception in callback SubprocessStreamProtocol.process_exited()
handle: <Handle SubprocessStreamProtocol.process_exited() created at Lib/asyncio/base_subprocess.py:130>
source_traceback: Object created at (most recent call last):
File "test_cancel.py", line 37, in <module>
loop.run_until_complete(main_task)
File "Lib/asyncio/base_events.py", line 286, in run_until_complete
self.run_forever()
File "Lib/asyncio/base_events.py", line 258, in run_forever
self._run_once()
File "Lib/asyncio/base_events.py", line 1102, in _run_once
handle._run()
File "Lib/asyncio/events.py", line 120, in _run
self._callback(*self._args)
File "Lib/asyncio/base_subprocess.py", line 146, in _process_exited
self._call(self._protocol.process_exited)
File "Lib/asyncio/base_subprocess.py", line 130, in _call
self._loop.call_soon(cb, *data)
Traceback (most recent call last):
File "Lib/asyncio/events.py", line 120, in _run
self._callback(*self._args)
File "Lib/asyncio/subprocess.py", line 99, in process_exited
waiter.set_result(returncode)
File "Lib/asyncio/futures.py", line 338, in set_result
raise InvalidStateError('{}: {!r}'.format(self._state, self))
asyncio.futures.InvalidStateError: CANCELLED: <Future cancelled created at Lib/asyncio/subprocess.py:126> |
|