Skip to content

Upgrading mypy 0.782 to 0.790

Unknown0.782 → 0.790

Fetching 1 release from GitHub…0 / 1
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • changed: method BuildManager.parse_file(id: str, path: str, source: str, ignore_errors: bool) -> MypyFile → method BuildManager.parse_file(id: str, path: str, source: str, ignore_errors: bool, options: Options) -> MypyFile
  • changed: method ExpressionChecker.apply_type_arguments_to_callable(tp: Type, args: List[Type], ctx: Context) -> Type → method ExpressionChecker.apply_type_arguments_to_callable(tp: Type, args: Sequence[Type], ctx: Context) -> Type
  • added: function check_follow_imports(choice: str) -> str
  • changed: constructor ErrorCode(code: str, description: str, category: str) -> None → constructor ErrorCode(code: str, description: str, category: str, default_enabled: bool=…) -> None
  • added: variable error_codes
  • changed: constructor Errors(show_error_context: bool=…, show_column_numbers: bool=…, show_error_codes: bool=…, pretty: bool=…, read_source: Optional[Callable[[str], Optional[List[str]]]]=…, show_absolute_path: bool=…) -> None → constructor Errors(show_error_context: bool=…, show_column_numbers: bool=…, show_error_codes: bool=…, pretty: bool=…, read_source: Optional[Callable[[str], Optional[List[str]]]]=…, show_absolute_path: bool=…, enabled_error_codes: Optional[Set[ErrorCode]]=…, disabled_error_codes: Optional[Set[ErrorCode]]=…) -> None
  • added: method Errors.is_error_code_enabled(error_code: ErrorCode) -> bool
  • added: method Errors.most_recent_error_location() -> Tuple[int, int]
  • changed: function fail(msg: str, stderr: TextIO) -> None → function fail(msg: str, stderr: TextIO, options: Options) -> None
  • added: function maybe_write_junit_xml(td: float, serious: bool, messages: List[str], options: Options) -> None
  • added: variable TARGET_CLASS_HAS_NO_BASE_CLASS
  • added: method MessageBuilder.most_recent_context() -> Context
  • changed: function get_site_packages_dirs(python_executable: Optional[str]) -> Tuple[List[str], List[str]] → function get_site_packages_dirs(python_executable: str) -> Tuple[List[str], List[str]]
  • added: field ModuleNotFoundReason.WRONG_WORKING_DIRECTORY
  • added: variable OrderedDict
  • removed: function infer_arg_sig_from_docstring(docstr: str) -> List[ArgSig]
  • changed: function infer_prop_type_from_docstring(docstr: str) -> Optional[str] → function infer_prop_type_from_docstring(docstr: Optional[str]) -> Optional[str]
  • added: function infer_arg_sig_from_anon_docstring(docstr: str) -> List[ArgSig]
  • added: function infer_ret_type_sig_from_anon_docstring(docstr: str) -> Optional[str]
  • changed: method TypeAnalyser.analyze_type_with_type_info(info: TypeInfo, args: List[Type], ctx: Context) -> Type → method TypeAnalyser.analyze_type_with_type_info(info: TypeInfo, args: Sequence[Type], ctx: Context) -> Type
  • changed: constructor Instance(typ: mypy.nodes.TypeInfo, args: List[Type], line: int=…, column: int=…, erased: bool=…, last_known_value: Optional[LiteralType]=…) -> None → constructor Instance(typ: mypy.nodes.TypeInfo, args: Sequence[Type], line: int=…, column: int=…, erased: bool=…, last_known_value: Optional[LiteralType]=…) -> None
  • changed: constructor UnboundType(name: Optional[str], args: Optional[List[Type]]=…, line: int=…, column: int=…, optional: bool=…, empty_tuple_index: bool=…, original_str_expr: Optional[str]=…, original_str_fallback: Optional[str]=…) -> None → constructor UnboundType(name: Optional[str], args: Optional[Sequence[Type]]=…, line: int=…, column: int=…, optional: bool=…, empty_tuple_index: bool=…, original_str_expr: Optional[str]=…, original_str_fallback: Optional[str]=…) -> None
  • changed: method UnboundType.copy_modified(args: Bogus[Optional[List[Type]]]=…) -> UnboundType → method UnboundType.copy_modified(args: Bogus[Optional[Sequence[Type]]]=…) -> UnboundType
  • added: class PackageBase
  • added: class StdLibPackage(PackageBase)
  • added: class ThirdPartyPackage(PackageBase)
  • added: field PackageBase.is_dir: bool
  • added: field PackageBase.path: str
  • added: field StdLibPackage.is_dir: bool
  • added: field StdLibPackage.path: str
  • added: field StdLibPackage.py_version: Optional[str]
  • added: field ThirdPartyPackage.is_dir: bool
  • added: field ThirdPartyPackage.path: str
  • added: field ThirdPartyPackage.py2_compatible: bool
  • added: field ThirdPartyPackage.py3_compatible: bool
  • added: field ThirdPartyPackage.requires: List[str]
  • added: function add_stdlib_packages_from(subdir: str, packages: List[StdLibPackage], py_version: Optional[str]) -> None
  • added: function add_third_party_packages_from(subdir: str, packages: List[ThirdPartyPackage], py2_compatible: bool, py3_compatible: bool) -> None
  • added: function collect_stdlib_packages() -> Tuple[List[StdLibPackage], List[StdLibPackage]]
  • added: function collect_third_party_packages() -> Tuple[List[ThirdPartyPackage], List[ThirdPartyPackage]]
  • added: function copy_stdlib(packages: List[StdLibPackage], py2_packages: List[StdLibPackage]) -> None
  • added: function copy_third_party(packages: List[ThirdPartyPackage], py2_packages: List[ThirdPartyPackage]) -> None
  • added: function generate_metadata(package: ThirdPartyPackage, py2_packages: List[str]) -> str
  • added: function generate_versions(packages: List[StdLibPackage]) -> str
  • added: function get_top_imported_names(file: str) -> Set[str]
  • added: function main() -> None
  • added: function populate_requirements(package: ThirdPartyPackage, stdlib: List[str], py2_stdlib: List[str], known_distributions: Set[str]) -> None
  • added: property PackageBase.name -> str
  • added: variable DEFAULT_PY3_VERSION
  • added: variable DEFAULT_VERSION
  • added: variable MISSING_WHITELIST
  • added: variable OUTPUT_DIR
  • added: variable PY2_NAMESPACE
  • added: variable STDLIB_NAMESPACE
  • added: variable THIRD_PARTY_NAMESPACE
  • added: variable known_versions
  • added: variable package_to_distribution
  • removed: variable DEFAULT_COLUMNS
  • removed: class AnalysisResult(Generic[T])
  • removed: class BaseAnalysisVisitor(OpVisitor[GenAndKill])
  • removed: class BorrowedArgumentsVisitor(BaseAnalysisVisitor)
  • removed: class CFG
  • removed: class DefinedVisitor(BaseAnalysisVisitor)
  • removed: class LivenessVisitor(BaseAnalysisVisitor)
  • removed: class UndefinedVisitor(BaseAnalysisVisitor)
  • removed: constructor AnalysisResult(before: AnalysisDict[T], after: AnalysisDict[T]) -> None
  • removed: constructor BorrowedArgumentsVisitor(args: Set[Value]) -> None
  • removed: constructor CFG(succ: Dict[BasicBlock, List[BasicBlock]], pred: Dict[BasicBlock, List[BasicBlock]], exits: Set[BasicBlock]) -> None
  • removed: function analyze_borrowed_arguments(blocks: List[BasicBlock], cfg: CFG, borrowed: Set[Value]) -> AnalysisResult[Value]
  • removed: function analyze_live_regs(blocks: List[BasicBlock], cfg: CFG) -> AnalysisResult[Value]
  • removed: function analyze_maybe_defined_regs(blocks: List[BasicBlock], cfg: CFG, initial_defined: Set[Value]) -> AnalysisResult[Value]
  • removed: function analyze_must_defined_regs(blocks: List[BasicBlock], cfg: CFG, initial_defined: Set[Value], regs: Iterable[Value]) -> AnalysisResult[Value]
  • removed: function analyze_undefined_regs(blocks: List[BasicBlock], cfg: CFG, env: Environment, initial_defined: Set[Value]) -> AnalysisResult[Value]
  • removed: function cleanup_cfg(blocks: List[BasicBlock]) -> None
  • removed: function get_cfg(blocks: List[BasicBlock]) -> CFG
  • removed: function get_real_target(label: BasicBlock) -> BasicBlock
  • removed: function run_analysis(blocks: List[BasicBlock], cfg: CFG, gen_and_kill: OpVisitor[Tuple[Set[T], Set[T]]], initial: Set[T], kind: int, backward: bool, universe: Optional[Set[T]]=…) -> AnalysisResult[T]
  • removed: method BaseAnalysisVisitor.visit_assign(op: Assign) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_box(op: Box) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_call(op: Call) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_call_c(op: CallC) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_cast(op: Cast) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_get_attr(op: GetAttr) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_goto(op: Goto) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_init_static(op: InitStatic) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_load_error_value(op: LoadErrorValue) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_load_int(op: LoadInt) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_load_static(op: LoadStatic) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_method_call(op: MethodCall) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_primitive_op(op: PrimitiveOp) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_raise_standard_error(op: RaiseStandardError) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_register_op(op: RegisterOp) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_set_attr(op: SetAttr) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_tuple_get(op: TupleGet) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_tuple_set(op: TupleSet) -> GenAndKill
  • removed: method BaseAnalysisVisitor.visit_unbox(op: Unbox) -> GenAndKill
  • removed: method BorrowedArgumentsVisitor.visit_assign(op: Assign) -> GenAndKill
  • removed: method BorrowedArgumentsVisitor.visit_branch(op: Branch) -> GenAndKill
  • removed: method BorrowedArgumentsVisitor.visit_register_op(op: RegisterOp) -> GenAndKill
  • removed: method BorrowedArgumentsVisitor.visit_return(op: Return) -> GenAndKill
  • removed: method BorrowedArgumentsVisitor.visit_unreachable(op: Unreachable) -> GenAndKill
  • removed: method DefinedVisitor.visit_assign(op: Assign) -> GenAndKill
  • removed: method DefinedVisitor.visit_branch(op: Branch) -> GenAndKill
  • removed: method DefinedVisitor.visit_register_op(op: RegisterOp) -> GenAndKill
  • removed: method DefinedVisitor.visit_return(op: Return) -> GenAndKill
  • removed: method DefinedVisitor.visit_unreachable(op: Unreachable) -> GenAndKill
  • removed: method LivenessVisitor.visit_assign(op: Assign) -> GenAndKill
  • removed: method LivenessVisitor.visit_branch(op: Branch) -> GenAndKill
  • removed: method LivenessVisitor.visit_register_op(op: RegisterOp) -> GenAndKill
  • removed: method LivenessVisitor.visit_return(op: Return) -> GenAndKill
  • removed: method LivenessVisitor.visit_unreachable(op: Unreachable) -> GenAndKill
  • removed: method UndefinedVisitor.visit_assign(op: Assign) -> GenAndKill
  • removed: method UndefinedVisitor.visit_branch(op: Branch) -> GenAndKill
  • removed: method UndefinedVisitor.visit_register_op(op: RegisterOp) -> GenAndKill
  • removed: method UndefinedVisitor.visit_return(op: Return) -> GenAndKill
  • removed: method UndefinedVisitor.visit_unreachable(op: Unreachable) -> GenAndKill
  • removed: variable AnalysisDict
  • removed: variable GenAndKill
  • removed: variable MAYBE_ANALYSIS
  • removed: variable MUST_ANALYSIS
  • removed: variable T
  • added: function generate_new_for_trait(cl: ClassIR, func_name: str, emitter: Emitter) -> None
  • changed: constructor FunctionEmitterVisitor(emitter: Emitter, declarations: Emitter, source_path: str, module_name: str) -> None → constructor FunctionEmitterVisitor(emitter: Emitter, declarations: Emitter, source_path: str, module_name: str, const_int_regs: Dict[str, int]) -> None
  • changed: function generate_native_function(fn: FuncIR, emitter: Emitter, source_path: str, module_name: str) -> None → function generate_native_function(fn: FuncIR, emitter: Emitter, source_path: str, module_name: str, optimize_int: bool=…) -> None
  • added: method FunctionEmitterVisitor.emit_signed_int_cast(type: RType) -> str
  • added: method FunctionEmitterVisitor.emit_traceback(op: Branch) -> None
  • added: method FunctionEmitterVisitor.emit_unsigned_int_cast(type: RType) -> str
  • added: method FunctionEmitterVisitor.visit_binary_int_op(op: BinaryIntOp) -> None
  • added: method FunctionEmitterVisitor.visit_get_element_ptr(op: GetElementPtr) -> None
  • added: method FunctionEmitterVisitor.visit_load_address(op: LoadAddress) -> None
  • added: method FunctionEmitterVisitor.visit_load_global(op: LoadGlobal) -> None
  • added: method FunctionEmitterVisitor.visit_load_mem(op: LoadMem) -> None
  • added: method FunctionEmitterVisitor.visit_truncate(op: Truncate) -> None
  • added: variable IS_32_BIT_PLATFORM
  • added: variable PLATFORM_SIZE
  • added: variable RUNTIME_C_FILES
  • added: function find_constant_integer_registers(blocks: List[BasicBlock]) -> Dict[str, int]
  • changed: function format_blocks(blocks: List[BasicBlock], env: Environment) -> List[str] → function format_blocks(blocks: List[BasicBlock], env: Environment, const_regs: Dict[str, int]) -> List[str]
  • removed: field CallC.error_kind
  • changed: constructor CallC(function_name: str, args: List[Value], ret_type: RType, line: int) -> None → constructor CallC(function_name: str, args: List[Value], ret_type: RType, steals: StealsDescription, error_kind: int, line: int, var_arg_idx: int=…) -> None
  • changed: constructor LoadInt(value: int, line: int=…) -> None → constructor LoadInt(value: int, line: int=…, rtype: RType=…) -> None
  • changed: method Environment.to_lines() -> List[str] → method Environment.to_lines(const_regs: Optional[Dict[str, int]]=…) -> List[str]
  • added: class BinaryIntOp(RegisterOp)
  • added: class GetElementPtr(RegisterOp)
  • added: class LoadAddress(RegisterOp)
  • added: class LoadGlobal(RegisterOp)
  • added: class LoadMem(RegisterOp)
  • added: class Truncate(RegisterOp)
  • added: constructor BinaryIntOp(type: RType, lhs: Value, rhs: Value, op: int, line: int=…) -> None
  • added: constructor GetElementPtr(src: Value, src_type: RType, field: str, line: int=…) -> None
  • added: constructor LoadAddress(type: RType, src: str, line: int=…) -> None
  • added: constructor LoadGlobal(type: RType, identifier: str, line: int=…, ann: object=…) -> None
  • added: constructor LoadMem(type: RType, src: Value, base: Optional[Value], line: int=…) -> None
  • added: constructor Truncate(src: Value, src_type: RType, dst_type: RType, line: int=…) -> None
  • added: field BinaryIntOp.ADD
  • added: field BinaryIntOp.AND
  • added: field BinaryIntOp.DIV
  • added: field BinaryIntOp.EQ
  • added: field BinaryIntOp.LEFT_SHIFT
  • added: field BinaryIntOp.MOD
  • added: field BinaryIntOp.MUL
  • added: field BinaryIntOp.NEQ
  • added: field BinaryIntOp.OR
  • added: field BinaryIntOp.RIGHT_SHIFT
  • added: field BinaryIntOp.SGE
  • added: field BinaryIntOp.SGT
  • added: field BinaryIntOp.SLE
  • added: field BinaryIntOp.SLT
  • added: field BinaryIntOp.SUB
  • added: field BinaryIntOp.UGE
  • added: field BinaryIntOp.UGT
  • added: field BinaryIntOp.ULE
  • added: field BinaryIntOp.ULT
  • added: field BinaryIntOp.XOR
  • added: field BinaryIntOp.error_kind
  • added: field BinaryIntOp.op_str
  • added: field Branch.NEG_INT_EXPR
  • added: field GetElementPtr.error_kind
  • added: field LoadAddress.error_kind
  • added: field LoadAddress.is_borrowed
  • added: field LoadGlobal.error_kind
  • added: field LoadGlobal.is_borrowed
  • added: field LoadMem.error_kind
  • added: field RaiseStandardError.NAME_ERROR
  • added: field Truncate.error_kind
  • added: method BinaryIntOp.accept(visitor: OpVisitor[T]) -> T
  • added: method BinaryIntOp.sources() -> List[Value]
  • added: method BinaryIntOp.to_str(env: Environment) -> str
  • added: method CallC.stolen() -> List[Value]
  • added: method GetElementPtr.accept(visitor: OpVisitor[T]) -> T
  • added: method GetElementPtr.sources() -> List[Value]
  • added: method GetElementPtr.to_str(env: Environment) -> str
  • added: method LoadAddress.accept(visitor: OpVisitor[T]) -> T
  • added: method LoadAddress.sources() -> List[Value]
  • added: method LoadAddress.to_str(env: Environment) -> str
  • added: method LoadGlobal.accept(visitor: OpVisitor[T]) -> T
  • added: method LoadGlobal.sources() -> List[Value]
  • added: method LoadGlobal.to_str(env: Environment) -> str
  • added: method LoadMem.accept(visitor: OpVisitor[T]) -> T
  • added: method LoadMem.sources() -> List[Value]
  • added: method LoadMem.to_str(env: Environment) -> str
  • added: method OpVisitor.visit_binary_int_op(op: BinaryIntOp) -> T
  • added: method OpVisitor.visit_get_element_ptr(op: GetElementPtr) -> T
  • added: method OpVisitor.visit_load_address(op: LoadAddress) -> T
  • added: method OpVisitor.visit_load_global(op: LoadGlobal) -> T
  • added: method OpVisitor.visit_load_mem(op: LoadMem) -> T
  • added: method OpVisitor.visit_truncate(op: Truncate) -> T
  • added: method Truncate.accept(visitor: OpVisitor[T]) -> T
  • added: method Truncate.sources() -> List[Value]
  • added: method Truncate.stolen() -> List[Value]
  • added: method Truncate.to_str(env: Environment) -> str
  • added: variable ERR_ALWAYS
  • added: variable ERR_NEG_INT
  • changed: constructor RPrimitive(name: str, is_unboxed: bool, is_refcounted: bool, ctype: str=…) -> None → constructor RPrimitive(name: str, is_unboxed: bool, is_refcounted: bool, ctype: str=…, size: int=…) -> None
  • added: class RStruct(RType)
  • added: constructor RStruct(name: str, names: List[str], types: List[RType]) -> None
  • added: function compute_aligned_offsets_and_size(types: List[RType]) -> Tuple[List[int], int]
  • added: function compute_rtype_alignment(typ: RType) -> int
  • added: function compute_rtype_size(typ: RType) -> int
  • added: function is_c_py_ssize_t_rprimitive(rtype: RType) -> bool
  • added: function is_int32_rprimitive(rtype: RType) -> bool
  • added: function is_int64_rprimitive(rtype: RType) -> bool
  • added: function is_pointer_rprimitive(rtype: RType) -> bool
  • added: function is_tagged(rtype: RType) -> bool
  • added: method RStruct.accept(visitor: RTypeVisitor[T]) -> T
  • added: method RStruct.serialize() -> JsonDict
  • added: method RTypeVisitor.visit_rstruct(typ: RStruct) -> T
  • added: method TupleNameVisitor.visit_rstruct(t: RStruct) -> str
  • added: static method RStruct.deserialize(data: JsonDict, ctx: DeserMaps) -> RStruct
  • added: variable PyObject
  • added: variable PySetObject
  • added: variable PyVarObject
  • added: variable c_int_rprimitive
  • added: variable c_pyssize_t_rprimitive
  • added: variable int32_rprimitive
  • added: variable int64_rprimitive
  • added: variable pointer_rprimitive
  • added: variable setentry
  • added: variable smalltable
  • added: method IRBuilder.binary_int_op(type: RType, lhs: Value, rhs: Value, op: int, line: int) -> Value
  • added: method IRBuilder.builtin_len(val: Value, line: int) -> Value
  • added: method IRBuilder.call_c(desc: CFunctionDescription, args: List[Value], line: int) -> Value
  • added: method IRBuilder.compare_tagged(lhs: Value, rhs: Value, op: str, line: int) -> Value
  • added: method IRBuilder.false() -> Value
  • added: method IRBuilder.new_tuple(items: List[Value], line: int) -> Value
  • added: method IRBuilder.none() -> Value
  • added: method IRBuilder.true() -> Value
  • changed: method LowLevelIRBuilder.call_c(function_name: str, args: List[Value], line: int, result_type: Optional[RType]) -> Value → method LowLevelIRBuilder.call_c(desc: CFunctionDescription, args: List[Value], line: int, result_type: Optional[RType]=…) -> Value
  • added: method LowLevelIRBuilder.binary_int_op(type: RType, lhs: Value, rhs: Value, op: int, line: int) -> Value
  • added: method LowLevelIRBuilder.builtin_len(val: Value, line: int) -> Value
  • added: method LowLevelIRBuilder.check_tagged_short_int(val: Value, line: int) -> Value
  • added: method LowLevelIRBuilder.compare_tagged(lhs: Value, rhs: Value, op: str, line: int) -> Value
  • added: method LowLevelIRBuilder.false() -> Value
  • added: method LowLevelIRBuilder.load_static_checked(typ: RType, identifier: str, module_name: Optional[str]=…, namespace: str=…, line: int=…, error_msg: Optional[str]=…) -> Value
  • added: method LowLevelIRBuilder.new_tuple(items: List[Value], line: int) -> Value
  • added: method LowLevelIRBuilder.true() -> Value
  • changed: function any_all_helper(builder: IRBuilder, gen: GeneratorExpr, initial_value_op: OpDescription, modify: Callable[[Value], Value], new_value_op: OpDescription) -> Value → function any_all_helper(builder: IRBuilder, gen: GeneratorExpr, initial_value: Callable[[], Value], modify: Callable[[Value], Value], new_value: Callable[[], Value]) -> Value
  • removed: function emit_len(emitter: EmitterInterface, args: List[str], dest: str) -> None
  • removed: function emit_new_dict(emitter: EmitterInterface, args: List[str], dest: str) -> None
  • removed: variable new_dict_op
  • added: variable dict_build_op
  • added: variable dict_new_op
  • added: variable dict_size_op
  • added: variable generic_len_op
  • removed: function int_compare_op(op: str, c_func_name: str) -> None
  • removed: variable unsafe_short_add
  • changed: function int_binary_op(op: str, c_func_name: str, result_type: RType=…, error_kind: int=…) -> None → function int_binary_op(name: str, c_function_name: str, return_type: RType=…, error_kind: int=…) -> None
  • changed: function int_unary_op(op: str, c_func_name: str) -> OpDescription → function int_unary_op(name: str, c_function_name: str) -> CFunctionDescription
  • added: variable IntLogicalOpDescrption
  • added: variable int_equal_
  • added: variable int_less_than_
  • added: variable int_logical_op_mapping
  • removed: variable list_len_op
  • removed: variable false_op
  • removed: variable none_op
  • removed: variable true_op
  • changed: function c_method_op(name: str, arg_types: List[RType], result_type: Optional[RType], c_function_name: str, error_kind: int, priority: int=…) -> None → function c_method_op(name: str, arg_types: List[RType], return_type: RType, c_function_name: str, error_kind: int, var_arg_type: Optional[RType]=…, truncated_type: Optional[RType]=…, ordering: Optional[List[int]]=…, extra_int_constant: Optional[Tuple[int, RType]]=…, steals: StealsDescription=…, priority: int=…) -> CFunctionDescription
  • added: function c_binary_op(name: str, arg_types: List[RType], return_type: RType, c_function_name: str, error_kind: int, var_arg_type: Optional[RType]=…, truncated_type: Optional[RType]=…, ordering: Optional[List[int]]=…, extra_int_constant: Optional[Tuple[int, RType]]=…, steals: StealsDescription=…, priority: int=…) -> CFunctionDescription
  • added: function c_custom_op(arg_types: List[RType], return_type: RType, c_function_name: str, error_kind: int, var_arg_type: Optional[RType]=…, truncated_type: Optional[RType]=…, ordering: Optional[List[int]]=…, extra_int_constant: Optional[Tuple[int, RType]]=…, steals: StealsDescription=…) -> CFunctionDescription
  • added: function c_function_op(name: str, arg_types: List[RType], return_type: RType, c_function_name: str, error_kind: int, var_arg_type: Optional[RType]=…, truncated_type: Optional[RType]=…, ordering: Optional[List[int]]=…, extra_int_constant: Optional[Tuple[int, RType]]=…, steals: StealsDescription=…, priority: int=…) -> CFunctionDescription
  • added: function c_unary_op(name: str, arg_type: RType, return_type: RType, c_function_name: str, error_kind: int, truncated_type: Optional[RType]=…, ordering: Optional[List[int]]=…, extra_int_constant: Optional[Tuple[int, RType]]=…, steals: StealsDescription=…, priority: int=…) -> CFunctionDescription
  • added: function load_address_op(name: str, type: RType, src: str) -> LoadAddressDescription
  • added: variable LoadAddressDescription
  • added: variable builtin_names
  • added: variable c_binary_ops
  • added: variable c_function_ops
  • added: variable c_unary_ops
  • removed: function emit_len(emitter: EmitterInterface, args: List[str], dest: str) -> None
  • removed: function emit_len(emitter: EmitterInterface, args: List[str], dest: str) -> None
  • removed: variable tuple_len_op
  • added: method RTSubtypeVisitor.visit_rstruct(left: RStruct) -> bool
  • added: method SameTypeVisitor.visit_rstruct(left: RStruct) -> bool
  • added: method SubtypeVisitor.visit_rstruct(left: RStruct) -> bool
  • changed: function split_blocks_at_errors(blocks: List[BasicBlock], default_error_handler: BasicBlock, func_name: Optional[str]) -> List[BasicBlock] → function split_blocks_at_errors(blocks: List[BasicBlock], default_error_handler: BasicBlock, func_name: Optional[str], env: Environment) -> List[BasicBlock]