test_methods_and_attributes.py
11 KB
-
Enable static properties (py::metaclass) by default · dd01665e
Now that only one shared metaclass is ever allocated, it's extremely cheap to enable it for all pybind11 types. * Deprecate the default py::metaclass() since it's not needed anymore. * Allow users to specify a custom metaclass via py::metaclass(handle).
Dean Moldovan committed