1. Oct 17, 2020
    • Yannick Jadoul's avatar
      fix: test_factory_constructors.py failure triggered by test_register_duplicate_class (#2564) · 6364b732
      Yannick Jadoul authored
      * Demonstrate test_factory_constructors.py failure without functional changes from #2335
      
      * Revert "Demonstrate test_factory_constructors.py failure without functional changes from #2335"
      
      This reverts commit ca33a8021fc2a3617c3356b188796528f4594419.
      
      * Fix test crash where registered Python type gets garbage collected
      
      * Clean up some more internal structures when class objects go out of scope
      
      * Reduce length of std::erase_if-in-C++20 comment
      
      * Clean up code for cleaning up type internals
      
      * Move cleaning up of type info in internals to tp_dealloc on pybind11_metaclass
      6364b732
    • Henry Schreiner's avatar
      style: use Black everywhere (#2594) · c50f90ec
      Henry Schreiner authored
      * style: use Black everywhere
      
      * style: minor touchup from review
      c50f90ec
  2. Oct 16, 2020
  3. Oct 15, 2020
  4. Oct 14, 2020
  5. Oct 13, 2020
  6. Oct 12, 2020
  7. Oct 11, 2020
  8. Oct 10, 2020
  9. 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