[issue25394] CoroWrapper breaks gen.throw

2017-11-30 Thread STINNER Victor
STINNER Victor added the comment: Sadly, Python 3.5 doesn't accept bugfixes anymore (only security fixes), so I close this issue. Happy to read that a bug was fixed in Python 3.6 ;-) FYI the fix was copied from the GitHub asyncio project to CPython in the commit e3c65a7a228a5808a7af48a47fdd7

[issue25394] CoroWrapper breaks gen.throw

2017-11-30 Thread Mike Nerone
Mike Nerone added the comment: This was fixed in Python 3.6. See https://github.com/python/asyncio/issues/429 -- nosy: +Manganeez ___ Python tracker ___ ___

[issue25394] CoroWrapper breaks gen.throw

2015-10-13 Thread Chris Seto
Changes by Chris Seto : -- keywords: +patch Added file: http://bugs.python.org/file40770/corowrapper.diff ___ Python tracker ___ ___ P

[issue25394] CoroWrapper breaks gen.throw

2015-10-13 Thread Chris Seto
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