[Python-Dev] Point of building without threads?

Stefan Krah stefan at bytereef.org
Tue May 8 19:40:32 CEST 2012


Antoine Pitrou <solipsis at pitrou.net> wrote:
> I guess a long time ago, threading support in operating systems wasn't
> very widespread, but these days all our supported platforms have it.
> Is it still useful for production purposes to configure
> --without-threads? Do people use this option for something else than
> curiosity of mind?

_decimal is about 12% faster without threads, because the expensive
thread local context can be disabled.

On OpenBSD threading leads to strange problems like delayed signals
in the REPL http://bugs.python.org/issue8714 . Without threads these
problems don't occur.



Stefan Krah





More information about the Python-Dev mailing list