Brett Cannon added the comment:
LGTM
--
assignee: brett.cannon - serhiy.storchaka
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19720
___
Roundup Robot added the comment:
New changeset 2de3c659a979 by Serhiy Storchaka in branch 'default':
Issue #19720: Suppressed context for some exceptions in importlib.
https://hg.python.org/cpython/rev/2de3c659a979
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset 8f77f7bb46c7 by Serhiy Storchaka in branch 'default':
Issue #19720: Suppressed context for some exceptions in importlib.
https://hg.python.org/cpython/rev/8f77f7bb46c7
--
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19720
___
Serhiy Storchaka added the comment:
Sorry, 8f77f7bb46c7 is related to issue17293, not this issue. I have copied
wrong commit message from clipboard.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19720
Serhiy Storchaka added the comment:
Yes, suppressing context was introduced for such cases.
Here is a patch.
--
keywords: +patch
nosy: +serhiy.storchaka
stage: needs patch - patch review
Added file: http://bugs.python.org/file37226/importlib_suppress_context.patch
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19720
___
___
New submission from Eric Snow:
Some exceptions in importlib are raised from within except blocks, resulting in
chained tracebacks. [1] For at least some of these we should consider
suppressing the exception context.
For example (for [1]):
try:
path =