Message248353
Attached test.py hangs with the following output when run with PYTHONASYNCIODEBUG1= and -Wdefault.
DEBUG:asyncio:Using selector: EpollSelector
DEBUG:asyncio:run shell command 'sleep 2'
DEBUG:asyncio:process 'sleep 2' created: pid 13801
INFO:asyncio:run shell command 'sleep 2': <_UnixSubprocessTransport pid=13801 running>
After i Ctrl-C it, i see the following traceback (paths edited)
^CTraceback (most recent call last):
File "/chetan/test.py", line 17, in <module>
main()
File "/chetan/test.py", line 12, in main
result =loop.run_until_complete(sleepWithShell(loop))
File "/Python-3.5.0b4-clang/lib/python3.5/asyncio/base_events.py", line 329, in run_until_complete
self.run_forever()
File "/Python-3.5.0b4-clang/lib/python3.5/asyncio/base_events.py", line 300, in run_forever
self._run_once()
File "/Python-3.5.0b4-clang/lib/python3.5/asyncio/base_events.py", line 1142, in _run_once
event_list = self._selector.select(timeout)
File "/Python-3.5.0b4-clang/lib/python3.5/selectors.py", line 432, in select
fd_event_list = self._epoll.poll(timeout, max_ev)
KeyboardInterrupt
/Python-3.5.0b4-clang/lib/python3.5/asyncio/base_subprocess.py:117: ResourceWarning: unclosed transport <_UnixSubprocessTransport pid=13801 running>
/Python-3.5.0b4-clang/lib/python3.5/asyncio/base_events.py:384: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=True>
DEBUG:asyncio:Close <_UnixSelectorEventLoop running=False closed=False debug=True> |
|
Date |
User |
Action |
Args |
2015-08-10 09:30:38 | chetan | set | recipients:
+ chetan, gvanrossum, vstinner, yselivanov |
2015-08-10 09:30:38 | chetan | set | messageid: <1439199038.24.0.690620901041.issue24837@psf.upfronthosting.co.za> |
2015-08-10 09:30:37 | chetan | link | issue24837 messages |
2015-08-10 09:30:36 | chetan | create | |
|