Skip to content

Commit 91a6972

Browse files
docs: Update warning about Python 3.9.0 UB, now that 3.9.1 has been released (#2719)
1 parent d068ab2 commit 91a6972

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313

1414
.. warning::
1515

16-
Combining older versions of pybind11 (< 2.6.0) with the brand-new Python
17-
3.9.0 will trigger undefined behavior that typically manifests as crashes
18-
during interpreter shutdown (but could also destroy your data. **You have been
16+
Combining older versions of pybind11 (< 2.6.0) with Python 3.9.0 will
17+
trigger undefined behavior that typically manifests as crashes during
18+
interpreter shutdown (but could also destroy your data. **You have been
1919
warned.**)
2020

21-
We recommend that you wait for Python 3.9.1 slated for release in December,
22-
which will include a `fix <https://github.com/python/cpython/pull/22670>`_
23-
that resolves this problem. In the meantime, please update to the latest
24-
version of pybind11 (2.6.0 or newer), which includes a temporary workaround
25-
specifically when Python 3.9.0 is detected at runtime.
21+
We recommend that you update to the latest patch release of Python (3.9.1),
22+
which includes a `fix <https://github.com/python/cpython/pull/22670>`_
23+
that resolves this problem. If you do use Python 3.9.0, please update to
24+
the latest version of pybind11 (2.6.0 or newer), which includes a temporary
25+
workaround specifically when Python 3.9.0 is detected at runtime.
2626

2727
**pybind11** is a lightweight header-only library that exposes C++ types
2828
in Python and vice versa, mainly to create Python bindings of existing

0 commit comments

Comments
 (0)