Context manager, atexit processing, and PEP 3143 DaemonContext.close

Gunter Henriksen gunterhenriksen at gmail.com
Mon May 18 13:14:31 EDT 2009


> Anyone else?

If there is a function which triggers a one-shot switch, I
like to have a way to find out if it has already been triggered,
I prefer to have the function tell me if it triggered the switch
or not, but I would not want that to be by raising an exception.



More information about the Python-list mailing list