mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
added support for sharing of extension_classes across modules
[SVN r8399]
This commit is contained in:
@@ -30,7 +30,7 @@ module_builder::module_builder(const char* name)
|
||||
: m_module(Py_InitModule(const_cast<char*>(name), initial_methods))
|
||||
{
|
||||
// If this fails, you've created more than 1 module_builder object in your module
|
||||
assert(name_holder.get() == 0);
|
||||
// assert(name_holder.get() == 0);
|
||||
name_holder = ref(PyObject_GetAttrString(m_module, const_cast<char*>("__name__")));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user