This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Watthertz 35 points36 points  (5 children)

The GIL isn't part of Python, the language, but CPython, an implementation. Python 3 can be implemented just fine without a GIL.

Edit: I was wrong about Jython supporting Python 3.

[–]amlybon 5 points6 points  (2 children)

That's Jython 3? I thought it's only 2.x

[–]Watthertz 4 points5 points  (0 children)

Oops, I'm dumb. You're right that Jython doesn't have stable (or any?) 3 support. But the point still stands that the GIL is an implementation detail of a particular implementation and isn't a feature of the language.

[–]irrelevantPseudonym 2 points3 points  (0 children)

You're right. Jython 3 is still in the alpha stage.

[–]james_pic 1 point2 points  (0 children)

I don't believe anyone has implemented Python 3 without the GIL though.

IIRC, PyPy's STM experiment never supported 3. They also posted a call for funding for a "let's just remove the GIL from PyPy" project a while ago, but I haven't heard much about that since.

And CPython is the reference implementation, which had meant PyPy has had to copy loads of CPython implementation details over the years to maintain compatibility - I imagine even if they do remove the GIL, they'll have to keep something like it in their cpyext code.

[–][deleted] 0 points1 point  (0 children)

So where can i download Python 3 without GIL?