Rename it to sys._exitfunc?

On 3/8/07, Collin Winter <[EMAIL PROTECTED]> wrote:
> I was revisiting my patch on SF to remove sys.exitfunc (per PEP 3100),
> and I found some usages in the stdlib I had missed the first time
> around. One of these, I was surprised to learn, is atexit.py; in fact,
> atexit is implemented in terms of sys.exitfunc. This was especially
> shocking because PEP 3100 cites that you should "use [the] atexit
> module instead" of sys.exitfunc as an argument for the latter's
> deletion.
>
> Suggestions, anyone, on how to remove sys.exitfunc and keep atexit
> working? My own would be to replace atexit.py with a C module that
> allows manipulation of the exitfuncs array in Python/pythonrun.c (or
> something similar).
>
> Collin Winter
> _______________________________________________
> Python-3000 mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: 
> http://mail.python.org/mailman/options/python-3000/guido%40python.org
>


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to