atexit module in embedded Python
Jp Calderone
exarkun at intarweb.us
Mon Feb 10 13:09:25 EST 2003
On Mon, Feb 10, 2003 at 08:17:07AM +0000, Ricardo B wrote:
> Hello,
> anyone here has information about the behavior of the atexit module in
> embedded Python? How does it behave on PyFinalize() and
> Py_EndInterpreter()? Or where the hell can I get some information about
> this?
The first real thing Py_Finalize does is run the registered at-exit
functions. (The source is a good reference, if you can read it)
Jp
--
#!/bin/bash
( LIST=(~/.netscape/sigs/*.sig)
cat ${LIST[$(($RANDOM % ${#LIST[*]}))]}
echo --$'\n' `uptime` ) > ~/.netscape/.signature
--
up 1 day, 22:28, 1 user, load average: 0.00, 0.00, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030210/71b39501/attachment.sig>
More information about the Python-list
mailing list