What Every Python Developer Should Know About the CPython ABI

labs.quansight.org

68 points by matt_d 5 days ago


whinvik - a day ago

Thanks. I heard the word ABI so many times but only finally understood it after reading this blog.

On another topic, I also feel like quansight blog is usually a high quality resource for Python related stuff. Usually its more for numpy/scipy kind of stuff, but this one is an example of more general Python related stuff.

voidUpdate - a day ago

> import numpy

> np.array([1,2])

NameError: name 'np' is not defined

I think the article probably wanted "import numpy as np"

auntienomen - a day ago

Glad to see that Cython got a shout out here. It's not that widely used, but it's a lovely experience. It uses the CPython ABI to drastically reduce the friction of switching between C & Python.

21gafg - a day ago

[dead]