Message98708
Here's a patch that fixes the problem for shelve. For the more general problem with Python shutdown and module cleanup, see issue 812369.
I can come up with a sort-of unit test for this (setting _ClosedDict to None, calling close to prove it doesn't generate an error, and restoring _CloseDict), but it is rather artificial, since the real bug involves __del__ getting called during shutdown after module finalization. So I'm not sure the unit test is worthwhile. |
|
Date |
User |
Action |
Args |
2010-02-02 02:52:09 | r.david.murray | set | recipients:
+ r.david.murray, Jesse.Aldridge |
2010-02-02 02:52:08 | r.david.murray | set | messageid: <1265079128.93.0.324362521986.issue7835@psf.upfronthosting.co.za> |
2010-02-02 02:52:07 | r.david.murray | link | issue7835 messages |
2010-02-02 02:52:06 | r.david.murray | create | |
|