Unverified Commit d0f3c51f authored by Aaron Gokaslan's avatar Aaron Gokaslan Committed by GitHub
Browse files

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: default avatarRalf W. Grosse-Kunstleve <rwgk@google.com>
parent 14976c85
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment