Upgrading mypy 0.471 to 0.501
Unknown0.471 → 0.501
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.
In plain terms
- 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.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Moves typed-ast 0.6.3 → 1.0.4. Your build may pick other versions.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- changed:
function run(params: str) -> Tuple[str, str] → function run(params: List[str]) -> Tuple[str, str, int]
- changed:
constructor State(id: Optional[str], path: Optional[str], source: Optional[str], manager: BuildManager, caller_state: State=…, caller_line: int=…, ancestor_for: State=…) -> None → constructor State(id: Optional[str], path: Optional[str], source: Optional[str], manager: BuildManager, caller_state: State=…, caller_line: int=…, ancestor_for: State=…, root_source: bool=…) -> None
- removed:
field TypeChecker.type_context - removed:
method TypeChecker.bool_type() -> Instance - removed:
method TypeChecker.check_awaitable_expr(t: Type, ctx: Context, msg: str) -> Type - removed:
method TypeChecker.has_coroutine_decorator(t: Type) -> bool - removed:
method TypeChecker.is_async_def(t: Type) -> bool - removed:
method TypeChecker.leave_partial_types() -> None - removed:
method TypeChecker.narrow_type_from_binder(expr: Expression, known_type: Type) -> Type - removed:
method TypeChecker.object_type() -> Instance - removed:
method TypeChecker.visit_await_expr(e: AwaitExpr) -> Type - removed:
method TypeChecker.visit_backquote_expr(e: BackquoteExpr) -> Type - removed:
method TypeChecker.visit_bytes_expr(e: BytesExpr) -> Type - removed:
method TypeChecker.visit_call_expr(e: CallExpr) -> Type - removed:
method TypeChecker.visit_cast_expr(e: CastExpr) -> Type - removed:
method TypeChecker.visit_comparison_expr(e: ComparisonExpr) -> Type - removed:
method TypeChecker.visit_complex_expr(e: ComplexExpr) -> Type - removed:
method TypeChecker.visit_conditional_expr(e: ConditionalExpr) -> Type - removed:
method TypeChecker.visit_dict_expr(e: DictExpr) -> Type - removed:
method TypeChecker.visit_dictionary_comprehension(e: DictionaryComprehension) -> Type - removed:
method TypeChecker.visit_ellipsis(e: EllipsisExpr) -> Type - removed:
method TypeChecker.visit_except_handler_test(n: Expression) -> Type - removed:
method TypeChecker.visit_float_expr(e: FloatExpr) -> Type - removed:
method TypeChecker.visit_func_expr(e: FuncExpr) -> Type - removed:
method TypeChecker.visit_generator_expr(e: GeneratorExpr) -> Type - removed:
method TypeChecker.visit_index_expr(e: IndexExpr) -> Type - removed:
method TypeChecker.visit_int_expr(e: IntExpr) -> Type - removed:
method TypeChecker.visit_list_comprehension(e: ListComprehension) -> Type - removed:
method TypeChecker.visit_list_expr(e: ListExpr) -> Type - removed:
method TypeChecker.visit_member_expr(e: MemberExpr) -> Type - removed:
method TypeChecker.visit_name_expr(e: NameExpr) -> Type - removed:
method TypeChecker.visit_namedtuple_expr(e: NamedTupleExpr) -> Type - removed:
method TypeChecker.visit_newtype_expr(e: NewTypeExpr) -> Type - removed:
method TypeChecker.visit_op_expr(e: OpExpr) -> Type - removed:
method TypeChecker.visit_reveal_type_expr(e: RevealTypeExpr) -> Type - removed:
method TypeChecker.visit_set_comprehension(e: SetComprehension) -> Type - removed:
method TypeChecker.visit_set_expr(e: SetExpr) -> Type - removed:
method TypeChecker.visit_slice_expr(e: SliceExpr) -> Type - removed:
method TypeChecker.visit_str_expr(e: StrExpr) -> Type - removed:
method TypeChecker.visit_super_expr(e: SuperExpr) -> Type - removed:
method TypeChecker.visit_temp_node(e: TempNode) -> Type - removed:
method TypeChecker.visit_tuple_expr(e: TupleExpr) -> Type - removed:
method TypeChecker.visit_type_alias_expr(e: TypeAliasExpr) -> Type - removed:
method TypeChecker.visit_type_application(e: TypeApplication) -> Type - removed:
method TypeChecker.visit_type_var_expr(e: TypeVarExpr) -> Type - removed:
method TypeChecker.visit_typeddict_expr(e: TypedDictExpr) -> Type - removed:
method TypeChecker.visit_unary_expr(e: UnaryExpr) -> Type - removed:
method TypeChecker.visit_unicode_expr(e: UnicodeExpr) -> Type - removed:
method TypeChecker.visit_yield_expr(e: YieldExpr) -> Type - removed:
method TypeChecker.visit_yield_from_expr(e: YieldFromExpr) -> Type - changed:
class TypeChecker(NodeVisitor[Type]) → class TypeChecker(StatementVisitor[None]) - changed:
method TypeChecker.accept(node: Union[Expression, Statement, FuncItem], type_context: Type=…) -> Type → method TypeChecker.accept(stmt: Statement) -> None - changed:
method TypeChecker.analyze_index_variables(index: Expression, item_type: Type, context: Context) -> None → method TypeChecker.analyze_index_variables(index: Expression, item_type: Type, infer_lvalue_type: bool, context: Context) -> None - changed:
method TypeChecker.check_async_with_item(expr: Expression, target: Expression) -> None → method TypeChecker.check_async_with_item(expr: Expression, target: Expression, infer_lvalue_type: bool) -> None - changed:
method TypeChecker.check_with_item(expr: Expression, target: Expression) -> None → method TypeChecker.check_with_item(expr: Expression, target: Expression, infer_lvalue_type: bool) -> None - changed:
method TypeChecker.enter_partial_types() -> None → method TypeChecker.enter_partial_types() -> Iterator[None] - changed:
method TypeChecker.visit_assert_stmt(s: AssertStmt) -> Type → method TypeChecker.visit_assert_stmt(s: AssertStmt) -> None - changed:
method TypeChecker.visit_assignment_stmt(s: AssignmentStmt) -> Type → method TypeChecker.visit_assignment_stmt(s: AssignmentStmt) -> None - changed:
method TypeChecker.visit_block(b: Block) -> Type → method TypeChecker.visit_block(b: Block) -> None - changed:
method TypeChecker.visit_break_stmt(s: BreakStmt) -> Type → method TypeChecker.visit_break_stmt(s: BreakStmt) -> None - changed:
method TypeChecker.visit_class_def(defn: ClassDef) -> Type → method TypeChecker.visit_class_def(defn: ClassDef) -> None - changed:
method TypeChecker.visit_continue_stmt(s: ContinueStmt) -> Type → method TypeChecker.visit_continue_stmt(s: ContinueStmt) -> None - changed:
method TypeChecker.visit_decorator(e: Decorator) -> Type → method TypeChecker.visit_decorator(e: Decorator) -> None - changed:
method TypeChecker.visit_del_stmt(s: DelStmt) -> Type → method TypeChecker.visit_del_stmt(s: DelStmt) -> None - changed:
method TypeChecker.visit_expression_stmt(s: ExpressionStmt) -> Type → method TypeChecker.visit_expression_stmt(s: ExpressionStmt) -> None - changed:
method TypeChecker.visit_for_stmt(s: ForStmt) -> Type → method TypeChecker.visit_for_stmt(s: ForStmt) -> None - changed:
method TypeChecker.visit_func_def(defn: FuncDef) -> Type → method TypeChecker.visit_func_def(defn: FuncDef) -> None - changed:
method TypeChecker.visit_if_stmt(s: IfStmt) -> Type → method TypeChecker.visit_if_stmt(s: IfStmt) -> None - changed:
method TypeChecker.visit_import_all(node: ImportAll) -> Type → method TypeChecker.visit_import_all(node: ImportAll) -> None - changed:
method TypeChecker.visit_import_from(node: ImportFrom) -> Type → method TypeChecker.visit_import_from(node: ImportFrom) -> None - changed:
method TypeChecker.visit_operator_assignment_stmt(s: OperatorAssignmentStmt) -> Type → method TypeChecker.visit_operator_assignment_stmt(s: OperatorAssignmentStmt) -> None - changed:
method TypeChecker.visit_overloaded_func_def(defn: OverloadedFuncDef) -> Type → method TypeChecker.visit_overloaded_func_def(defn: OverloadedFuncDef) -> None - changed:
method TypeChecker.visit_print_stmt(s: PrintStmt) -> Type → method TypeChecker.visit_print_stmt(s: PrintStmt) -> None - changed:
method TypeChecker.visit_raise_stmt(s: RaiseStmt) -> Type → method TypeChecker.visit_raise_stmt(s: RaiseStmt) -> None - changed:
method TypeChecker.visit_return_stmt(s: ReturnStmt) -> Type → method TypeChecker.visit_return_stmt(s: ReturnStmt) -> None - changed:
method TypeChecker.visit_try_stmt(s: TryStmt) -> Type → method TypeChecker.visit_try_stmt(s: TryStmt) -> None - changed:
method TypeChecker.visit_while_stmt(s: WhileStmt) -> Type → method TypeChecker.visit_while_stmt(s: WhileStmt) -> None - changed:
method TypeChecker.visit_with_stmt(s: WithStmt) -> Type → method TypeChecker.visit_with_stmt(s: WithStmt) -> None - added:
function flatten(t: Expression) -> List[Expression] - added:
function is_equivalent_type_var_def(tv1: TypeVarDef, tv2: TypeVarDef) -> bool - added:
function is_node_static(node: Node) -> Optional[bool] - added:
function nothing() -> Iterator[None] - added:
function unify_generic_callables(t: CallableType, s: CallableType) -> Tuple[CallableType, CallableType] - added:
method TypeChecker.check_compatibility_all_supers(lvalue: NameExpr, lvalue_type: Type, rvalue: Expression) -> bool - added:
method TypeChecker.check_compatibility_super(lvalue: NameExpr, lvalue_type: Type, rvalue: Expression, base: TypeInfo, base_type: Type, base_node: Node) -> bool - added:
method TypeChecker.check_except_handler_test(n: Expression) -> Type - added:
method TypeChecker.lvalue_type_from_base(expr_node: Var, base: TypeInfo) -> Tuple[Optional[Type], Optional[Node]] - added:
method TypeChecker.visit_exec_stmt(s: ExecStmt) -> None - added:
method TypeChecker.visit_global_decl(s: GlobalDecl) -> None - added:
method TypeChecker.visit_import(s: Import) -> None - added:
method TypeChecker.visit_nonlocal_decl(s: NonlocalDecl) -> None - added:
method TypeChecker.visit_pass_stmt(s: PassStmt) -> None - added:
method TypeChecker.visit_var(s: Var) -> None - added:
method TypeChecker.warn(msg: str, context: Context) -> None
- removed:
function freshen_generic_callable(callee: CallableType) -> CallableType - changed:
class ExpressionChecker → class ExpressionChecker(ExpressionVisitor[Type]) - changed:
method ExpressionChecker.accept(node: Expression, context: Type=…) -> Type → method ExpressionChecker.accept(node: Expression, type_context: Type=…) -> Type - changed:
method ExpressionChecker.infer_lambda_type_using_context(e: FuncExpr) -> Optional[CallableType] → method ExpressionChecker.infer_lambda_type_using_context(e: FuncExpr) -> Tuple[Optional[CallableType], Optional[CallableType]] - added:
field ExpressionChecker.type_context - added:
function has_coroutine_decorator(t: Type) -> bool - added:
function is_async_def(t: Type) -> bool - added:
method ExpressionChecker.bool_type() -> Instance - added:
method ExpressionChecker.check_awaitable_expr(t: Type, ctx: Context, msg: str) -> Type - added:
method ExpressionChecker.narrow_type_from_binder(expr: Expression, known_type: Type) -> Type - added:
method ExpressionChecker.object_type() -> Instance - added:
method ExpressionChecker.visit__promote_expr(e: PromoteExpr) -> Type - added:
method ExpressionChecker.visit_await_expr(e: AwaitExpr) -> Type - added:
method ExpressionChecker.visit_enum_index_expr(enum_type: TypeInfo, index: Expression, context: Context) -> Type - added:
method ExpressionChecker.visit_namedtuple_expr(e: NamedTupleExpr) -> Type - added:
method ExpressionChecker.visit_newtype_expr(e: NewTypeExpr) -> Type - added:
method ExpressionChecker.visit_star_expr(e: StarExpr) -> StarType - added:
method ExpressionChecker.visit_temp_node(e: TempNode) -> Type - added:
method ExpressionChecker.visit_type_var_expr(e: TypeVarExpr) -> Type - added:
method ExpressionChecker.visit_typeddict_expr(e: TypedDictExpr) -> Type - added:
method ExpressionChecker.visit_yield_expr(e: YieldExpr) -> Type - added:
method ExpressionChecker.visit_yield_from_expr(e: YieldFromExpr) -> Type
- added:
function freeze_type_vars(member_type: Type) -> None
- changed:
function any_constraints(options: List[Optional[List[Constraint]]]) -> List[Constraint] → function any_constraints(options: List[Optional[List[Constraint]]], eager: bool) -> List[Constraint] - added:
class CompleteTypeVisitor(TypeQuery) - added:
constructor CompleteTypeVisitor() -> None - added:
function is_complete_type(typ: Type) -> bool - added:
function simplify_away_incomplete_types(types: List[Type]) -> List[Type] - added:
method CompleteTypeVisitor.visit_none_type(t: NoneTyp) -> bool - added:
method CompleteTypeVisitor.visit_uninhabited_type(t: UninhabitedType) -> bool
- added:
method Errors.enter_function(name: str) -> Iterator[None] - added:
method Errors.enter_type(name: str) -> Iterator[None]
- changed:
constructor ExpandTypeVisitor(variables: Dict[TypeVarId, Type]) -> None → constructor ExpandTypeVisitor(variables: Mapping[TypeVarId, Type]) -> None - changed:
function expand_type(typ: Type, env: Dict[TypeVarId, Type]) -> Type → function expand_type(typ: Type, env: Mapping[TypeVarId, Type]) -> Type - added:
function freshen_function_type_vars(callee: F) -> F - added:
variable F
- removed:
function get_member_expr_fullname(expr: MemberExpr) -> str
- removed:
class FastParserError(TypeCommentParseError) - removed:
class TypeCommentParseError(Exception) - removed:
constructor TypeCommentParseError(msg: str, lineno: int, offset: int) -> None - changed:
class ASTConverter(ast35.NodeTransformer) → class ASTConverter(ast3.NodeTransformer) - changed:
class TypeConverter(ast35.NodeTransformer) → class TypeConverter(ast3.NodeTransformer) - changed:
constructor ASTConverter(pyversion: Tuple[int, int], is_stub: bool, custom_typing_module: str=…) -> None → constructor ASTConverter(pyversion: Tuple[int, int], is_stub: bool, errors: Errors, custom_typing_module: str=…) -> None - changed:
constructor TypeConverter(line: int=…) -> None → constructor TypeConverter(errors: Errors, line: int=…) -> None - changed:
function parse_type_comment(type_comment: str, line: int) -> Type → function parse_type_comment(type_comment: str, line: int, errors: Errors) -> Optional[Type] - changed:
method ASTConverter.as_block(stmts: List[ast35.stmt], lineno: int) -> Block → method ASTConverter.as_block(stmts: List[ast3.stmt], lineno: int) -> Block - changed:
method ASTConverter.do_func_def(n: Union[ast35.FunctionDef, ast35.AsyncFunctionDef], is_coroutine: bool=…) -> Union[FuncDef, Decorator] → method ASTConverter.do_func_def(n: Union[ast3.FunctionDef, ast3.AsyncFunctionDef], is_coroutine: bool=…) -> Union[FuncDef, Decorator] - changed:
method ASTConverter.from_comp_operator(op: ast35.cmpop) -> str → method ASTConverter.from_comp_operator(op: ast3.cmpop) -> str - changed:
method ASTConverter.from_operator(op: ast35.operator) -> str → method ASTConverter.from_operator(op: ast3.operator) -> str - changed:
method ASTConverter.generic_visit(node: ast35.AST) -> None → method ASTConverter.generic_visit(node: ast3.AST) -> None - changed:
method ASTConverter.stringify_name(n: ast35.AST) -> str → method ASTConverter.stringify_name(n: ast3.AST) -> str - changed:
method ASTConverter.transform_args(args: ast35.arguments, line: int) -> List[Argument] → method ASTConverter.transform_args(args: ast3.arguments, line: int, no_type_check: bool=…) -> List[Argument] - changed:
method ASTConverter.translate_expr_list(l: Sequence[ast35.AST]) -> List[Expression] → method ASTConverter.translate_expr_list(l: Sequence[ast3.AST]) -> List[Expression] - changed:
method ASTConverter.translate_stmt_list(l: Sequence[ast35.AST]) -> List[Statement] → method ASTConverter.translate_stmt_list(l: Sequence[ast3.AST]) -> List[Statement] - changed:
method ASTConverter.visit_Assert(n: ast35.Assert) -> AssertStmt → method ASTConverter.visit_Assert(n: ast3.Assert) -> AssertStmt - changed:
method ASTConverter.visit_Assign(n: ast35.Assign) -> AssignmentStmt → method ASTConverter.visit_Assign(n: ast3.Assign) -> AssignmentStmt - changed:
method ASTConverter.visit_AsyncFor(n: ast35.AsyncFor) -> ForStmt → method ASTConverter.visit_AsyncFor(n: ast3.AsyncFor) -> ForStmt - changed:
method ASTConverter.visit_AsyncFunctionDef(n: ast35.AsyncFunctionDef) -> Union[FuncDef, Decorator] → method ASTConverter.visit_AsyncFunctionDef(n: ast3.AsyncFunctionDef) -> Union[FuncDef, Decorator] - changed:
method ASTConverter.visit_AsyncWith(n: ast35.AsyncWith) -> WithStmt → method ASTConverter.visit_AsyncWith(n: ast3.AsyncWith) -> WithStmt - changed:
method ASTConverter.visit_Attribute(n: ast35.Attribute) -> Union[MemberExpr, SuperExpr] → method ASTConverter.visit_Attribute(n: ast3.Attribute) -> Union[MemberExpr, SuperExpr] - changed:
method ASTConverter.visit_AugAssign(n: ast35.AugAssign) -> OperatorAssignmentStmt → method ASTConverter.visit_AugAssign(n: ast3.AugAssign) -> OperatorAssignmentStmt - changed:
method ASTConverter.visit_Await(n: ast35.Await) -> AwaitExpr → method ASTConverter.visit_Await(n: ast3.Await) -> AwaitExpr - changed:
method ASTConverter.visit_BinOp(n: ast35.BinOp) -> OpExpr → method ASTConverter.visit_BinOp(n: ast3.BinOp) -> OpExpr - changed:
method ASTConverter.visit_BoolOp(n: ast35.BoolOp) -> OpExpr → method ASTConverter.visit_BoolOp(n: ast3.BoolOp) -> OpExpr - changed:
method ASTConverter.visit_Break(n: ast35.Break) -> BreakStmt → method ASTConverter.visit_Break(n: ast3.Break) -> BreakStmt - changed:
method ASTConverter.visit_Bytes(n: ast35.Bytes) -> Union[BytesExpr, StrExpr] → method ASTConverter.visit_Bytes(n: ast3.Bytes) -> Union[BytesExpr, StrExpr] - changed:
method ASTConverter.visit_Call(n: ast35.Call) -> CallExpr → method ASTConverter.visit_Call(n: ast3.Call) -> CallExpr - changed:
method ASTConverter.visit_ClassDef(n: ast35.ClassDef) -> ClassDef → method ASTConverter.visit_ClassDef(n: ast3.ClassDef) -> ClassDef - changed:
method ASTConverter.visit_Compare(n: ast35.Compare) -> ComparisonExpr → method ASTConverter.visit_Compare(n: ast3.Compare) -> ComparisonExpr - changed:
method ASTConverter.visit_Continue(n: ast35.Continue) -> ContinueStmt → method ASTConverter.visit_Continue(n: ast3.Continue) -> ContinueStmt - changed:
method ASTConverter.visit_Delete(n: ast35.Delete) -> DelStmt → method ASTConverter.visit_Delete(n: ast3.Delete) -> DelStmt - changed:
method ASTConverter.visit_Dict(n: ast35.Dict) -> DictExpr → method ASTConverter.visit_Dict(n: ast3.Dict) -> DictExpr - changed:
method ASTConverter.visit_DictComp(n: ast35.DictComp) -> DictionaryComprehension → method ASTConverter.visit_DictComp(n: ast3.DictComp) -> DictionaryComprehension - changed:
method ASTConverter.visit_Ellipsis(n: ast35.Ellipsis) -> EllipsisExpr → method ASTConverter.visit_Ellipsis(n: ast3.Ellipsis) -> EllipsisExpr - changed:
method ASTConverter.visit_Expr(n: ast35.Expr) -> ExpressionStmt → method ASTConverter.visit_Expr(n: ast3.Expr) -> ExpressionStmt - changed:
method ASTConverter.visit_ExtSlice(n: ast35.ExtSlice) -> TupleExpr → method ASTConverter.visit_ExtSlice(n: ast3.ExtSlice) -> TupleExpr - changed:
method ASTConverter.visit_For(n: ast35.For) -> ForStmt → method ASTConverter.visit_For(n: ast3.For) -> ForStmt - changed:
method ASTConverter.visit_FunctionDef(n: ast35.FunctionDef) -> Union[FuncDef, Decorator] → method ASTConverter.visit_FunctionDef(n: ast3.FunctionDef) -> Union[FuncDef, Decorator] - changed:
method ASTConverter.visit_GeneratorExp(n: ast35.GeneratorExp) -> GeneratorExpr → method ASTConverter.visit_GeneratorExp(n: ast3.GeneratorExp) -> GeneratorExpr - changed:
method ASTConverter.visit_Global(n: ast35.Global) -> GlobalDecl → method ASTConverter.visit_Global(n: ast3.Global) -> GlobalDecl - changed:
method ASTConverter.visit_If(n: ast35.If) -> IfStmt → method ASTConverter.visit_If(n: ast3.If) -> IfStmt - changed:
method ASTConverter.visit_IfExp(n: ast35.IfExp) -> ConditionalExpr → method ASTConverter.visit_IfExp(n: ast3.IfExp) -> ConditionalExpr - changed:
method ASTConverter.visit_Import(n: ast35.Import) -> Import → method ASTConverter.visit_Import(n: ast3.Import) -> Import - changed:
method ASTConverter.visit_ImportFrom(n: ast35.ImportFrom) -> ImportBase → method ASTConverter.visit_ImportFrom(n: ast3.ImportFrom) -> ImportBase - changed:
method ASTConverter.visit_Index(n: ast35.Index) -> Node → method ASTConverter.visit_Index(n: ast3.Index) -> Node - changed:
method ASTConverter.visit_Lambda(n: ast35.Lambda) -> FuncExpr → method ASTConverter.visit_Lambda(n: ast3.Lambda) -> FuncExpr - changed:
method ASTConverter.visit_List(n: ast35.List) -> ListExpr → method ASTConverter.visit_List(n: ast3.List) -> ListExpr - changed:
method ASTConverter.visit_ListComp(n: ast35.ListComp) -> ListComprehension → method ASTConverter.visit_ListComp(n: ast3.ListComp) -> ListComprehension - changed:
method ASTConverter.visit_Module(mod: ast35.Module) -> MypyFile → method ASTConverter.visit_Module(mod: ast3.Module) -> MypyFile - changed:
method ASTConverter.visit_Name(n: ast35.Name) -> NameExpr → method ASTConverter.visit_Name(n: ast3.Name) -> NameExpr - changed:
method ASTConverter.visit_NameConstant(n: ast35.NameConstant) -> NameExpr → method ASTConverter.visit_NameConstant(n: ast3.NameConstant) -> NameExpr - changed:
method ASTConverter.visit_Nonlocal(n: ast35.Nonlocal) -> NonlocalDecl → method ASTConverter.visit_Nonlocal(n: ast3.Nonlocal) -> NonlocalDecl - changed:
method ASTConverter.visit_Num(n: ast35.Num) -> Union[IntExpr, FloatExpr, ComplexExpr] → method ASTConverter.visit_Num(n: ast3.Num) -> Union[IntExpr, FloatExpr, ComplexExpr] - changed:
method ASTConverter.visit_Pass(n: ast35.Pass) -> PassStmt → method ASTConverter.visit_Pass(n: ast3.Pass) -> PassStmt - changed:
method ASTConverter.visit_Raise(n: ast35.Raise) -> RaiseStmt → method ASTConverter.visit_Raise(n: ast3.Raise) -> RaiseStmt - changed:
method ASTConverter.visit_Return(n: ast35.Return) -> ReturnStmt → method ASTConverter.visit_Return(n: ast3.Return) -> ReturnStmt - changed:
method ASTConverter.visit_Set(n: ast35.Set) -> SetExpr → method ASTConverter.visit_Set(n: ast3.Set) -> SetExpr - changed:
method ASTConverter.visit_SetComp(n: ast35.SetComp) -> SetComprehension → method ASTConverter.visit_SetComp(n: ast3.SetComp) -> SetComprehension - changed:
method ASTConverter.visit_Slice(n: ast35.Slice) -> SliceExpr → method ASTConverter.visit_Slice(n: ast3.Slice) -> SliceExpr - changed:
method ASTConverter.visit_Starred(n: ast35.Starred) -> StarExpr → method ASTConverter.visit_Starred(n: ast3.Starred) -> StarExpr - changed:
method ASTConverter.visit_Str(n: ast35.Str) -> Union[UnicodeExpr, StrExpr] → method ASTConverter.visit_Str(n: ast3.Str) -> Union[UnicodeExpr, StrExpr] - changed:
method ASTConverter.visit_Subscript(n: ast35.Subscript) -> IndexExpr → method ASTConverter.visit_Subscript(n: ast3.Subscript) -> IndexExpr - changed:
method ASTConverter.visit_Try(n: ast35.Try) -> TryStmt → method ASTConverter.visit_Try(n: ast3.Try) -> TryStmt - changed:
method ASTConverter.visit_Tuple(n: ast35.Tuple) -> TupleExpr → method ASTConverter.visit_Tuple(n: ast3.Tuple) -> TupleExpr - changed:
method ASTConverter.visit_UnaryOp(n: ast35.UnaryOp) -> UnaryExpr → method ASTConverter.visit_UnaryOp(n: ast3.UnaryOp) -> UnaryExpr - changed:
method ASTConverter.visit_While(n: ast35.While) -> WhileStmt → method ASTConverter.visit_While(n: ast3.While) -> WhileStmt - changed:
method ASTConverter.visit_With(n: ast35.With) -> WithStmt → method ASTConverter.visit_With(n: ast3.With) -> WithStmt - changed:
method ASTConverter.visit_Yield(n: ast35.Yield) -> YieldExpr → method ASTConverter.visit_Yield(n: ast3.Yield) -> YieldExpr - changed:
method ASTConverter.visit_YieldFrom(n: ast35.YieldFrom) -> YieldFromExpr → method ASTConverter.visit_YieldFrom(n: ast3.YieldFrom) -> YieldFromExpr - changed:
method TypeConverter.generic_visit(node: ast35.AST) -> None → method TypeConverter.generic_visit(node: ast3.AST) -> Type - changed:
method TypeConverter.translate_expr_list(l: Sequence[ast35.AST]) -> List[Type] → method TypeConverter.translate_expr_list(l: Sequence[ast3.AST]) -> List[Type] - changed:
method TypeConverter.visit_Attribute(n: ast35.Attribute) -> Type → method TypeConverter.visit_Attribute(n: ast3.Attribute) -> Type - changed:
method TypeConverter.visit_Ellipsis(n: ast35.Ellipsis) -> Type → method TypeConverter.visit_Ellipsis(n: ast3.Ellipsis) -> Type - changed:
method TypeConverter.visit_List(n: ast35.List) -> Type → method TypeConverter.visit_List(n: ast3.List) -> Type - changed:
method TypeConverter.visit_Name(n: ast35.Name) -> Type → method TypeConverter.visit_Name(n: ast3.Name) -> Type - changed:
method TypeConverter.visit_NameConstant(n: ast35.NameConstant) -> Type → method TypeConverter.visit_NameConstant(n: ast3.NameConstant) -> Type - changed:
method TypeConverter.visit_Str(n: ast35.Str) -> Type → method TypeConverter.visit_Str(n: ast3.Str) -> Type - changed:
method TypeConverter.visit_Subscript(n: ast35.Subscript) -> Type → method TypeConverter.visit_Subscript(n: ast3.Subscript) -> Type - changed:
method TypeConverter.visit_Tuple(n: ast35.Tuple) -> Type → method TypeConverter.visit_Tuple(n: ast3.Tuple) -> Type - added:
function is_no_type_check_decorator(expr: ast3.expr) -> bool - added:
method ASTConverter.fail(msg: str, line: int, column: int) -> None - added:
method ASTConverter.visit_AnnAssign(n: ast3.AnnAssign) -> AssignmentStmt - added:
method ASTConverter.visit_FormattedValue(n: ast3.FormattedValue) -> Expression - added:
method ASTConverter.visit_JoinedStr(n: ast3.JoinedStr) -> Expression - added:
method TypeConverter.fail(msg: str, line: int, column: int) -> None
- removed:
function parse_type_comment(type_comment: str, line: int) -> Type - changed:
constructor ASTConverter(pyversion: Tuple[int, int], is_stub: bool, custom_typing_module: str=…) -> None → constructor ASTConverter(pyversion: Tuple[int, int], is_stub: bool, errors: Errors, custom_typing_module: str=…) -> None - changed:
method ASTConverter.transform_args(n: ast27.arguments, line: int) -> List[Argument] → method ASTConverter.transform_args(n: ast27.arguments, line: int) -> Tuple[List[Argument], List[Statement]] - changed:
method ASTConverter.visit_Exec(n: ast27.Exec) -> ExpressionStmt → method ASTConverter.visit_Exec(n: ast27.Exec) -> ExecStmt - changed:
method ASTConverter.visit_Print(n: ast27.Print) -> ExpressionStmt → method ASTConverter.visit_Print(n: ast27.Print) -> PrintStmt - changed:
method ASTConverter.visit_Repr(n: ast27.Repr) -> CallExpr → method ASTConverter.visit_Repr(n: ast27.Repr) -> BackquoteExpr - added:
function is_no_type_check_decorator(expr: ast27.expr) -> bool - added:
method ASTConverter.fail(msg: str, line: int, column: int) -> None
- changed:
function parse_config_file(options: Options, filename: str) -> None → function parse_config_file(options: Options, filename: Optional[str]) -> None - added:
class AugmentedHelpFormatter(argparse.HelpFormatter) - added:
constructor AugmentedHelpFormatter(prog: Optional[str]) -> None - added:
function invert_flag_name(flag: str) -> str - added:
variable SHARED_CONFIG_FILES - added:
variable flag_prefix_map - added:
variable flag_prefix_pairs
- added:
method MessageBuilder.warn(msg: str, context: Context, file: str=…, origin: Context=…) -> None - added:
variable DUPLICATE_TYPE_SIGNATURES - added:
variable INVALID_IMPLICIT_RETURN - added:
variable MALFORMED_ASSERT - added:
variable NON_BOOLEAN_IN_CONDITIONAL - added:
variable NO_RETURN_EXPECTED - added:
variable RETURN_ANY
- changed:
constructor AssertStmt(expr: Expression) -> None → constructor AssertStmt(expr: Expression, msg: Expression=…) -> None - changed:
constructor ForStmt(index: Lvalue, expr: Expression, body: Block, else_body: Block) -> None → constructor ForStmt(index: Lvalue, expr: Expression, body: Block, else_body: Block, index_type: mypy.types.Type=…) -> None - changed:
constructor WithStmt(expr: List[Expression], target: List[Lvalue], body: Block) -> None → constructor WithStmt(expr: List[Expression], target: List[Lvalue], body: Block, target_type: mypy.types.Type=…) -> None - changed:
method AssertStmt.accept(visitor: NodeVisitor[T]) -> T → method AssertStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method AssignmentStmt.accept(visitor: NodeVisitor[T]) -> T → method AssignmentStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method AwaitExpr.accept(visitor: NodeVisitor[T]) -> T → method AwaitExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method BackquoteExpr.accept(visitor: NodeVisitor[T]) -> T → method BackquoteExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method Block.accept(visitor: NodeVisitor[T]) -> T → method Block.accept(visitor: StatementVisitor[T]) -> T - changed:
method BreakStmt.accept(visitor: NodeVisitor[T]) -> T → method BreakStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method BytesExpr.accept(visitor: NodeVisitor[T]) -> T → method BytesExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method CallExpr.accept(visitor: NodeVisitor[T]) -> T → method CallExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method CastExpr.accept(visitor: NodeVisitor[T]) -> T → method CastExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method ClassDef.accept(visitor: NodeVisitor[T]) -> T → method ClassDef.accept(visitor: StatementVisitor[T]) -> T - changed:
method ComparisonExpr.accept(visitor: NodeVisitor[T]) -> T → method ComparisonExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method ComplexExpr.accept(visitor: NodeVisitor[T]) -> T → method ComplexExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method ConditionalExpr.accept(visitor: NodeVisitor[T]) -> T → method ConditionalExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method ContinueStmt.accept(visitor: NodeVisitor[T]) -> T → method ContinueStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method Decorator.accept(visitor: NodeVisitor[T]) -> T → method Decorator.accept(visitor: StatementVisitor[T]) -> T - changed:
method DelStmt.accept(visitor: NodeVisitor[T]) -> T → method DelStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method DictExpr.accept(visitor: NodeVisitor[T]) -> T → method DictExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method DictionaryComprehension.accept(visitor: NodeVisitor[T]) -> T → method DictionaryComprehension.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method EllipsisExpr.accept(visitor: NodeVisitor[T]) -> T → method EllipsisExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method ExecStmt.accept(visitor: NodeVisitor[T]) -> T → method ExecStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method ExpressionStmt.accept(visitor: NodeVisitor[T]) -> T → method ExpressionStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method FloatExpr.accept(visitor: NodeVisitor[T]) -> T → method FloatExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method ForStmt.accept(visitor: NodeVisitor[T]) -> T → method ForStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method FuncDef.accept(visitor: NodeVisitor[T]) -> T → method FuncDef.accept(visitor: StatementVisitor[T]) -> T - changed:
method FuncExpr.accept(visitor: NodeVisitor[T]) -> T → method FuncExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method GeneratorExpr.accept(visitor: NodeVisitor[T]) -> T → method GeneratorExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method GlobalDecl.accept(visitor: NodeVisitor[T]) -> T → method GlobalDecl.accept(visitor: StatementVisitor[T]) -> T - changed:
method IfStmt.accept(visitor: NodeVisitor[T]) -> T → method IfStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method Import.accept(visitor: NodeVisitor[T]) -> T → method Import.accept(visitor: StatementVisitor[T]) -> T - changed:
method ImportAll.accept(visitor: NodeVisitor[T]) -> T → method ImportAll.accept(visitor: StatementVisitor[T]) -> T - changed:
method ImportFrom.accept(visitor: NodeVisitor[T]) -> T → method ImportFrom.accept(visitor: StatementVisitor[T]) -> T - changed:
method IndexExpr.accept(visitor: NodeVisitor[T]) -> T → method IndexExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method IntExpr.accept(visitor: NodeVisitor[T]) -> T → method IntExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method ListComprehension.accept(visitor: NodeVisitor[T]) -> T → method ListComprehension.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method ListExpr.accept(visitor: NodeVisitor[T]) -> T → method ListExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method MemberExpr.accept(visitor: NodeVisitor[T]) -> T → method MemberExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method NameExpr.accept(visitor: NodeVisitor[T]) -> T → method NameExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method NamedTupleExpr.accept(visitor: NodeVisitor[T]) -> T → method NamedTupleExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method NewTypeExpr.accept(visitor: NodeVisitor[T]) -> T → method NewTypeExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method NonlocalDecl.accept(visitor: NodeVisitor[T]) -> T → method NonlocalDecl.accept(visitor: StatementVisitor[T]) -> T - changed:
method OpExpr.accept(visitor: NodeVisitor[T]) -> T → method OpExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method OperatorAssignmentStmt.accept(visitor: NodeVisitor[T]) -> T → method OperatorAssignmentStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method OverloadedFuncDef.accept(visitor: NodeVisitor[T]) -> T → method OverloadedFuncDef.accept(visitor: StatementVisitor[T]) -> T - changed:
method PassStmt.accept(visitor: NodeVisitor[T]) -> T → method PassStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method PrintStmt.accept(visitor: NodeVisitor[T]) -> T → method PrintStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method PromoteExpr.accept(visitor: NodeVisitor[T]) -> T → method PromoteExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method RaiseStmt.accept(visitor: NodeVisitor[T]) -> T → method RaiseStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method ReturnStmt.accept(visitor: NodeVisitor[T]) -> T → method ReturnStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method RevealTypeExpr.accept(visitor: NodeVisitor[T]) -> T → method RevealTypeExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method SetComprehension.accept(visitor: NodeVisitor[T]) -> T → method SetComprehension.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method SetExpr.accept(visitor: NodeVisitor[T]) -> T → method SetExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method SliceExpr.accept(visitor: NodeVisitor[T]) -> T → method SliceExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method StarExpr.accept(visitor: NodeVisitor[T]) -> T → method StarExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method StrExpr.accept(visitor: NodeVisitor[T]) -> T → method StrExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method SuperExpr.accept(visitor: NodeVisitor[T]) -> T → method SuperExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method TempNode.accept(visitor: NodeVisitor[T]) -> T → method TempNode.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method TryStmt.accept(visitor: NodeVisitor[T]) -> T → method TryStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method TupleExpr.accept(visitor: NodeVisitor[T]) -> T → method TupleExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method TypeAliasExpr.accept(visitor: NodeVisitor[T]) -> T → method TypeAliasExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method TypeApplication.accept(visitor: NodeVisitor[T]) -> T → method TypeApplication.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method TypeVarExpr.accept(visitor: NodeVisitor[T]) -> T → method TypeVarExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method TypedDictExpr.accept(visitor: NodeVisitor[T]) -> T → method TypedDictExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method UnaryExpr.accept(visitor: NodeVisitor[T]) -> T → method UnaryExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method UnicodeExpr.accept(visitor: NodeVisitor[T]) -> T → method UnicodeExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method Var.accept(visitor: NodeVisitor[T]) -> T → method Var.accept(visitor: StatementVisitor[T]) -> T - changed:
method WhileStmt.accept(visitor: NodeVisitor[T]) -> T → method WhileStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method WithStmt.accept(visitor: NodeVisitor[T]) -> T → method WithStmt.accept(visitor: StatementVisitor[T]) -> T - changed:
method YieldExpr.accept(visitor: NodeVisitor[T]) -> T → method YieldExpr.accept(visitor: ExpressionVisitor[T]) -> T - changed:
method YieldFromExpr.accept(visitor: NodeVisitor[T]) -> T → method YieldFromExpr.accept(visitor: ExpressionVisitor[T]) -> T - added:
field AssertStmt.msg - added:
field ForStmt.index_type - added:
field TypeInfo.declared_metaclass - added:
field TypeInfo.metaclass_type - added:
field WithStmt.target_type - added:
function get_member_expr_fullname(expr: MemberExpr) -> str - added:
method Expression.accept(visitor: ExpressionVisitor[T]) -> T - added:
method Statement.accept(visitor: StatementVisitor[T]) -> T - added:
method TypeInfo.calculate_metaclass_type() -> Optional[mypy.types.Instance] - added:
method TypeInfo.is_metaclass() -> bool
- removed:
function fill_typevars(typ: TypeInfo) -> Union[Instance, TupleType] - removed:
function has_no_typevars(typ: Type) -> bool - added:
method SemanticAnalyzer.analyze_typeddict_classdef(defn: ClassDef) -> bool - added:
method SemanticAnalyzer.check_typeddict_classdef(defn: ClassDef, oldfields: List[str]=…) -> Tuple[List[str], List[Type]] - added:
method SemanticAnalyzer.get_all_bases_tvars(defn: ClassDef, removed: List[int]) -> List[Tuple[str, TypeVarExpr]] - added:
method SemanticAnalyzer.get_tvars(tp: Type) -> List[Tuple[str, TypeVarExpr]] - added:
method SemanticAnalyzer.is_typeddict(expr: Expression) -> bool - added:
method SemanticAnalyzer.remove_dups(tvars: List[T]) -> List[T]
- changed:
constructor InterfaceTypeFixture() → constructor InterfaceTypeFixture() -> None - changed:
method TypeFixture.callable(*a) → method TypeFixture.callable(*a: Type) -> CallableType - changed:
method TypeFixture.callable_default(min_args, *a) → method TypeFixture.callable_default(min_args: int, *a: Type) -> CallableType - changed:
method TypeFixture.callable_type(*a) → method TypeFixture.callable_type(*a: Type) -> CallableType - changed:
method TypeFixture.callable_var_arg(min_args, *a) → method TypeFixture.callable_var_arg(min_args: int, *a: Type) -> CallableType
- changed:
constructor Instance(typ: mypy.nodes.TypeInfo, args: List[Type], line: int=…, column: int=…, erased: bool=…) -> None → constructor Instance(typ: Optional[mypy.nodes.TypeInfo], args: List[Type], line: int=…, column: int=…, erased: bool=…) -> None - changed:
constructor UninhabitedType(line: int=…, column: int=…) -> None → constructor UninhabitedType(is_noreturn: bool=…, line: int=…, column: int=…) -> None - added:
field UninhabitedType.is_noreturn
- added:
function fill_typevars(typ: TypeInfo) -> Union[Instance, TupleType] - added:
function has_no_typevars(typ: Type) -> bool
- changed:
class NodeVisitor(Generic[T]) → class NodeVisitor(Generic[T], ExpressionVisitor[T], StatementVisitor[T]) - added:
class ExpressionVisitor(Generic[T]) - added:
class StatementVisitor(Generic[T]) - added:
method ExpressionVisitor.visit__promote_expr(o: mypy.nodes.PromoteExpr) -> T - added:
method ExpressionVisitor.visit_await_expr(o: mypy.nodes.AwaitExpr) -> T - added:
method ExpressionVisitor.visit_backquote_expr(o: mypy.nodes.BackquoteExpr) -> T - added:
method ExpressionVisitor.visit_bytes_expr(o: mypy.nodes.BytesExpr) -> T - added:
method ExpressionVisitor.visit_call_expr(o: mypy.nodes.CallExpr) -> T - added:
method ExpressionVisitor.visit_cast_expr(o: mypy.nodes.CastExpr) -> T - added:
method ExpressionVisitor.visit_comparison_expr(o: mypy.nodes.ComparisonExpr) -> T - added:
method ExpressionVisitor.visit_complex_expr(o: mypy.nodes.ComplexExpr) -> T - added:
method ExpressionVisitor.visit_conditional_expr(o: mypy.nodes.ConditionalExpr) -> T - added:
method ExpressionVisitor.visit_dict_expr(o: mypy.nodes.DictExpr) -> T - added:
method ExpressionVisitor.visit_dictionary_comprehension(o: mypy.nodes.DictionaryComprehension) -> T - added:
method ExpressionVisitor.visit_ellipsis(o: mypy.nodes.EllipsisExpr) -> T - added:
method ExpressionVisitor.visit_float_expr(o: mypy.nodes.FloatExpr) -> T - added:
method ExpressionVisitor.visit_func_expr(o: mypy.nodes.FuncExpr) -> T - added:
method ExpressionVisitor.visit_generator_expr(o: mypy.nodes.GeneratorExpr) -> T - added:
method ExpressionVisitor.visit_index_expr(o: mypy.nodes.IndexExpr) -> T - added:
method ExpressionVisitor.visit_int_expr(o: mypy.nodes.IntExpr) -> T - added:
method ExpressionVisitor.visit_list_comprehension(o: mypy.nodes.ListComprehension) -> T - added:
method ExpressionVisitor.visit_list_expr(o: mypy.nodes.ListExpr) -> T - added:
method ExpressionVisitor.visit_member_expr(o: mypy.nodes.MemberExpr) -> T - added:
method ExpressionVisitor.visit_name_expr(o: mypy.nodes.NameExpr) -> T - added:
method ExpressionVisitor.visit_namedtuple_expr(o: mypy.nodes.NamedTupleExpr) -> T - added:
method ExpressionVisitor.visit_newtype_expr(o: mypy.nodes.NewTypeExpr) -> T - added:
method ExpressionVisitor.visit_op_expr(o: mypy.nodes.OpExpr) -> T - added:
method ExpressionVisitor.visit_reveal_type_expr(o: mypy.nodes.RevealTypeExpr) -> T - added:
method ExpressionVisitor.visit_set_comprehension(o: mypy.nodes.SetComprehension) -> T - added:
method ExpressionVisitor.visit_set_expr(o: mypy.nodes.SetExpr) -> T - added:
method ExpressionVisitor.visit_slice_expr(o: mypy.nodes.SliceExpr) -> T - added:
method ExpressionVisitor.visit_star_expr(o: mypy.nodes.StarExpr) -> T - added:
method ExpressionVisitor.visit_str_expr(o: mypy.nodes.StrExpr) -> T - added:
method ExpressionVisitor.visit_super_expr(o: mypy.nodes.SuperExpr) -> T - added:
method ExpressionVisitor.visit_temp_node(o: mypy.nodes.TempNode) -> T - added:
method ExpressionVisitor.visit_tuple_expr(o: mypy.nodes.TupleExpr) -> T - added:
method ExpressionVisitor.visit_type_alias_expr(o: mypy.nodes.TypeAliasExpr) -> T - added:
method ExpressionVisitor.visit_type_application(o: mypy.nodes.TypeApplication) -> T - added:
method ExpressionVisitor.visit_type_var_expr(o: mypy.nodes.TypeVarExpr) -> T - added:
method ExpressionVisitor.visit_typeddict_expr(o: mypy.nodes.TypedDictExpr) -> T - added:
method ExpressionVisitor.visit_unary_expr(o: mypy.nodes.UnaryExpr) -> T - added:
method ExpressionVisitor.visit_unicode_expr(o: mypy.nodes.UnicodeExpr) -> T - added:
method ExpressionVisitor.visit_yield_expr(o: mypy.nodes.YieldExpr) -> T - added:
method ExpressionVisitor.visit_yield_from_expr(o: mypy.nodes.YieldFromExpr) -> T - added:
method StatementVisitor.visit_assert_stmt(o: mypy.nodes.AssertStmt) -> T - added:
method StatementVisitor.visit_assignment_stmt(o: mypy.nodes.AssignmentStmt) -> T - added:
method StatementVisitor.visit_block(o: mypy.nodes.Block) -> T - added:
method StatementVisitor.visit_break_stmt(o: mypy.nodes.BreakStmt) -> T - added:
method StatementVisitor.visit_class_def(o: mypy.nodes.ClassDef) -> T - added:
method StatementVisitor.visit_continue_stmt(o: mypy.nodes.ContinueStmt) -> T - added:
method StatementVisitor.visit_decorator(o: mypy.nodes.Decorator) -> T - added:
method StatementVisitor.visit_del_stmt(o: mypy.nodes.DelStmt) -> T - added:
method StatementVisitor.visit_exec_stmt(o: mypy.nodes.ExecStmt) -> T - added:
method StatementVisitor.visit_expression_stmt(o: mypy.nodes.ExpressionStmt) -> T - added:
method StatementVisitor.visit_for_stmt(o: mypy.nodes.ForStmt) -> T - added:
method StatementVisitor.visit_func_def(o: mypy.nodes.FuncDef) -> T - added:
method StatementVisitor.visit_global_decl(o: mypy.nodes.GlobalDecl) -> T - added:
method StatementVisitor.visit_if_stmt(o: mypy.nodes.IfStmt) -> T - added:
method StatementVisitor.visit_import(o: mypy.nodes.Import) -> T - added:
method StatementVisitor.visit_import_all(o: mypy.nodes.ImportAll) -> T - added:
method StatementVisitor.visit_import_from(o: mypy.nodes.ImportFrom) -> T - added:
method StatementVisitor.visit_nonlocal_decl(o: mypy.nodes.NonlocalDecl) -> T - added:
method StatementVisitor.visit_operator_assignment_stmt(o: mypy.nodes.OperatorAssignmentStmt) -> T - added:
method StatementVisitor.visit_overloaded_func_def(o: mypy.nodes.OverloadedFuncDef) -> T - added:
method StatementVisitor.visit_pass_stmt(o: mypy.nodes.PassStmt) -> T - added:
method StatementVisitor.visit_print_stmt(o: mypy.nodes.PrintStmt) -> T - added:
method StatementVisitor.visit_raise_stmt(o: mypy.nodes.RaiseStmt) -> T - added:
method StatementVisitor.visit_return_stmt(o: mypy.nodes.ReturnStmt) -> T - added:
method StatementVisitor.visit_try_stmt(o: mypy.nodes.TryStmt) -> T - added:
method StatementVisitor.visit_var(o: mypy.nodes.Var) -> T - added:
method StatementVisitor.visit_while_stmt(o: mypy.nodes.WhileStmt) -> T - added:
method StatementVisitor.visit_with_stmt(o: mypy.nodes.WithStmt) -> T