[C++-sig] Module import / type registration performance

2016-03-19 Thread John Loy
Hi Everyone, I recently opened a pull request for a pair of changes to improve the time and memory costs when registering types and I'd like to also solicit feedback from the list. https://github.com/boostorg/python/pull/62 The brief summary is that there are a couple of places in the inheritan

[C++-sig] variant_adaptor

2016-03-19 Thread Mario Lang
Hi. While I haven't really found a way to get reference semantics (hints appreciated), I have now made my discoveries from https://blind.guru/boost_python-and-boost_variant.html into a handy little utility class. This is the best I was able to figure out regarding integration of boost::python wit