This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年05月14日 12:00 by ncoghlan, last changed 2022年04月11日 14:57 by admin.
| Messages (3) | |||
|---|---|---|---|
| msg160609 - (view) | Author: Alyssa Coghlan (ncoghlan) * (Python committer) | Date: 2012年05月14日 12:00 | |
With PEP 415 accepted as the implementation of the "raise exc from None" syntax, it raises the prospect of exceptions with both __cause__ and __context__ set to non-None values, and __suppress_context__ set to False. The initial PEP 415 patch treats this case the same way PEP 409 did: it ignores __context__ if *either* __cause__ is not None *or* __suppress_context__ is True. This issue proposes that at least the default exception display routine and the display routine in the traceback module be updated to display the __context__ any time __suppress_context__ is False, even if __cause__ is also non-None. |
|||
| msg187446 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年04月20日 17:57 | |
And don't forget about print_exception() in Lib/idlelib/run.py. |
|||
| msg187451 - (view) | Author: Philip Jenvey (pjenvey) * (Python committer) | Date: 2013年04月20日 19:16 | |
and the code module (after #17442 is resolved) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:30 | admin | set | github: 59010 |
| 2013年04月20日 19:16:46 | pjenvey | set | nosy:
+ pjenvey messages: + msg187451 |
| 2013年04月20日 17:57:07 | serhiy.storchaka | set | nosy:
+ serhiy.storchaka messages: + msg187446 |
| 2013年04月19日 22:14:07 | isoschiz | set | nosy:
+ isoschiz |
| 2012年06月04日 23:20:08 | meador.inge | set | nosy:
+ meador.inge |
| 2012年05月15日 08:56:21 | poke | set | nosy:
+ poke |
| 2012年05月15日 02:38:48 | cvrebert | set | nosy:
+ cvrebert |
| 2012年05月15日 00:01:49 | Arfrever | set | nosy:
+ Arfrever |
| 2012年05月14日 12:12:23 | ncoghlan | set | dependencies: + improved PEP 409 implementation |
| 2012年05月14日 12:00:38 | ncoghlan | create | |