2
0
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:
Dave Abrahams
2002-11-25 01:57:57 +00:00
parent 31b8b58de9
commit cfbc1a6b48
16 changed files with 77 additions and 83 deletions

View File

@@ -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);
}