On 18.06.2012 20:28, Daniel Moisset wrote:
Hi. I'm looking at the documentation for the "atexit" module and it has an inconsistency
The first paragraph says "The order in which the functions are called is not defined". However, the second pargaraph at http://docs.python.org/library/atexit.html#atexit.register says "At normal program termination (for instance, if sys.exit() is called or the main module’s execution completes), all functions registered are called in last in, first out order." which contradicts the first paragraph stating that order is not defined.
I'd suggest a fix if I knew which one was right :)
that's a good point; I've raised bugs.python.org/15233 to track it.