- 30 Jun, 2020 1 commit
-
-
Boris Staletic authored
The PyEval_InitThreads() and PyEval_ThreadsInitialized() functions are now deprecated and will be removed in Python 3.11. Calling PyEval_InitThreads() now does nothing. The GIL is initialized by Py_Initialize() since Python 3.7.
-
- 29 Jun, 2020 5 commits
-
-
fatvlady authored
-
fatvlady authored
-
fatvlady authored
-
fatvlady authored
-
Ashley Whetter authored
Closes #2270
-
- 18 Jun, 2020 1 commit
-
-
Wenzel Jakob authored
-
- 15 Jun, 2020 1 commit
-
-
methylDragon authored
-
- 10 Jun, 2020 9 commits
-
-
Isuru Fernando authored
-
Sergei Izmailov authored
-
Sergei Izmailov authored
-
Sergei Izmailov authored
-
Sergei Izmailov authored
-
Sergei Izmailov authored
-
Clemens Sielaff authored
* added overload for l-value ref-qualified methods * Added test. Before, the code would have failed to build.
-
Matthijs van der Burgh authored
* (docs) convert note to real note * (docs) Add information about (deep)copy
-
Thomas Köppe authored
For rationale, see #2241, eeb10448; there is a second entry point function defined by the PYBIND11_MODULE macro that also needs to be annotated as unused.
-
- 08 Jun, 2020 1 commit
-
-
Simeon Ehrig authored
-
- 04 Jun, 2020 2 commits
-
-
Thomas Köppe authored
This change defines a new, portable macro PYBIND11_MAYBE_UNUSED to mark declarations as unused, and annotates the PYBIND11_MODULE entry point with this attribute. The purpose of this annotation is to facilitate dead code detection, which might otherwise consider the module entry point function dead, since it isn't otherwise used. (It is only used via FFI.)
-
Andrey Dorozhkin authored
-
- 31 May, 2020 5 commits
-
-
Eric Cousineau authored
Add warnings about extending STL
-
Eric Cousineau authored
-
Eric Cousineau authored
Primarily for the ccmake curses GUI
-
Andrew J. Hesford authored
-
Henry Schreiner authored
* Test on Python 3.9 beta * Pin Sphinx * Newer version of PyPy
-
- 26 Apr, 2020 15 commits
-
-
Wenzel Jakob authored
This reverts commit 9ed8b440.
-
Dustin Spicuzza authored
* Add AutoWIG to list of binding generators
-
Nicholas Musolino authored
-
Yannick Jadoul authored
-
Sebastian Koslowski authored
-
Jason Rhinelander authored
This adds support for a `py::args_kw_only()` annotation that can be specified between `py::arg` annotations to indicate that any following arguments are keyword-only. This allows you to write: m.def("f", [](int a, int b) { /* ... */ }, py::arg("a"), py::args_kw_only(), py::arg("b")); and have it work like Python 3's: def f(a, *, b): # ... with respect to how `a` and `b` arguments are accepted (that is, `a` can be positional or by keyword; `b` can only be specified by keyword). -
peter authored
-
Dustin Spicuzza authored
- Not currently supported on PyPy
-
MRocholl authored
-
MRocholl authored
-
MRocholl authored
-
Orell Garten authored
__init__(self) cannot return values. According to https://stackoverflow.com/questions/2491819/how-to-return-a-value-from-init-in-python __new__(cls) should be used, which works.
-
David Stone authored
-
Axel Huebl authored
This variable is a CMake community standard to set the C++ standard of a build. Document it in favor of the previous variable, which stays as a legacy flag for existing projects. https://cmake.org/cmake/help/v3.17/variable/CMAKE_CXX_STANDARD.html
-
Chuck Atkins authored
-