call 'the following function' using decorators

castironpi at gmail.com castironpi at gmail.com
Fri Feb 15 20:54:46 EST 2008


> > > > I assert it's easier to write:
>
> > > > start_new_thread( this_func )
> > > > def thrA():
> > > >     normal_suite()
>
> > > > than
>
> > > > def thrA():
> > > >     normal_suite()
> > > > start_new_thread( thrA )
>
> > > > If you don't, stop reading.

Nothing beats if forkthread(): but what are the chances of getting it
in Python?



More information about the Python-list mailing list