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 2015年12月02日 17:01 by yselivanov, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg255727 - (view) | Author: Yury Selivanov (yselivanov) * (Python committer) | Date: 2015年12月02日 17:01 | |
The below code blocks Python eval loop and makes it unresponsive to signals (like ^C). import reprlib try: raise RuntimeError except RuntimeError as ex: ex.__context__ = ex reprlib.repr(ex) |
|||
| msg255729 - (view) | Author: Yury Selivanov (yselivanov) * (Python committer) | Date: 2015年12月02日 17:12 | |
This isn't a bug of reprlib -- it's something in the core. Will create a separate issue for this. try: raise Exception except Exception as ex: ex.__context__ = ex hasattr(1, 'aa') |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:24 | admin | set | github: 69967 |
| 2015年12月02日 17:21:46 | oconnor663 | set | nosy:
+ oconnor663 |
| 2015年12月02日 17:14:19 | yselivanov | unlink | issue25779 superseder |
| 2015年12月02日 17:12:06 | yselivanov | set | status: open -> closed resolution: not a bug messages: + msg255729 |
| 2015年12月02日 17:03:22 | yselivanov | link | issue25779 superseder |
| 2015年12月02日 17:01:44 | yselivanov | create | |