try finally doesn't

Rene Pijlman at
Wed Nov 26 21:43:35 CET 2003

Colin Brown:
>When I run this code and then immediately do a Control-C, I do not get the
>'thread' printed?

Output buffering. It does when you import sys and add sys.stdout.flush()
after the print statement.

René Pijlman

More information about the Python-list mailing list