ProgrammingPython

Cython bug?

I have this Cython code: cdef struct MyStruct: int x def byte_bugginess(x=1): cdef char val = 1 cdef MyStruct foo print("1 - val = %d" % val) if x in (3, 4): print("2 - val = %d" % val) val = 2 print("3 - val = %d" % val) else:...
ProgrammingPython

Back to setuptools

Browsing PyPI yesterday, I was surprised to see a new version of setuptools. I almost thought it was a bug. For years, I've been drinking the distribute Kool-Aid and automatically using distribute instead of setuptools. Well, I...