45 Commits (2943a27a14b507c67ca3e17c57bb74bbb7744f2b)

Author SHA1 Message Date
Ralf W. Grosse-Kunstleve 2943a27a14
squash-merge smart_holder branch into master (#5542) 4 months ago
vfdev ce2f005594
Fixed data race in all_type_info in free-threading mode (#5419) 8 months ago
Michael Šimáček 75e48c5f95
Skip transient tests on GraalPy (#5422) 9 months ago
Michael Šimáček c4a05f9344
Add support for GraalPy (#5380) 9 months ago
Ralf W. Grosse-Kunstleve f1a2e03d19
feat: remove Python 3.6 support (#5177) 1 year ago
Henry Schreiner ae6432b817
fix: Python 3.13t with GIL (#5139) 1 year ago
Ralf W. Grosse-Kunstleve e250155afa
Fix a long-standing bug in the handling of Python multiple inheritance (#4762) 2 years ago
Henry Schreiner 438034c5b8
chore: move to Ruff and add rules (#4483) 2 years ago
Henry Schreiner 3efe9d4cb5
chore: update to black 23 (#4482) 2 years ago
Ralf W. Grosse-Kunstleve f12e098f1d
Fix `detail::obj_class_name()` to work correctly for meta classes. (#4436) 3 years ago
Lalaland 8ea75ab4d7
Fix casts to void* (#4275) 3 years ago
Ralf W. Grosse-Kunstleve da104a9efd
Reproducer and fix for issue encountered in smart_holder update. (#4228) 3 years ago
Ralf W. Grosse-Kunstleve 6493f496e3
Python 2 removal part 1: tests (C++ code is intentionally ~untouched) (#3688) 3 years ago
Aaron Gokaslan d0f3c51f01
Enable defining custom __new__ (#3265) 4 years ago
Aaron Gokaslan 9df2f1ff13
maint(precommit): Apply isort (#3195) 4 years ago
Henry Schreiner 84fdadfbcc chore: update pre-commit hooks 4 years ago
Yannick Jadoul 6364b732e9
fix: test_factory_constructors.py failure triggered by test_register_duplicate_class (#2564) 5 years ago
Henry Schreiner c50f90eca6
style: use Black everywhere (#2594) 5 years ago
Yannick Jadoul 71aea49b8b
Check scope's __dict__ instead of using hasattr when registering classes and exceptions (#2335) 5 years ago
Yannick Jadoul f537093a2f
Fail on passing py::object with wrong Python type to py::object subclass using PYBIND11_OBJECT macro (#2349) 5 years ago
Riyaz Haque 2b6b98e28f
Bugfix/Check actual value when deregistering pybind11 instance (#2252) 5 years ago
Yannick Jadoul c72708a746
Moving tp_class access, and consistent fully-qualified naming for PyPy, to detail::get_tp_name (#2520) 5 years ago
Henry Fredrick Schreiner 11f756f5a9 fix: type bug intruduced in #2492 5 years ago
Henry Schreiner f12ec00d70
feat: py::type::of<T>() and py::type::of(h) (#2364) 5 years ago
Henry Schreiner 4d9024ec71
tests: cleanup and ci hardening (#2397) 5 years ago
jbarlow83 4d90f1a199
Add error_scope to py::class_::dealloc() to protect destructor calls (#2342) 5 years ago
Henry Schreiner d8c7ee00a6
ci: GHA basic format & pre-commit (#2309) 5 years ago
Yannick Jadoul f980d76d38
Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 5 years ago
Dustin Spicuzza 1b0bf352fa
Throw TypeError when subclasses forget to call __init__ (#2152) 5 years ago
Dustin Spicuzza 0dfffcf257 Add is_final to disallow inheritance from Python 5 years ago
Wenzel Jakob e2eca4f8f8
Support C++17 aligned new statement (#1582) 7 years ago
oremanj e7761e3383 Fix potential crash when calling an overloaded function (#1327) 7 years ago
Jason Rhinelander adbc8111bc Use stricter brace initialization 8 years ago
Jason Rhinelander 71178922fd
__qualname__ and nested class naming fixes (#1171) 8 years ago
Wenzel Jakob 8ed5b8ab55 make implicit conversions non-reentrant (fixes #1035) (#1037) 8 years ago
Wenzel Jakob c14c2762f6 Address reference leak issue (fixes #1029) 8 years ago
Wenzel Jakob 4336a7da4a support for brace initialization 8 years ago
Dean Moldovan 234f7c39a0 Test and document binding protected member functions 8 years ago
Jason Rhinelander c4e180081d Reimplement py::init<...> to use common factory code 8 years ago
Jason Rhinelander 391c75447d Update all remaining tests to new test styles 8 years ago
Jason Rhinelander 9866a0f994 test_class: use gc_collect instead of detail_reg_inst side-effect 8 years ago
Jason Rhinelander a03408c839 Add support custom sized operator deletes (#952) 8 years ago
Dean Moldovan af2dda38ef Add a life support system for type_caster temporaries 8 years ago
Dean Moldovan 0bc272b2e9 Move tests from short translation units into their logical parents 8 years ago
Dean Moldovan 83e328f58c Split test_python_types.cpp into builtin_casters, stl and pytypes 8 years ago