Commit Graph

  • c4fd1fd987
    CMake improvement: support windows python on msys (#2312) Liam Keegan 2020-07-21 19:17:22 +02:00
  • d8c7ee00a6
    ci: GHA basic format & pre-commit (#2309) Henry Schreiner 2020-07-20 13:35:21 -04:00
  • e248869893
    Fix undefined memoryview format (#2223) Kota Yamaguchi 2020-07-16 00:50:43 +09:00
  • aa982e131d
    Small fixes in numpy.h (#2293) Boris Staletic 2020-07-12 16:45:13 +02:00
  • fe1392d089
    Silence Clang 10 compiler warnings. Fixes #2225. (#2294) Florian Apolloner 2020-07-12 14:16:19 +02:00
  • 8b9eb964d9
    Check for NULL in raw_str on Python3 (#2290) Boris Staletic 2020-07-11 17:20:22 +02:00
  • b2f52225fa
    Rename embedded_module object's name (#2282) Boris Staletic 2020-07-10 16:31:03 +02:00
  • 964ab956e0
    Fix DeprecationWarning about 'invalid escape sequence' in tools/docs Python scripts (#2281) Yannick Jadoul 2020-07-10 16:30:44 +02:00
  • f980d76d38
    Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) Yannick Jadoul 2020-07-09 00:14:41 +02:00
  • 0d70f0e18e
    PyPy3 support (#2146) Isuru Fernando 2020-07-07 08:58:16 -05:00
  • f2226aefe0
    Allow perfect forwarding of method args (#2048) Robert Haschke 2020-07-07 15:56:07 +02:00
  • 1b0bf352fa
    Throw TypeError when subclasses forget to call __init__ (#2152) Dustin Spicuzza 2020-07-07 06:04:06 -04:00
  • d54d6d8c61
    Adding pybind11::cast overload for rvalue references (#1260) Yannick Jadoul 2020-07-01 01:53:09 +02:00
  • fc3a4490b8 Minor clarification (@AntoinePrv, #2083) Wenzel Jakob 2020-07-01 00:25:17 +02:00
  • 141e8cc0af Fix uninitialized-variables cmake warnings Nils Leif Fischer 2020-06-26 12:15:10 +02:00
  • 3618807dca Fix python.lib name Takahiro Ishikawa 2020-05-04 19:40:42 +09:00
  • 8908552dfc typo Guilherme Dantas 2020-04-27 17:19:17 -03:00
  • d031efe788 Typo Lin Hsu 2020-06-13 23:24:44 +08:00
  • 714424387f Refactor: Extract Custom Type Casts related tests B Krishna Chaitanya 2020-06-21 17:23:53 +05:30
  • ae2ee2a4a5 Avoid using deprecated API in python 3.9 Boris Staletic 2020-06-15 19:36:43 +02:00
  • f99ff736c2 Add additional check to be more compliant with other casters fatvlady 2020-06-29 20:52:35 +03:00
  • 8c06b95492 Fix compile error on GCC4.8 fatvlady 2020-03-14 16:10:14 +02:00
  • 556277d689 Fix optional dereference type deduction fatvlady 2020-03-14 15:20:04 +02:00
  • a3daf87d45 Add failing optional test fatvlady 2020-03-14 15:15:12 +02:00
  • 8e85fadff2 Render py::none as None in docstrings Ashley Whetter 2020-06-27 18:33:20 -07:00
  • 8c0cd94465 ignore another type of visual studio project file Wenzel Jakob 2020-06-18 12:14:59 +02:00
  • d96c34516d Fix docs typo methylDragon 2020-06-16 03:34:45 +08:00
  • e107fc2a05 Fix setuptools record of headers Isuru Fernando 2020-04-26 14:56:10 +00:00
  • ab323e04f3 Test py::iterable/py::iterator representation in docstrings Sergei Izmailov 2020-06-05 21:29:16 +03:00
  • 4f1531c454 Render py::int_ as int in docstrings Sergei Izmailov 2020-05-15 00:11:39 +03:00
  • 90d99b56a0 Render pybind11::array as numpy.ndarray in docstrings Sergei Izmailov 2020-05-20 12:42:07 +03:00
  • 57070fb0a0 Render py::iterator/py::iterable as Iterator/Iterable in docstrings Sergei Izmailov 2020-05-16 17:28:29 +03:00
  • 22b2504080 Render full numpy numeric names (e.g. numpy.int32) Sergei Izmailov 2020-05-14 15:34:48 +03:00
  • 63df87fa49
    Add lvalue ref-qualified cpp_function constructors (#2213) Clemens Sielaff 2020-06-10 04:35:10 -07:00
  • b524008967
    Deepcopy documentation (#2242) Matthijs van der Burgh 2020-06-10 13:30:41 +02:00
  • 1e14930dfc [common.h] Mark another entry point as "unused". Thomas Köppe 2020-06-03 13:51:40 +01:00
  • c776e9ef93 Fix compiler error with MSVC 17 and CUDA 10.2 Simeon Ehrig 2020-06-03 12:12:51 +02:00
  • eeb1044818 [common.h] Mark entry point as "unused". Thomas Köppe 2020-06-03 13:51:40 +01:00
  • 1817d2116a Disable defining (v)snprintf as macro in modern Visual Studio Andrey Dorozhkin 2020-06-02 16:43:07 +03:00
  • 4e3d9fea74 operators: Explicitly expose py::hash(py::self) Eric Cousineau 2020-05-22 00:43:01 -04:00
  • 5309573005 operators: Move hash check to before mutations, tweak whitespace Eric Cousineau 2020-05-18 15:33:23 -04:00
  • 2c30e0a118
    cmake: Expose PYBIND11_TEST_OVERRIDE (#2218) Eric Cousineau 2020-05-31 01:00:55 -04:00
  • a3118130c6
    pytypes.h: fix docs generation (#2220) Andrew J. Hesford 2020-05-31 00:59:50 -04:00
  • a38e5331d7
    Fix CI, prepare test on Python 3.9 beta (#2233) Henry Schreiner 2020-05-31 00:29:30 -04:00
  • a54eab92d2 Revert "Change __init__(self) to __new__(cls)" Wenzel Jakob 2020-04-26 22:53:50 +02:00
  • 2c4cd8419d Add AutoWIG to list of binding generators (#1990) Dustin Spicuzza 2019-11-24 02:36:48 -05:00
  • 02c83dba0f Propagate exceptions in sequence::size() (#2076) Nicholas Musolino 2020-01-26 11:49:32 -05:00
  • 805c5862b6 Adding method names to cpp_function constructor calls in enum_base Yannick Jadoul 2020-01-25 23:38:01 +01:00
  • a86ac538f5 rename args_kw_only to kwonly Sebastian Koslowski 2020-04-14 13:04:25 +02:00
  • be0d804523 Support keyword-only arguments Jason Rhinelander 2017-12-23 18:56:07 -04:00
  • 03f9e4a8ec Fix compilation with clang-cl peter 2020-03-22 12:59:37 +08:00
  • 0dfffcf257 Add is_final to disallow inheritance from Python Dustin Spicuzza 2020-04-05 02:34:00 -04:00
  • b14aeb7cfa fix typo in sorted function call argument reverse MRocholl 2020-04-15 15:37:41 +02:00
  • 9358e30d2a change set_path to set_file MRocholl 2020-04-15 15:35:38 +02:00
  • 00c462d149 find library path to libclang.so via glob command in /usr/lib/llvm-* and set it MRocholl 2020-04-15 15:00:03 +02:00
  • 9ed8b44033 Change __init__(self) to __new__(cls) Orell Garten 2020-04-21 15:02:55 +02:00
  • 5088364b96 Declare operator== and operator!= member functions const. David Stone 2020-04-23 12:47:24 -06:00
  • 6ebfc4b2b0 Document CMAKE_CXX_STANDARD Axel Huebl 2020-04-25 18:10:53 -07:00
  • d730fbc0d5 Utilize CMake's language standards abstraction when possible Chuck Atkins 2018-06-12 13:18:48 -04:00
  • f6e543b15e Adding a default virtual destructor to Animal type in test_tagbased_polymorphic.cpp. Ralf W. Grosse-Kunstleve 2020-01-16 00:20:44 +00:00
  • 4697149d19 Allows users to specialize polymorphic_type_hook with std::enable_if. Ralf W. Grosse-Kunstleve 2019-12-04 15:03:22 -08:00
  • 0234871649 begin working on next version Wenzel Jakob 2020-03-31 13:09:41 +02:00
  • 3b1dbebabc v2.5.0 release Wenzel Jakob 2020-03-31 12:55:48 +02:00
  • bb9c91cce8 pybind11Tools.cmake: search for Python 3.9 Wenzel Jakob 2020-03-04 16:17:20 +01:00
  • 4f72ef846f Fix the use of MSVC in an MSYS environment (#2087) Baljak 2020-01-22 11:49:56 +01:00
  • e97c735fc4 stl_bind: add binding for std::vector::clear (#2074) fwjavox 2020-01-17 01:16:56 +01:00
  • 07e2259322 Fix compilation with MinGW only (#2053) Baljak 2020-01-05 15:49:59 +01:00
  • 370a2ae2b3 Declare call_impl() as && (#2057) Robert Haschke 2020-01-05 15:49:24 +01:00
  • bf2b031449 Handle cases where binding code immediately throws py::error_already_set Wenzel Jakob 2020-01-02 22:18:01 +01:00
  • 4c206e8c79 bindings for import_error exception Wenzel Jakob 2020-01-02 22:17:20 +01:00
  • 2fda9d5dd8 Travis CI fix (MacOS, Py3) Wenzel Jakob 2019-12-31 01:26:40 +01:00
  • f9f3bd711f
    Use C++17 fold expressions when casting tuples and argument lists (#2043) Wenzel Jakob 2019-12-30 01:26:32 +01:00
  • 6e39b765b2 Add C++20 char8_t/u8string support (#2026) Vemund Handeland 2019-12-19 12:16:24 +01:00
  • 37d04abdee Fixes #1295: Handle debug interpreter (#2025) JGamache-autodesk 2019-12-19 06:15:42 -05:00
  • b4e5d582cb undo #define copysign in pyconfig.h Wenzel Jakob 2019-12-13 11:11:33 +01:00
  • 1376eb0e51 Free tstate on python 3.7+ on finalize_interpreter (#2020) Boris Staletic 2019-12-12 15:55:54 +01:00
  • fb910ae92b Revert "Fix a memory leak when creating Python3 modules. (#2019)" Wenzel Jakob 2019-12-11 21:26:46 +01:00
  • 819802da99 Fix a memory leak when creating Python3 modules. (#2019) Nils Berg 2019-12-11 15:01:45 +00:00
  • dc9006db4f Use newer macOS image for python3 testing Boris Staletic 2019-12-11 12:05:01 +01:00
  • fe2a06e339 Pin breathe to 4.13.1 Boris Staletic 2019-12-11 12:04:35 +01:00
  • 3735249122 Install headers using both headers and package_data (#1995) Isuru Fernando 2019-11-28 01:59:23 -06:00
  • a60648223d Revert "numpy.h: minor preprocessor fix suggested by @chaekwan" Wenzel Jakob 2019-11-28 08:07:32 +01:00
  • 61e4f11823 numpy.h: minor preprocessor fix suggested by @chaekwan Wenzel Jakob 2019-11-28 07:42:34 +01:00
  • baf69345f6 Minor modifications to interrupt handling FAQ (#2007) Eric Cousineau 2019-11-25 09:14:06 -05:00
  • 0f1d3bfee2 Add FAQ entry for dealing with long functions interruption (#2000) Charles Brossollet 2019-11-25 10:59:53 +01:00
  • dc65d66171 support for readonly buffers (#863) (#1466) Sebastian Koslowski 2019-11-24 08:33:05 +01:00
  • bd24155b8b Aligned allocation fix for clang-cl (#1988) Francesco Biscani 2019-11-16 01:18:24 +01:00
  • deb3cb238a Add exception translation for std::overflow_error. (#1977) Francesco Biscani 2019-11-14 08:56:58 +01:00
  • 55ff464233 Fixing SystemError when nb_bool/nb_nonzero sets a Python exception in type_caster<bool>::load (#1976) Yannick Jadoul 2019-11-14 08:55:34 +01:00
  • b32b762c60 Fixing minor typo in basics.rst (#1984) Erick Matsen 2019-11-13 23:53:30 -08:00
  • 6f11347a30 Prevent cmake error when prefix empty (#1986) Matthew Dawkins 2019-11-14 02:53:06 -05:00
  • a6355b00f8 CMake: Add Python 3.8 to pybind11Tools (#1974) Axel Huebl 2019-10-31 04:40:15 -07:00
  • a83d69e78f test pair-copyability on C++17 upwards (#1886) Sebastian Gsänger 2019-10-31 12:38:24 +01:00
  • bdf6a5e870 Report type names in return value policy-related cast exceptions (#1965) Hans Dembinski 2019-10-23 12:19:58 +01:00
  • c27a6e1378 make builds with python tests and cpp tests fail if either one fails (#1967) Hans Dembinski 2019-10-22 16:19:15 +01:00
  • 759221f5c5 Obey __cpp_sized_deallocation and __cpp_aligned_new Jeremy Nimmer 2019-06-14 12:12:51 -04:00
  • 6c29cbf88d misleading comment corrected (strides in buffer_info is bytes and not number of entries) (#1958) Riccardo Bertossa 2019-10-18 17:55:17 +02:00
  • de5a29c0d4 Fix build with -Wmissing-prototypes (#1954) nicolov 2019-10-17 10:43:33 +02:00
  • dfde1554ea begin working on next version Wenzel Jakob 2019-10-15 01:58:43 +02:00
  • 80d452484c v2.4.3 release Wenzel Jakob 2019-10-15 01:57:24 +02:00