pybind11/include/pybind11
Aaron Gokaslan d0f3c51f01
Enable defining custom __new__ (#3265)
* Enable defining custom __new__

* See if xfail needed

* Qualify auto self

* Unconditionally defining PYBIND11_DISABLE_NEW_STYLE_INIT_WARNING. Returning pointer from "__init__" instead of reference.

* Use new style __init__

* Simplify __new__ creation

* Reviewer suggestions

* Match indentation

Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
2021-09-20 10:42:14 -04:00
..
detail Eliminate duplicate TLS keys for loader_life_support stack (#3275) 2021-09-20 04:57:38 -07:00
stl maint(clang-tidy): Improve code readability with explicit boolean casts (#3148) 2021-07-27 15:32:26 -07:00
attr.h CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
buffer_info.h Removing MSVC C4800 from pragma block at the top of pybind11.h (#3141) 2021-07-26 13:26:36 -07:00
cast.h Fixing NOLINT mishap (#3260) 2021-09-10 10:16:09 -04:00
chrono.h Accommodating environments that define __STDC_WANT_LIB_EXT1__ even if __STDC_LIB_EXT1__ is not defined by the implementation. (#3151) 2021-07-28 08:58:36 -07:00
common.h Add a dummy common.h header with a deprecation warning 2017-09-06 15:22:26 +02:00
complex.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
eigen.h CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
embed.h CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
eval.h fix: Set __file__ constant when using eval_file (#1300) (#3233) 2021-09-09 14:06:33 -04:00
functional.h CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
gil.h Eliminate duplicate TLS keys for loader_life_support stack (#3275) 2021-09-20 04:57:38 -07:00
iostream.h CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
numpy.h include/pybind11/numpy.h: gcc 4.8.4 does not have is_trivially_copyable (#3270) 2021-09-15 14:01:24 -07:00
operators.h Cleanup of file-scoped and globally-scoped warning suppression pragmas across pybind11 header files. (#3201) 2021-08-19 11:37:04 -07:00
options.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
pybind11.h Enable defining custom __new__ (#3265) 2021-09-20 10:42:14 -04:00
pytypes.h Follow-on to PR #3254, to address user code breakages. (#3263) 2021-09-12 19:53:26 -07:00
stl_bind.h Move object in pop method of List. (#3116) 2021-07-20 11:48:09 -04:00
stl.h Adding ssize_t_cast to support passing size_t or ssize_t values where ssize_t is needed. (#3219) 2021-08-28 16:40:46 -07:00