[New-bugs-announce] [issue28893] Make sure exceptions raised in __aiter__ are properly chained in ceval

Yury Selivanov report at bugs.python.org
Tue Dec 6 23:41:33 EST 2016


New submission from Yury Selivanov:

Originally reported in http://bugs.python.org/issue28885#msg282538

Ned, please take a look at the attached patch.  While I think that the change is quite small & safe to merge, I think it's OK if we push this only in 3.6.1.  It's a nice usability improvement, but only for people that implement objects with custom __await__, which is quite a rare case.

----------
assignee: yselivanov
components: Interpreter Core
files: chain.patch
keywords: patch
messages: 282595
nosy: brett.cannon, haypo, ned.deily, serhiy.storchaka, yselivanov
priority: normal
severity: normal
stage: patch review
status: open
title: Make sure exceptions raised in __aiter__ are properly chained in ceval
type: behavior
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45782/chain.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28893>
_______________________________________


More information about the New-bugs-announce mailing list