@@ -10,7 +10,6 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
10
10
v2.6.2 (Jan 26, 2021)
11
11
---------------------
12
12
13
-
14
13
Minor missing functionality added:
15
14
16
15
* enum: add missing Enum.value property.
@@ -20,6 +19,20 @@ Minor missing functionality added:
20
19
``.disarm `` for ``gil_scoped_acquire ``/``gil_scoped_release ``.
21
20
`#2657 <https://github.com/pybind/pybind11/pull/2657 >`_
22
21
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 >`_
23
36
24
37
Build improvements:
25
38
@@ -53,23 +66,6 @@ Build improvements:
53
66
54
67
Bug fixes:
55
68
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
-
73
69
* Fixed segfault in multithreaded environments when using
74
70
``scoped_ostream_redirect ``.
75
71
`#2675 <https://github.com/pybind/pybind11/pull/2675 >`_
@@ -105,6 +101,10 @@ Warning fixes:
105
101
106
102
Valgrind work:
107
103
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
+
108
108
* Fixed various minor memory leaks in pybind11's test suite.
109
109
`#2758 <https://github.com/pybind/pybind11/pull/2758 >`_
110
110
0 commit comments