Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: This issue looks unrelated to issue25538.
PR 6352 improves error messages without changing bytecode. It is so simple that could be backported to 3.7 if Ned approves this. But it conflicts with issue32949. This way will not work after merging any of current issue32949 PRs. We will have to find other way for issue32949. ---------- nosy: +Mark.Shannon, ned.deily, serhiy.storchaka superseder: Traceback from __exit__ method is misleading -> _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue29922> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com