Cython 0.23 will monkey patch the standard lib
![](https://secure.gravatar.com/avatar/2a9d09b311f11f92cdc6a91b3c6519b1.jpg?s=120&d=mm&r=g)
The next major release of Cython (0.23) will begin to monkey patch the Python standard lib. Personally I consider this behavior borderline evil, and I don't think we need any of the features that Cython patches into the standard lib. So should we add the off-switches to SciPy's "cythonize" scipt? https://github.com/cython/cython/blob/master/CHANGES.rst It appears the off-switches are: -D CYTHON_PATCH_ASYNCIO=0 -D CYTHON_PATCH_INSPECT=0 -D CYTHON_PATCH_ABC=0 Sturla
![](https://secure.gravatar.com/avatar/764323a14e554c97ab74177e0bce51d4.jpg?s=120&d=mm&r=g)
On Sat, Jun 6, 2015 at 2:57 PM, Sturla Molden <sturla.molden@gmail.com> wrote:
The next major release of Cython (0.23) will begin to monkey patch the Python standard lib. Personally I consider this behavior borderline evil, and I don't think we need any of the features that Cython patches into the standard lib. So should we add the off-switches to SciPy's "cythonize" scipt?
The monkeypatching only happens when you actually use those features, so no, I don't think we need to do anything here. -- Robert Kern
participants (2)
-
Robert Kern
-
Sturla Molden