[issue19720] suppress context for some exceptions in importlib?

2014-11-21 Thread Brett Cannon
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 ___

[issue19720] suppress context for some exceptions in importlib?

2014-11-21 Thread Roundup Robot
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

[issue19720] suppress context for some exceptions in importlib?

2014-11-21 Thread Roundup Robot
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

[issue19720] suppress context for some exceptions in importlib?

2014-11-21 Thread Serhiy Storchaka
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 ___

[issue19720] suppress context for some exceptions in importlib?

2014-11-21 Thread Serhiy Storchaka
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

[issue19720] suppress context for some exceptions in importlib?

2014-11-19 Thread Serhiy Storchaka
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

[issue19720] suppress context for some exceptions in importlib?

2014-11-19 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19720 ___ ___

[issue19720] suppress context for some exceptions in importlib?

2013-11-22 Thread Eric Snow
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 =