1. Oct 16, 2020
  2. Oct 15, 2020
  3. Oct 14, 2020
  4. Oct 13, 2020
  5. Oct 12, 2020
  6. Oct 11, 2020
  7. Oct 10, 2020
  8. Oct 09, 2020
    • Henry Schreiner's avatar
      docs: known issues (#2565) · e4e5c49a
      Henry Schreiner authored
      * docs: FAQ CMake updates
      
      * docs: limitations
      
      * ci: don't over label
      
      * docs: update CHANGELOG, add a bit more structure
      
      * ci: label PRs with more labels, and sooner
      
      * docs: updates from @rwgk
      
      * docs: address @YannickJadoul's points
      e4e5c49a
    • Yannick Jadoul's avatar
      feat: deprecate public constructors of module_ class (#2552) · 0c5cc031
      Yannick Jadoul authored
      * Deprecated public constructors of module
      
      * Turn documentation comment of module_::add_object into valid doxygen documentation
      
      * Move definition of PYBIND11_DETAIL_MODULE_STATIC_DEF and PYBIND11_DETAIL_MODULE_CREATE macros up
      
      * Move detail::create_top_level_module to module_::create_extension_module, and unify Python 2 and 3 signature again
      
      * Throw error_already_set if module creation fails in module_::create_extension_module
      
      * Mention module_::create_extension_module in deprecation warning message of module_::module_
      0c5cc031
    • Yannick Jadoul's avatar
      Check scope's __dict__ instead of using hasattr when registering classes and exceptions (#2335) · 71aea49b
      Yannick Jadoul authored
      * Check scope's __dict__ instead of using hasattr when registering classes and exceptions, to allow registering the same name in a derived class scope
      
      * Extend test_base_and_derived_nested_scope test
      
      * Add tests on error being thrown registering duplicate classes
      
      * Circumvent bug with combination of test_class.py::test_register_duplicate_class and test_factory_constructors.py::test_init_factory_alias
      71aea49b
    • Henry Schreiner's avatar
      test: hide segfault (#2559) · deba040b
      Henry Schreiner authored
      * tests: Don't run tests that often segfault
      
      * tests: drop all cross module gil tests
      
      * tests: try skipping all macOS Python 3.9 tests
      
      * tests: drop macOS Python 3.9
      deba040b
  9. Oct 08, 2020
  10. Oct 06, 2020
    • Henry Schreiner's avatar
      fix: PYBIND11_OBJECT required pybind11 namespace (regression) (#2553) · 00edc300
      Henry Schreiner authored
      * fix: PYBIND11_OBJECT could only be used inside the pybind11 namespace (regression)
      
      * docs: add changelog for conversion protection change
      
      * ci: update to Python 3.9
      00edc300
    • Henry Schreiner's avatar
      feat: py::prepend tag (#1131) · 9a0c96dd
      Henry Schreiner authored
      * feat: add a priority overload with py::prepend
      
      * doc: fix wording as suggested by rwgk
      
      * feat: add get_pointer
      
      * refactor: is_prepended -> prepend (internal)
      
      * docs: suggestion from @wjakob
      
      * tests: add test covering get_pointer/set_pointer
      9a0c96dd
    • Yannick Jadoul's avatar
      Fail on passing py::object with wrong Python type to py::object subclass using... · f537093a
      Yannick Jadoul authored
      Fail on passing py::object with wrong Python type to py::object subclass using PYBIND11_OBJECT macro (#2349)
      
      * Fail on passing py::object with wrong Python type to py::object subclass using PYBIND11_OBJECT macro
      
      * Split off test_non_converting_constructors from test_constructors
      
      * Fix test_as_type, as py::type constructor now throws an error itself if the argument is not a type
      
      * Replace tp_name access by pybind11::detail::get_fully_qualified_tp_name
      
      * Move forward-declaration of get_fully_qualified_tp_name to detail/common.h
      
      * Don't add the builtins module name in get_fully_qualified_tp_name for PyPy
      
      * Add PYBIND11_BUILTINS_MODULE macro, and use it in get_fully_qualified_tp_name
      f537093a
    • Henry Schreiner's avatar
      fix: find_import didn't work properly for classic tools (#2550) · 2a2f5220
      Henry Schreiner authored
      * fix: find_import didn't work properly for classic tools
      
      * ci: fix all files not being checked in style run
      2a2f5220