Serhiy Storchaka added the comment:

I tried to set last_type, last_value and last_traceback to None at startup, and 
this also fixes a crash. But this changes behavior (these attributes became 
set), and deleting them doesn't guaranties that following setting will be 
successful, especially with new compact dict implementation.

----------
Added file: http://bugs.python.org/file46986/set-last-exception.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30817>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to