@@ -10,7 +10,6 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
1010v2.6.2 (Jan 26, 2021)
1111---------------------
1212
13-
1413Minor missing functionality added:
1514
1615* enum: add missing Enum.value property.
@@ -20,6 +19,20 @@ Minor missing functionality added:
2019 ``.disarm `` for ``gil_scoped_acquire ``/``gil_scoped_release ``.
2120 `#2657 <https://github.com/pybind/pybind11/pull/2657 >`_
2221
22+ Fixed or improved behavior in a few special cases:
23+
24+ * Fix bug where the constructor of ``object `` subclasses would not throw on
25+ being passed a Python object of the wrong type.
26+ `#2701 <https://github.com/pybind/pybind11/pull/2701 >`_
27+
28+ * The ``type_caster `` for integers does not convert Python objects with
29+ ``__int__ `` anymore with ``noconvert `` or during the first round of trying
30+ overloads.
31+ `#2698 <https://github.com/pybind/pybind11/pull/2698 >`_
32+
33+ * When casting to a C++ integer, ``__index__ `` is always called and not
34+ considered as conversion, consistent with Python 3.8+.
35+ `#2801 <https://github.com/pybind/pybind11/pull/2801 >`_
2336
2437Build improvements:
2538
@@ -53,23 +66,6 @@ Build improvements:
5366
5467Bug fixes:
5568
56- * Fix invalid access when calling a pybind11 ``__init__ `` on a non-pybind11
57- class instance.
58- `#2755 <https://github.com/pybind/pybind11/pull/2755 >`_
59-
60- * The ``type_caster `` for integers does not convert Python objects with
61- ``__int__ `` anymore with ``noconvert `` or during the first round of trying
62- overloads.
63- `#2698 <https://github.com/pybind/pybind11/pull/2698 >`_
64-
65- * When casting to a C++ integer, ``__index__ `` is always called and not
66- considered as conversion, consistent with Python 3.8+.
67- `#2801 <https://github.com/pybind/pybind11/pull/2801 >`_
68-
69- * Fix bug where the constructor of ``object `` subclasses would not throw on
70- being passed a Python object of the wrong type.
71- `#2701 <https://github.com/pybind/pybind11/pull/2701 >`_
72-
7369* Fixed segfault in multithreaded environments when using
7470 ``scoped_ostream_redirect ``.
7571 `#2675 <https://github.com/pybind/pybind11/pull/2675 >`_
@@ -105,6 +101,10 @@ Warning fixes:
105101
106102Valgrind work:
107103
104+ * Fix invalid access when calling a pybind11 ``__init__ `` on a non-pybind11
105+ class instance.
106+ `#2755 <https://github.com/pybind/pybind11/pull/2755 >`_
107+
108108* Fixed various minor memory leaks in pybind11's test suite.
109109 `#2758 <https://github.com/pybind/pybind11/pull/2758 >`_
110110
0 commit comments