New submission from Chris Seto:

When asyncio.coroutines._DEBUG is set to True all coroutines are wrapped in a 
CoroWrapper.
The definition of CoroWrapper.throw only excepts a single argument, exc.
It should accept an exception info tuple as returned from sys.exc_info just as 
normal generators do.

----------
components: asyncio
files: example.py
messages: 252942
nosy: Chris Seto, gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: CoroWrapper breaks gen.throw
type: crash
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40769/example.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25394>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to