2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +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

@@ -43,14 +43,6 @@ namespace detail
(converters.to_python(source))
{
}
BOOST_PYTHON_DECL void throw_no_class_registered()
{
PyErr_SetString(
PyExc_TypeError
, const_cast<char*>("class not registered for to_python type"));
throw_error_already_set();
}
}
}}} // namespace boost::python::converter