pybind11/include
Jason Rhinelander 2640c950ca Stash std::strings used for tp_name in internals
Types need `tp_name` set to a C-style string, but the current `strdup`
ends up with a leak (issue #977).  This avoids the strdup by storing
the `std::string` in internals so that during interpreter shutdown it
will be properly destroyed.
2017-08-05 11:22:15 -04:00
..
pybind11 Stash std::strings used for tp_name in internals 2017-08-05 11:22:15 -04:00