try finally doesn't
mwh at python.net
Thu Nov 27 13:17:09 CET 2003
"Colin Brown" <cbrown at metservice.com> writes:
> "Rene Pijlman" <reply.in.the.newsgroup at my.address.is.invalid> wrote in
> message news:214asv4cuppifk71are7unbam170fgregk at 4ax.com...
> > Colin Brown:
> > >When I run this code and then immediately do a Control-C, I do not get
> > >'thread' printed?
> > Output buffering. It does when you import sys and add sys.stdout.flush()
> > after the print statement.
> > --
> > René Pijlman
> Also when I run this on Win2K, I get:
Oh, if you're on Windows, things are likely to be different.
What version of Python are you using?
I have gathered a posie of other men's flowers, and nothing but
the thread that binds them is my own. -- Montaigne
More information about the Python-list