Member-only story
Python 3.9, Subinterpreters and C-Extension Wars
Subinterpreters, PEP 554, C-Extensions, and their place in Python is splitting the community. Where do I stand?
The concept behind the “Subinterpreters” in Python has been argued about for a lot of time now, and it’s finally kind of becoming a reality with Python 3.9.
These Python “Subinterpreters” are separate interpreters you can create for extensions through the C API in order to unlock a concurrency model in a Go-like way.
Well, there’s no doubt you need to expose that Application Programming Interface (API) in the standard library, but I’m seeing a lot of mixed opinions about these subinterpreters in the Python community (I’m an avid listener of Python themed podcasts, which is a strange hobby but one that leads me to write the Top 8 Python Podcasts Ever article as well).
Well, throughout this article we’ll explore this concept and I’ll share why some people think this feature isn’t exactly one many people would like to see implemented.