Brett Cannon <[EMAIL PROTECTED]> added the comment: I don't think there is anything to fix here beyond the docs for __del__. You should never expect anything to be working in __del__, and that includes the import machinery. It should be bare-bones, not trying to pull in new code!
I have attached a patch which tries to clarify this fact in the language docs for __del__. Added file: http://bugs.python.org/file12066/clarify___del__.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4236> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com