python / asyncio

asyncio historical repository
https://docs.python.org/3/library/asyncio.html
1.04k stars 177 forks source link

Migrating from python 3.4 to 3.5 error #498

Open grigorcligan opened 7 years ago

grigorcligan commented 7 years ago

Is everything good here? http://stackoverflow.com/questions/42546099/python-asyncio-migrate-from-3-4-to-3-5

I met the problem while migrating my script from python 3.4 to 3.5 or 3.6+. It uses asyncio and works good on 3.4 python but when I start it with python3.5+ I got error: RuntimeError: Cannot run the event loop while another loop is running.

zabisky commented 7 years ago

it seams this is the same bug: https://github.com/python/asyncio/pull/497