Message262386
I fixed warnings.formatwarning(). I don't expect the code to be perfect (Python shutdown process is complex and fragile), but the fix is quite simple and it's enough to fix the bug described in the initial message. I even added an unit test for it.
I didn't try to force when the __main__ module is unloaded, I didn't see any consensus around that.
Thanks for the bug report, it's now fixed ;-) Sorry for the delay. We had to fix a million of other subtle issues to make the Python shutdown process and the stdlib stronger. |
|
Date |
User |
Action |
Args |
2016-03-24 23:37:36 | vstinner | set | recipients:
+ vstinner, pitrou, ned.deily, Arfrever, python-dev, serhiy.storchaka, msmhrt |
2016-03-24 23:37:36 | vstinner | set | messageid: <1458862656.61.0.263711871648.issue21925@psf.upfronthosting.co.za> |
2016-03-24 23:37:36 | vstinner | link | issue21925 messages |
2016-03-24 23:37:36 | vstinner | create | |
|