How should threads be terminated? (related to 'Help with thread related tracebacks')

Maxwell Hammer hammer at maxwell.com
Thu Jun 16 18:14:58 CEST 2005


Hi all,

This is related to an earlier post 'Help with thread related
tracebacks'...for which I have had no feedback yet :-(

How should a thread complete i.e. how should it exit?
Reading the python online docs one gets the idea that simply returning is
OK - but I'm not sure.
Is it ok to do a sys.ext()? Use 'return' or just let them run out with no
'return' ???

thanks.



More information about the Python-list mailing list