mirror of
https://github.com/boostorg/python.git
synced 2026-01-27 07:02:15 +00:00
Fully removed convertible() test from to_python converter protocol
Added tests for detecting unregistered classes when converting indirectly to python. [SVN r16396]
This commit is contained in:
@@ -169,7 +169,7 @@ enum_base::enum_base(
|
||||
= const_cast<converter::registration&>(
|
||||
converter::registry::lookup(id));
|
||||
|
||||
converters.class_object = downcast<PyTypeObject>(this->ptr());
|
||||
converters.m_class_object = downcast<PyTypeObject>(this->ptr());
|
||||
converter::registry::insert(to_python, id);
|
||||
converter::registry::insert(convertible, construct, id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user