Patches item #1516375, was opened at 2006-07-03 14:30 Message generated for change (Comment added) made by gbrandl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1516375&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core (C code) Group: Python 3000 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Collin Winter (collinwinter) Assigned to: Collin Winter (collinwinter) Summary: Remove sys.exitfunc Initial Comment: As mentioned in PEP 3100, this patch removes the interpreter's support for sys.exitfunc. This patch is against r47222. ---------------------------------------------------------------------- >Comment By: Georg Brandl (gbrandl) Date: 2007-03-13 20:54 Message: Logged In: YES user_id=849994 Originator: NO Then let's come up with a patch and sneak it in while Guido isn't watching <wink> ---------------------------------------------------------------------- Comment By: Collin Winter (collinwinter) Date: 2007-03-13 20:51 Message: Logged In: YES user_id=1344176 Originator: YES Me, either. I'd prefer to reimplement atexit in C and make use of something like the Py_AtExit-related functionality in pythonrun.c. ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2007-03-13 20:47 Message: Logged In: YES user_id=849994 Originator: NO Hm, that doesn't make me too happy. Why do we need exitfunc at all if we have atexit? ---------------------------------------------------------------------- Comment By: Collin Winter (collinwinter) Date: 2007-03-13 20:30 Message: Logged In: YES user_id=1344176 Originator: YES Guido suggested renaming sys.exitfunc to sys._exitfunc: http://mail.python.org/pipermail/python-3000/2007-March/006100.html ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2007-03-13 20:26 Message: Logged In: YES user_id=849994 Originator: NO How is the atexit module to work after this patch? (It could be reimplemented in C and reuse the old exitfunc functionality.) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1516375&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches