[Python-3000] atexit module problems/questions

Christian Heimes lists at cheimes.de
Sun Aug 5 02:44:44 CEST 2007


skip at pobox.com wrote:
>     skip> Given that sys.exitfunc is gone is there a reason to have
>     skip> _run_exitfuncs?  Who's going to call it?
> 
> I should have elaborated.  Clearly you need some way to call it, but since
> that is going to be called from C code (isn't it?), why expose it to Python
> code?

Unit tests? Some developers might want to test their registered functions.

Christian



More information about the Python-3000 mailing list