[issue24837] await process.wait() does not work with a new_event_loop

2015-08-10 Thread Chetan Reddy
New submission from Chetan Reddy: 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 IN

[issue23548] TypeError in event loop finalizer, new in Python 3.4.3

2015-08-08 Thread Chetan Reddy
Chetan Reddy added the comment: Disregard my previous comment. I realize now that I shouldn't be calling run_until_complete in a library function because it will fail if the user had already started running the event loop. I will attempt to use a create and use a new event loop in my li

[issue23548] TypeError in event loop finalizer, new in Python 3.4.3

2015-08-08 Thread Chetan Reddy
Chetan Reddy added the comment: I'm seeing the same exception as op with Python-3.5.0b4. I'm writing a function in a library, and am using asyncio to make my function run faster. I'd like my library function to be useful even to users who aren't using asyncio and