Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!panix!roy From: Roy Smith Newsgroups: comp.lang.python Subject: Re: Some questions about atexit Date: Thu, 13 Sep 2012 09:03:43 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Lines: 13 Message-ID: References: NNTP-Posting-Host: localhost X-Trace: reader1.panix.com 1347541423 20239 127.0.0.1 (13 Sep 2012 13:03:43 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Thu, 13 Sep 2012 13:03:43 +0000 (UTC) User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Xref: csiph.com comp.lang.python:29029 In article , Terry Reedy wrote: > On 9/12/2012 8:58 PM, Roy Smith wrote: > > The atexit docs (http://docs.python.org/library/atexit.html) are very > > confusing. In one place they say, "The order in which the functions are > > called is not defined". In another place, "all functions registered are > > called in last in, first out order". Which is correct? > > Check the tracker (bugs.python.org) for atexit issues, open and closed. Thanks for the pointer. The operative one seems to be http://bugs.python.org/issue15233