Skip to content

Upgrading mypy 0.560 to 0.570

Unknown0.560 → 0.570

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.

Drops psutil.

Installs 1 package in all (was 2).

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

  • changed: constructor BuildManager(data_dir: str, lib_path: List[str], ignore_prefix: str, source_set: BuildSourceSet, reports: Reports, options: Options, version_id: str, plugin: Plugin, errors: Errors, saved_cache: Optional[SavedCache]=…) -> None → constructor BuildManager(data_dir: str, lib_path: List[str], ignore_prefix: str, source_set: BuildSourceSet, reports: Reports, options: Options, version_id: str, plugin: Plugin, errors: Errors, flush_errors: Callable[[List[str], bool], None], saved_cache: Optional[SavedCache]=…) -> None
  • changed: function build(sources: List[BuildSource], options: Options, alt_lib_path: Optional[str]=…, bin_dir: Optional[str]=…, saved_cache: Optional[SavedCache]=…) -> BuildResult → function build(sources: List[BuildSource], options: Options, alt_lib_path: Optional[str]=…, bin_dir: Optional[str]=…, saved_cache: Optional[SavedCache]=…, flush_errors: Optional[Callable[[List[str], bool], None]]=…) -> BuildResult
  • changed: function write_cache(id: str, path: str, tree: MypyFile, dependencies: List[str], suppressed: List[str], child_modules: List[str], dep_prios: List[int], old_interface_hash: str, source_hash: str, ignore_all: bool, manager: BuildManager) -> Tuple[str, Optional[CacheMeta]] → function write_cache(id: str, path: str, tree: MypyFile, serialized_fine_grained_deps: Dict[str, List[str]], dependencies: List[str], suppressed: List[str], child_modules: List[str], dep_prios: List[int], dep_lines: List[int], old_interface_hash: str, source_hash: str, ignore_all: bool, manager: BuildManager) -> Tuple[str, Optional[CacheMeta]]
  • added: field State.fine_grained_deps
  • added: method BuildManager.log_fine_grained(*message: str) -> None
  • added: method State.compute_fine_grained_deps() -> None
  • added: method State.dependency_lines() -> List[int]
  • added: method State.generate_unused_ignore_notes() -> None
  • added: variable DEBUG_FINE_GRAINED
  • removed: function conditional_callable_type_map(expr: Expression, current_type: Optional[Type]) -> Tuple[TypeMap, TypeMap]
  • removed: function find_isinstance_check(node: Expression, type_map: Dict[Expression, Type]) -> Tuple[TypeMap, TypeMap]
  • removed: function partition_by_callable(type: Type) -> Tuple[List[Type], List[Type]]
  • removed: variable LAST_PASS
  • changed: method TypeChecker.check_partial(node: Union[FuncDef, LambdaExpr, MypyFile]) -> None → method TypeChecker.check_partial(node: Union[FuncDef, LambdaExpr, MypyFile, OverloadedFuncDef]) -> None
  • changed: method TypeChecker.enter_partial_types() -> Iterator[None] → method TypeChecker.enter_partial_types(*, is_function: bool=…, is_class: bool=…) -> Iterator[None]
  • changed: method TypeChecker.find_isinstance_check(n: Expression) -> Tuple[TypeMap, TypeMap] → method TypeChecker.find_isinstance_check(node: Expression) -> Tuple[TypeMap, TypeMap]
  • added: field TypeChecker.last_pass
  • added: function gen_unique_name(base: str, table: SymbolTable) -> str
  • added: function is_literal_not_implemented(n: Expression) -> bool
  • added: method TypeChecker.conditional_callable_type_map(expr: Expression, current_type: Optional[Type]) -> Tuple[TypeMap, TypeMap]
  • added: method TypeChecker.find_partial_types_in_all_scopes(var: Var) -> Tuple[bool, Optional[Dict[Var, Context]]]
  • added: method TypeChecker.intersect_instance_callable(typ: Instance, callable_type: CallableType) -> Instance
  • added: method TypeChecker.is_defined_in_base_class(var: Var) -> bool
  • added: method TypeChecker.make_fake_callable(typ: Instance) -> Instance
  • added: method TypeChecker.partition_by_callable(typ: Type, unsound_partition: bool) -> Tuple[List[Type], List[Type]]
  • added: variable DEFAULT_LAST_PASS
  • added: variable PartialTypeScope
  • changed: function handle_partial_attribute_type(typ: PartialType, is_lvalue: bool, msg: MessageBuilder, context: Context) -> Type → function handle_partial_attribute_type(typ: PartialType, is_lvalue: bool, msg: MessageBuilder, node: SymbolNode) -> Type
  • changed: function action(subparser: argparse.ArgumentParser) -> Callable[[ActionFunction], None] → function action(subparser: argparse.ArgumentParser) -> Callable[[ActionFunction], ActionFunction]
  • changed: function check_output(response: Dict[str, Any], quiet: bool) -> None → function check_output(response: Dict[str, Any], verbose: bool) -> None
  • changed: function request(command: str, **kwds: object) -> Dict[str, Any] → function request(command: str, *, timeout: Optional[float]=…, **kwds: object) -> Dict[str, Any]
  • added: class BadStatus(Exception)
  • added: function start_server(args: argparse.Namespace) -> None
  • added: variable p
  • removed: class GcLogger
  • removed: method GcLogger.gc_callback(phase: str, info: Mapping[str, int]) -> None
  • removed: method GcLogger.get_stats() -> Dict[str, float]
  • changed: function get_meminfo() -> Mapping[str, float] → function get_meminfo() -> Dict[str, Any]
  • added: method Server.check_default(sources: List[mypy.build.BuildSource], alt_lib_path: Optional[str]=…) -> Dict[str, Any]
  • added: method Server.check_fine_grained(sources: List[mypy.build.BuildSource]) -> Dict[str, Any]
  • added: method Server.find_changed(sources: List[mypy.build.BuildSource]) -> List[Tuple[str, str]]
  • added: method Server.fine_grained_increment(sources: List[mypy.build.BuildSource]) -> Dict[str, Any]
  • added: method Server.initialize_fine_grained(sources: List[mypy.build.BuildSource]) -> Dict[str, Any]
  • added: method Server.update_sources(sources: List[mypy.build.BuildSource]) -> None
  • removed: field Errors.error_files
  • removed: field Errors.error_info
  • removed: field Errors.target
  • removed: method Errors.messages() -> List[str]
  • removed: method Errors.pop_target_component() -> None
  • removed: method Errors.push_target_component(name: str) -> None
  • changed: method Errors.generate_unused_ignore_notes() -> None → method Errors.generate_unused_ignore_notes(file: str) -> None
  • changed: method Errors.set_file(file: str, module: Optional[str], ignored_lines: Optional[Set[int]]=…) -> None → method Errors.set_file(file: str, module: Optional[str]) -> None
  • added: field ErrorInfo.origin
  • added: field Errors.error_info_map
  • added: field Errors.flushed_files
  • added: field Errors.target_class
  • added: field Errors.target_function
  • added: field Errors.target_ignore_depth
  • added: field Errors.target_module
  • added: method Errors.file_messages(path: str) -> List[str]
  • added: method Errors.format_messages(error_info: List[ErrorInfo]) -> List[str]
  • added: method Errors.new_messages() -> List[str]
  • changed: function parse(source: Union[str, bytes], fnam: str, module: Optional[str], errors: Optional[Errors]=…, options: Options=…) -> MypyFile → function parse(source: Union[str, bytes], fnam: str, module: Optional[str], errors: Optional[Errors]=…, options: Optional[Options]=…) -> MypyFile
  • changed: method ASTConverter.visit_List(n: ast3.List) -> ListExpr → method ASTConverter.visit_List(n: ast3.List) -> Union[ListExpr, TupleExpr]
  • changed: function parse(source: Union[str, bytes], fnam: str, module: Optional[str], errors: Optional[Errors]=…, options: Options=…) -> MypyFile → function parse(source: Union[str, bytes], fnam: str, module: Optional[str], errors: Optional[Errors]=…, options: Optional[Options]=…) -> MypyFile
  • changed: method ASTConverter.visit_List(n: ast27.List) -> ListExpr → method ASTConverter.visit_List(n: ast27.List) -> Union[ListExpr, TupleExpr]
  • added: class FileSystemCache
  • added: constructor FileSystemCache(pyversion: Tuple[int, int]) -> None
  • added: method FileSystemCache.exists(path: str) -> bool
  • added: method FileSystemCache.flush() -> None
  • added: method FileSystemCache.isdir(path: str) -> bool
  • added: method FileSystemCache.isfile(path: str) -> bool
  • added: method FileSystemCache.listdir(path: str) -> List[str]
  • added: method FileSystemCache.md5(path: str) -> str
  • added: method FileSystemCache.read_with_python_encoding(path: str) -> str
  • added: method FileSystemCache.stat(path: str) -> os.stat_result
  • added: class FileSystemWatcher
  • added: constructor FileSystemWatcher(fs: FileSystemCache) -> None
  • added: method FileSystemWatcher.add_watched_paths(paths: Iterable[str]) -> None
  • added: method FileSystemWatcher.find_changed() -> Set[str]
  • added: method FileSystemWatcher.remove_watched_paths(paths: Iterable[str]) -> None
  • added: method FileSystemWatcher.set_file_data(path: str, data: FileData) -> None
  • added: property FileSystemWatcher.paths -> AbstractSet[str]
  • added: variable FileData
  • added: class GcLogger
  • added: method GcLogger.gc_callback(phase: str, info: Mapping[str, int]) -> None
  • added: method GcLogger.get_stats() -> Mapping[str, float]
  • changed: function process_options(args: List[str], require_targets: bool=…) -> Tuple[List[BuildSource], Options] → function process_options(args: List[str], require_targets: bool=…, server_options: bool=…) -> Tuple[List[BuildSource], Options]
  • changed: function type_check_only(sources: List[BuildSource], bin_dir: Optional[str], options: Options) -> BuildResult → function type_check_only(sources: List[BuildSource], bin_dir: Optional[str], options: Options, flush_errors: Optional[Callable[[List[str], bool], None]]) -> BuildResult
  • removed: variable NEED_ANNOTATION_FOR_VAR
  • added: method MessageBuilder.need_annotation_for_var(node: SymbolNode, context: Context) -> None
  • removed: class AssertionFailure(Exception)
  • removed: class ListSuite(Suite)
  • removed: class SkipTestCaseException(Exception)
  • removed: class Suite
  • removed: class TestCase
  • removed: constructor AssertionFailure(s: Optional[str]=…) -> None
  • removed: constructor ListSuite(suites: List[Suite]) -> None
  • removed: constructor Suite() -> None
  • removed: constructor TestCase(name: str, suite: Optional[Suite]=…, func: Optional[Callable[[], None]]=…) -> None
  • removed: function add_suites_from_module(suites: List[Suite], mod_name: str) -> None
  • removed: function assert_equal(a: object, b: object, fmt: str=…) -> None
  • removed: function assert_false(b: bool, msg: Optional[str]=…) -> None
  • removed: function assert_not_equal(a: object, b: object, fmt: str=…) -> None
  • removed: function assert_raises(typ: type, *rest: Any) -> None
  • removed: function assert_true(b: bool, msg: Optional[str]=…) -> None
  • removed: function assert_type(typ: type, value: object) -> None
  • removed: function clean_traceback(tb: List[str]) -> List[str]
  • removed: function fail() -> None
  • removed: function good_repr(obj: object) -> str
  • removed: function handle_failure(name: str, exc_type: type, exc_value: BaseException, exc_traceback: TracebackType) -> None
  • removed: function main(args: Optional[List[str]]=…) -> None
  • removed: function match_pattern(s: str, p: str) -> bool
  • removed: function run_single_test(name: str, test: Any) -> Tuple[bool, bool]
  • removed: function run_test_recursive(test: Any, num_total: int, num_fail: int, num_skip: int, prefix: str, depth: int) -> Tuple[int, int, int]
  • removed: function typename(t: type) -> str
  • removed: method Suite.add_test(test: Union[TestCase, Tuple[str, Callable[[], None]], Tuple[str, Suite]]) -> None
  • removed: method Suite.cases() -> List[Any]
  • removed: method Suite.init() -> None
  • removed: method Suite.set_up() -> None
  • removed: method Suite.skip() -> None
  • removed: method Suite.tear_down() -> None
  • removed: method TestCase.run() -> None
  • removed: method TestCase.set_up() -> None
  • removed: method TestCase.tear_down() -> None
  • removed: variable is_quiet
  • removed: variable is_verbose
  • removed: variable patterns
  • removed: variable times
  • added: field AssignmentStmt.is_alias_def
  • added: field ClassDef.removed_base_type_exprs
  • added: field MypyFile.alias_deps
  • added: field MypyFile.is_cache_skeleton
  • added: field SymbolTableNode.alias_name
  • added: field SymbolTableNode.is_aliasing
  • added: field TypeInfo.metadata
  • added: function is_class_var(expr: NameExpr) -> bool
  • added: method SymbolTable.copy() -> SymbolTable
  • added: method SymbolTableNode.copy() -> SymbolTableNode
  • added: variable MYPY
  • removed: class AnalyzerPluginInterface
  • removed: method AnalyzerPluginInterface.analyze_callable_args(arglist: TypeList) -> Optional[Tuple[List[Type], List[int], List[Optional[str]]]]
  • removed: method AnalyzerPluginInterface.analyze_type(typ: Type) -> Type
  • removed: method AnalyzerPluginInterface.fail(msg: str, ctx: Context) -> None
  • removed: method AnalyzerPluginInterface.named_type(name: str, args: List[Type]) -> Instance
  • added: class SemanticAnalyzerPluginInterface
  • added: class TypeAnalyzerPluginInterface
  • added: field SemanticAnalyzerPluginInterface.modules
  • added: field SemanticAnalyzerPluginInterface.msg
  • added: field SemanticAnalyzerPluginInterface.options
  • added: method ChainedPlugin.get_base_class_hook(fullname: str) -> Optional[Callable[[ClassDefContext], None]]
  • added: method ChainedPlugin.get_class_decorator_hook(fullname: str) -> Optional[Callable[[ClassDefContext], None]]
  • added: method ChainedPlugin.get_metaclass_hook(fullname: str) -> Optional[Callable[[ClassDefContext], None]]
  • added: method DefaultPlugin.get_class_decorator_hook(fullname: str) -> Optional[Callable[[ClassDefContext], None]]
  • added: method Plugin.get_base_class_hook(fullname: str) -> Optional[Callable[[ClassDefContext], None]]
  • added: method Plugin.get_class_decorator_hook(fullname: str) -> Optional[Callable[[ClassDefContext], None]]
  • added: method Plugin.get_metaclass_hook(fullname: str) -> Optional[Callable[[ClassDefContext], None]]
  • added: method SemanticAnalyzerPluginInterface.anal_type(t: Type, *, tvar_scope: Optional[TypeVarScope]=…, allow_tuple_literal: bool=…, aliasing: bool=…, third_pass: bool=…) -> Type
  • added: method SemanticAnalyzerPluginInterface.class_type(info: TypeInfo) -> Type
  • added: method SemanticAnalyzerPluginInterface.fail(msg: str, ctx: Context, serious: bool=…, *, blocker: bool=…) -> None
  • added: method SemanticAnalyzerPluginInterface.lookup_fully_qualified(name: str) -> SymbolTableNode
  • added: method SemanticAnalyzerPluginInterface.lookup_fully_qualified_or_none(name: str) -> Optional[SymbolTableNode]
  • added: method SemanticAnalyzerPluginInterface.lookup_qualified(name: str, ctx: Context, suppress_errors: bool=…) -> Optional[SymbolTableNode]
  • added: method SemanticAnalyzerPluginInterface.named_type(qualified_name: str, args: Optional[List[Type]]=…) -> Instance
  • added: method SemanticAnalyzerPluginInterface.parse_bool(expr: Expression) -> Optional[bool]
  • added: method TypeAnalyzerPluginInterface.analyze_callable_args(arglist: TypeList) -> Optional[Tuple[List[Type], List[int], List[Optional[str]]]]
  • added: method TypeAnalyzerPluginInterface.analyze_type(typ: Type) -> Type
  • added: method TypeAnalyzerPluginInterface.fail(msg: str, ctx: Context) -> None
  • added: method TypeAnalyzerPluginInterface.named_type(name: str, args: List[Type]) -> Instance
  • added: variable ClassDefContext
  • added: class Attribute
  • added: class MethodAdder
  • added: constructor Attribute(name: str, info: TypeInfo, has_default: bool, init: bool, converter_name: Optional[str], context: Context) -> None
  • added: constructor MethodAdder(info: TypeInfo, function_type: Instance) -> None
  • added: function attr_class_maker_callback(ctx: mypy.plugin.ClassDefContext, auto_attribs_default: bool=…) -> None
  • added: method Attribute.argument(ctx: mypy.plugin.ClassDefContext) -> Argument
  • added: method Attribute.serialize() -> JsonDict
  • added: method MethodAdder.add_method(method_name: str, args: List[Argument], ret_type: Type, self_type: Optional[Type]=…, tvd: Optional[TypeVarDef]=…) -> None
  • added: static method Attribute.deserialize(info: TypeInfo, data: JsonDict) -> Attribute
  • added: variable attr_attrib_makers
  • added: variable attr_class_makers
  • added: variable attr_dataclass_makers
  • added: class Scope
  • added: constructor Scope() -> None
  • added: method Scope.current_full_target() -> str
  • added: method Scope.current_module_id() -> str
  • added: method Scope.current_target() -> str
  • added: method Scope.enter_class(info: TypeInfo) -> None
  • added: method Scope.enter_file(prefix: str) -> None
  • added: method Scope.enter_function(fdef: FuncItem) -> None
  • added: method Scope.leave() -> None
  • removed: field SemanticAnalyzerPass2.bound_tvars
  • removed: method SemanticAnalyzerPass2.refresh_class_def(defn: ClassDef) -> None
  • changed: class SemanticAnalyzerPass2(NodeVisitor[None]) → class SemanticAnalyzerPass2(NodeVisitor[None], SemanticAnalyzerPluginInterface)
  • changed: method SemanticAnalyzerPass2.analyze_alias(rvalue: Expression, warn_bound_tvar: bool=…) -> Tuple[Optional[Type], List[str]] → method SemanticAnalyzerPass2.analyze_alias(rvalue: Expression, warn_bound_tvar: bool=…) -> Tuple[Optional[Type], List[str], Set[str], List[str]]
  • changed: method SemanticAnalyzerPass2.analyze_tuple_or_list_lvalue(lval: Union[ListExpr, TupleExpr], add_global: bool=…, explicit_type: bool=…) -> None → method SemanticAnalyzerPass2.analyze_tuple_or_list_lvalue(lval: TupleExpr, add_global: bool=…, explicit_type: bool=…) -> None
  • changed: method SemanticAnalyzerPass2.process_module_assignment(lvals: List[Expression], rval: Expression, ctx: AssignmentStmt) -> None → method SemanticAnalyzerPass2.process_module_assignment(lvals: List[Lvalue], rval: Expression, ctx: AssignmentStmt) -> None
  • changed: method SemanticAnalyzerPass2.refresh_partial(node: Union[MypyFile, FuncItem]) -> None → method SemanticAnalyzerPass2.refresh_partial(node: Union[MypyFile, FuncItem, OverloadedFuncDef]) -> None
  • changed: method SemanticAnalyzerPass2.visit_file(file_node: MypyFile, fnam: str, options: Options, patches: List[Callable[[], None]]) -> None → method SemanticAnalyzerPass2.visit_file(file_node: MypyFile, fnam: str, options: Options, patches: List[Tuple[int, Callable[[], None]]]) -> None
  • added: method SemanticAnalyzerPass2.add_type_alias_deps(aliases_used: Iterable[str], target: Optional[str]=…) -> None
  • added: method SemanticAnalyzerPass2.apply_class_plugin_hooks(defn: ClassDef) -> None
  • changed: method SemanticAnalyzerPass3.refresh_partial(node: Union[MypyFile, FuncItem]) -> None → method SemanticAnalyzerPass3.refresh_partial(node: Union[MypyFile, FuncItem, OverloadedFuncDef]) -> None
  • changed: method SemanticAnalyzerPass3.visit_file(file_node: MypyFile, fnam: str, options: Options, patches: List[Callable[[], None]]) -> None → method SemanticAnalyzerPass3.visit_file(file_node: MypyFile, fnam: str, options: Options, patches: List[Tuple[int, Callable[[], None]]]) -> None
  • added: class TypeVariableChecker(TypeTranslator)
  • added: constructor TypeVariableChecker(fail: Callable[[str, Context], None]) -> None
  • added: method SemanticAnalyzerPass3.generate_type_patches(node: Union[Node, SymbolTableNode], indicator: Dict[str, bool], warn: bool) -> None
  • added: method TypeVariableChecker.check_type_var_values(type: TypeInfo, actuals: List[Type], arg_name: str, valids: List[Type], arg_number: int, context: Context) -> None
  • added: method TypeVariableChecker.visit_instance(t: Instance) -> Type
  • added: variable PRIORITY_FALLBACKS
  • added: variable PRIORITY_FORWARD_REF
  • added: variable PRIORITY_TYPEVAR_VALUES
  • added: function snapshot_untyped_signature(func: Union[OverloadedFuncDef, FuncItem]) -> Tuple[object, ...]
  • changed: method NodeReplaceVisitor.process_type_info(info: TypeInfo) -> None → method NodeReplaceVisitor.process_type_info(info: Optional[TypeInfo]) -> None
  • added: method NodeReplaceVisitor.process_type_var_def(tv: TypeVarDef) -> None
  • added: method NodeReplaceVisitor.visit_enum_call_expr(node: EnumCallExpr) -> None
  • added: method NodeReplaceVisitor.visit_lambda_expr(node: LambdaExpr) -> None
  • added: method NodeReplaceVisitor.visit_newtype_expr(node: NewTypeExpr) -> None
  • added: method NodeReplaceVisitor.visit_overloaded_func_def(node: OverloadedFuncDef) -> None
  • added: method NodeReplaceVisitor.visit_super_expr(node: SuperExpr) -> None
  • added: method NodeReplaceVisitor.visit_typeddict_expr(node: TypedDictExpr) -> None
  • added: method NodeReplaceVisitor.visit_var(node: Var) -> None
  • removed: method NodeStripVisitor.strip_class_body(node: ClassDef) -> None
  • changed: function strip_target(node: Union[MypyFile, FuncItem]) -> None → function strip_target(node: Union[MypyFile, FuncItem, OverloadedFuncDef]) -> None
  • added: method NodeStripVisitor.enter_method(info: TypeInfo) -> Iterator[None]
  • added: method NodeStripVisitor.strip_class_attr(name: str) -> None
  • added: method NodeStripVisitor.visit_call_expr(node: CallExpr) -> None
  • added: method NodeStripVisitor.visit_class_def(node: ClassDef) -> None
  • added: method NodeStripVisitor.visit_decorator(node: Decorator) -> None
  • added: method NodeStripVisitor.visit_index_expr(node: IndexExpr) -> None
  • added: method NodeStripVisitor.visit_overloaded_func_def(node: OverloadedFuncDef) -> None
  • added: method NodeStripVisitor.visit_super_expr(node: SuperExpr) -> None
  • removed: method DependencyVisitor.current_full_target() -> str
  • removed: method DependencyVisitor.current_scope() -> Optional[Node]
  • removed: method DependencyVisitor.current_target() -> str
  • removed: method DependencyVisitor.enter_class_scope(info: TypeInfo) -> str
  • removed: method DependencyVisitor.enter_file_scope(prefix: str) -> None
  • removed: method DependencyVisitor.enter_function_scope(fdef: FuncDef) -> str
  • removed: method DependencyVisitor.leave_scope() -> None
  • changed: constructor DependencyVisitor(type_map: Dict[Expression, Type], python_version: Tuple[int, int]) -> None → constructor DependencyVisitor(type_map: Dict[Expression, Type], python_version: Tuple[int, int], alias_deps: DefaultDict[str, Set[str]]) -> None
  • changed: function get_dependencies_of_target(module_id: str, target: Node, type_map: Dict[Expression, Type], python_version: Tuple[int, int]) -> Dict[str, Set[str]] → function get_dependencies_of_target(module_id: str, module_tree: MypyFile, target: Node, type_map: Dict[Expression, Type], python_version: Tuple[int, int]) -> Dict[str, Set[str]]
  • added: method DependencyVisitor.add_type_alias_deps(target: str) -> None
  • added: method DependencyVisitor.process_global_ref_expr(o: RefExpr) -> None
  • added: method DependencyVisitor.visit_super_expr(e: SuperExpr) -> None
  • added: variable MYPY
  • removed: function get_enclosing_namespace_types(nodes: List[DeferredNode]) -> Dict[NamespaceNode, Dict[str, Type]]
  • removed: function get_triggered_namespace_items(old_types_map: Dict[NamespaceNode, Dict[str, Type]]) -> Set[str]
  • removed: function update_dependencies(new_modules: Mapping[str, Optional[MypyFile]], deps: Dict[str, Set[str]], graph: Dict[str, State], options: Options) -> None
  • removed: variable DEBUG
  • removed: variable NamespaceNode
  • changed: function find_targets_recursive(triggers: Set[str], deps: Dict[str, Set[str]], modules: Dict[str, MypyFile], up_to_date_modules: Set[str]) -> Dict[str, Set[DeferredNode]] → function find_targets_recursive(manager: BuildManager, triggers: Set[str], deps: Dict[str, Set[str]], modules: Dict[str, MypyFile], up_to_date_modules: Set[str]) -> Dict[str, Set[DeferredNode]]
  • changed: function memory_only_cache_meta(id: str, path: str, dependencies: List[str], suppressed: List[str], child_modules: List[str], dep_prios: List[int], source_hash: str, ignore_all: bool, manager: BuildManager) -> CacheMeta → function memory_only_cache_meta(id: str, path: str, dependencies: List[str], suppressed: List[str], child_modules: List[str], dep_prios: List[int], dep_lines: List[int], source_hash: str, ignore_all: bool, manager: BuildManager) -> CacheMeta
  • changed: function propagate_changes_using_dependencies(manager: BuildManager, graph: Dict[str, State], deps: Dict[str, Set[str]], triggered: Set[str], up_to_date_modules: Set[str], targets_with_errors: Set[str], modules: Iterable[str]) -> None → function propagate_changes_using_dependencies(manager: BuildManager, graph: Dict[str, State], deps: Dict[str, Set[str]], triggered: Set[str], up_to_date_modules: Set[str], targets_with_errors: Set[str]) -> List[Tuple[str, str]]
  • added: function collect_dependencies(new_modules: Mapping[str, Optional[MypyFile]], deps: Dict[str, Set[str]], graph: Dict[str, State]) -> None
  • added: function find_relative_leaf_module(modules: List[Tuple[str, str]], graph: Graph) -> Tuple[str, str]
  • added: function find_symbol_tables_recursive(prefix: str, symbols: SymbolTable) -> Dict[str, SymbolTable]
  • added: function is_verbose(manager: BuildManager) -> bool
  • added: variable MAX_ITER
  • added: variable BINARY_MAGIC_METHODS
  • added: function has_return_statement(fdef: FuncBase) -> bool
  • added: method TraverserVisitor.visit_super_expr(o: SuperExpr) -> None
  • removed: method TypeVarScope.bind(name: str, tvar_expr: TypeVarExpr) -> TypeVarDef
  • added: method TypeVarScope.bind_existing(tvar_def: TypeVarDef) -> None
  • added: method TypeVarScope.bind_new(name: str, tvar_expr: TypeVarExpr) -> TypeVarDef
  • removed: method TypeAnalyserPass3.check_type_var_values(type: TypeInfo, actuals: List[Type], arg_name: str, valids: List[Type], arg_number: int, context: Context) -> None
  • removed: method TypeAnalyserPass3.resolve_type(tp: Type) -> Type
  • changed: class TypeAnalyser(SyntheticTypeVisitor[Type], AnalyzerPluginInterface) → class TypeAnalyser(SyntheticTypeVisitor[Type], TypeAnalyzerPluginInterface)
  • changed: constructor TypeAnalyserPass3(lookup_func: Callable[[str, Context], Optional[SymbolTableNode]], lookup_fqn_func: Callable[[str], SymbolTableNode], fail_func: Callable[[str, Context], None], note_func: Callable[[str, Context], None], plugin: Plugin, options: Options, is_typeshed_stub: bool, indicator: Dict[str, bool]) -> None → constructor TypeAnalyserPass3(lookup_func: Callable[[str, Context], Optional[SymbolTableNode]], lookup_fqn_func: Callable[[str], SymbolTableNode], fail_func: Callable[[str, Context], None], note_func: Callable[[str, Context], None], plugin: Plugin, options: Options, is_typeshed_stub: bool, indicator: Dict[str, bool], patches: List[Tuple[int, Callable[[], None]]]) -> None
  • added: function correct_relative_import(cur_mod_id: str, relative: int, target: str, is_cur_package_init_file: bool) -> Tuple[str, bool]