[Python-Dev] Threading, atexit, and logging (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Dec 8 00:35:30 CET 2006
- Previous message: [Python-Dev] Threading, atexit, and logging
- Next message: [Python-Dev] __str__ and unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Martin v. Löwis wrote:
Also, if the interpreter invokes, say, threading.shutdown(): that's also "user-screwable", as a user may put something else into threading.shutdown.
Although it would require being somewhat more deliberate, since threading._shutdown clearly has something to do with threading, whereas the atexit mechanism could get screwed up by someone who wasn't even thinking about what effect it might have on threading.
-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+
- Previous message: [Python-Dev] Threading, atexit, and logging
- Next message: [Python-Dev] __str__ and unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]