|
|
|
|
|
by wjakob
2073 days ago
|
|
Caution: if you rely on pybind11 or a project using pybind11 (many projects do, like NumPy/SciPy/Tensorflow/PyTorch..), hold off on upgrading to Python 3.9.0 for now. A change in Python 3.9.0 introduces undefined behavior in combination with pybind11 (rarely occurring crashes, but could be arbitrarily bad). We will work around it in an upcoming version of pybind11, and Python will separately also fix this problem in 3.9.1 slated for release in December. Details available here: https://pybind11.readthedocs.io/en/latest and https://github.com/python/cpython/pull/22670. |
|
But nevermind, the 3.9 release was 15 days ago and the bug was identified 8 days ago. I guess there has to be a release before people will start using it and find bugs/regressions.
There's a saying to always wait for the .1 release, this is a good illustration of why.