Skip to content

Commit dfb30f8

Browse files
committed
fix: more cleanup
1 parent 115de33 commit dfb30f8

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pybind11 can map the following core C++ features to Python:
5656
## Goodies
5757
In addition to the core functionality, pybind11 provides some extra goodies:
5858

59-
- Python 2.7, 3.5+, and PyPy (tested on 7.3) are supported with an implementation-agnostic
59+
- Python 2.7, 3.5+, and PyPy/PyPy3 7.3 are supported with an implementation-agnostic
6060
interface.
6161

6262
- It is possible to bind C++11 lambda functions with captured variables. The

docs/changelog.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ See :ref:`upgrade-guide-2.6` for help upgrading to the new version.
2929
* ``py::memoryview`` update and documentation.
3030
`#2223 <https://github.com/pybind/pybind11/pull/2223>`_
3131

32+
* PyPy/PyPy3 7.3 supported, support for older versions dropped
33+
`#2456 <https://github.com/pybind/pybind11/pull/2456>`_ and other PRs.
34+
3235
* Minimum CMake required increased to 3.4.
3336
`#2338 <https://github.com/pybind/pybind11/pull/2338>`_ and
3437
`#2370 <https://github.com/pybind/pybind11/pull/2370>`_

include/pybind11/eval.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void exec(const char (&s)[N], object global = globals(), object local = object()
6666
eval<eval_statements>(s, global, local);
6767
}
6868

69-
#if defined(PYPY_VERSION) && PY_VERSION_HEX >= 0x3000000
69+
#if defined(PYPY_VERSION) && PY_VERSION_HEX >= 0x03000000
7070
template <eval_mode mode = eval_statements>
7171
object eval_file(str, object, object) {
7272
pybind11_fail("eval_file not supported in PyPy3. Use eval");

tests/test_multiple_inheritance.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,12 @@ TEST_SUBMODULE(multiple_inheritance, m) {
193193
.def_readwrite_static("static_value", &VanillaStaticMix2::static_value);
194194

195195

196-
#if !(defined(PYPY_VERSION) && (PYPY_VERSION_NUM < 0x06000000))
197196
struct WithDict { };
198197
struct VanillaDictMix1 : Vanilla, WithDict { };
199198
struct VanillaDictMix2 : WithDict, Vanilla { };
200199
py::class_<WithDict>(m, "WithDict", py::dynamic_attr()).def(py::init<>());
201200
py::class_<VanillaDictMix1, Vanilla, WithDict>(m, "VanillaDictMix1").def(py::init<>());
202201
py::class_<VanillaDictMix2, WithDict, Vanilla>(m, "VanillaDictMix2").def(py::init<>());
203-
#endif
204202

205203
// test_diamond_inheritance
206204
// Issue #959: segfault when constructing diamond inheritance instance

0 commit comments

Comments
 (0)