Nick Jacobson wrote:
But while you can mark functions to be called with the 'register' method, there's no 'unregister' method to remove them from the stack of functions to be called.
You can always build your own mechanism for managing cleanup functions however you want, and register a single atexit() hander to invoke it. I don't think there's any need to mess with the way atexit() currently works.
-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | [EMAIL PROTECTED] +--------------------------------------+ _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
