Lines Matching refs:common_type
9839 def find_common_type(self, env, op, operand1, common_type=None):
9867 elif common_type is None or not common_type.is_pyobject:
9907 if common_type is None or new_common_type.is_error:
9908 common_type = new_common_type
9913 common_type = PyrexTypes.spanning_type(common_type, new_common_type)
9916 common_type = self.cascade.find_common_type(env, self.operator, operand2, common_type)
9918 return common_type
10059 common_type = py_object_type
10061 common_type = PyrexTypes.widest_numeric_type(type1, type2)
10063 common_type = type1
10064 code1 = operand1.result_as(common_type)
10065 code2 = operand2.result_as(common_type)
10134 common_type = None
10157 common_type = None # if coercion needed, the method call above has already done it
10160 common_type = py_object_type
10165 common_type = None # if coercion needed, the method call above has already done it
10168 common_type = self.find_common_type(env, self.operator, self.operand1)
10169 self.is_pycmp = common_type.is_pyobject
10171 if common_type is not None and not common_type.is_error:
10172 if self.operand1.type != common_type:
10173 self.operand1 = self.operand1.coerce_to(common_type, env)
10174 self.coerce_operands_to(common_type, env)