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 <rep...@bugs.python.org> <http://bugs.python.org/issue28893> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com