@@ -7,8 +7,8 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
7
7
<http://semver.org> `_ policy.
8
8
9
9
10
- v2.6.2 (TBA, not yet released )
11
- ------------------------------
10
+ v2.6.2 (Jan 26, 2021 )
11
+ ---------------------
12
12
13
13
14
14
Minor missing functionality added:
@@ -62,6 +62,10 @@ Bug fixes:
62
62
overloads.
63
63
`#2698 <https://github.com/pybind/pybind11/pull/2698 >`_
64
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
+
65
69
* Fix bug where the constructor of ``object `` subclasses would not throw on
66
70
being passed a Python object of the wrong type.
67
71
`#2701 <https://github.com/pybind/pybind11/pull/2701 >`_
@@ -74,6 +78,11 @@ Bug fixes:
74
78
than set an empty string.
75
79
`#2745 <https://github.com/pybind/pybind11/pull/2745 >`_
76
80
81
+ * The module key in builtins that pybind11 uses to store its internals changed
82
+ from std::string to a python str type (more natural on Python 2, no change on
83
+ Python 3).
84
+ `#2814 <https://github.com/pybind/pybind11/pull/2814 >`_
85
+
77
86
* Fixed assertion error related to unhandled (later overwritten) exception in
78
87
CPython 3.8 and 3.9 debug builds.
79
88
`#2685 <https://github.com/pybind/pybind11/pull/2685 >`_
0 commit comments