raise_py_exception='%s(); if (!PyErr_Occurred()) PyErr_SetString(PyExc_RuntimeError , "Error converting c++ exception.")'%func_type.exception_value.entry.cname
code.putln(
...
...
@@ -3719,7 +3726,6 @@ class DictNode(ExprNode):
is_temp=1
type=dict_type
type=dict_type
obj_conversion_errors=[]
defcalculate_constant_result(self):
...
...
@@ -4069,7 +4075,7 @@ class UnopNode(ExprNode):
self.analyse_c_operation(env)
defcheck_const(self):
self.operand.check_const()
returnself.operand.check_const()
defis_py_operation(self):
returnself.operand.type.is_pyobject
...
...
@@ -4172,6 +4178,11 @@ class UnaryMinusNode(UnopNode):