GIL in the new glossary

Andrew Bennetts andrew-pythonlist at puzzling.org
Fri Oct 3 22:47:09 EDT 2003


On Fri, Oct 03, 2003 at 08:48:50PM -0400, Peter Hansen wrote:
> Andrew Dalke wrote:
> > 
> > The select loop is single threaded.  Twisted supports
> > multithreading, but it isn't required that you use it.  That
> > multithreading code has the same limitations as Python,
> > because Python is almost pure Python code.
>           ^^^^^^
> You mean Twisted, of course.
> 
> And I think the "almost" is wrong: it's 100% pure Python.
> 
> At least, I took the directory tree from my Windows machine and
> copied it to a Linux box, rather than dig up a Twisted .tgz to
> put on Linux, and everything that *I* was using ran fine.  And
> I think the "Twistedistas"** say from time to time that it is pure
> Python, without qualification.

It's 100% pure Python -- but with some optional C extensions for
optimisation.  It runs fine without them.  So it both is and isn't ;)

> ** Okay, what's the equivalent to Pythonista for a Twisted, uh, person?

There's was some unresolved discussion of that in this thread:
    http://twistedmatrix.com/pipermail/twisted-python/2002-July/001352.html

-Andrew.






More information about the Python-list mailing list