Brett Cannon <br...@python.org> added the comment: I was just following the style already set in __del__ for storing a reference to sys (that and I didn't feel like having to explicitly store all of those references in the __init__ or at the class level just above the methods).
As for using atexit, it's possible that could be the proper solution, it just requires someone coding it up before we hit 2.7rc1. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5099> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com