Commit a716b4d1 authored by Robert Bradshaw's avatar Robert Bradshaw

Dissallow pyobjects in conversion.

parent 2adf9051
...@@ -3022,7 +3022,7 @@ class CppClassType(CType): ...@@ -3022,7 +3022,7 @@ class CppClassType(CType):
tags = [] tags = []
context = {} context = {}
for ix, T in enumerate(self.templates or []): for ix, T in enumerate(self.templates or []):
if not T.create_from_py_utility_code(env): if T.is_pyobject or not T.create_from_py_utility_code(env):
return False return False
tags.append(T.specialization_name()) tags.append(T.specialization_name())
# TODO: exception values # TODO: exception values
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment