Can someone explain what I've done wrong...

Delaney, Timothy (Tim) tdelaney at
Tue Sep 20 08:25:45 CEST 2005

Tim Roberts wrote:

> Everything works OK while your script runs.  When the script exits,
> your "main" module goes to clean things up.  Apparently, it does so
> alphabetically.

Nope - it would do it in the iteration order of the module's __dict__.
Not something that can be relied on.

Tim Delaney

More information about the Python-list mailing list