Upgrading mypy 0.942 to 0.950
Unknown0.942 → 0.950
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.
Drops tomli.
Installs 2 packages in all (was 3).
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
method TypeChecker.check_slots_definition(typ: Type, context: Context) -> None - added:
method TypeChecker.type_requires_usage(typ: Type) -> Optional[Tuple[str, ErrorCode]]
- added:
method ExpressionChecker.visit_assert_type_expr(expr: AssertTypeExpr) -> Type
- added:
method ConstraintBuilderVisitor.visit_parameters(template: Parameters) -> List[Constraint] - added:
method ConstraintBuilderVisitor.visit_unpack_type(template: UnpackType) -> List[Constraint]
- added:
method EraseTypeVisitor.visit_parameters(t: Parameters) -> ProperType - added:
method EraseTypeVisitor.visit_unpack_type(t: UnpackType) -> ProperType
- added:
variable ASSERT_TYPE: Final - added:
variable UNUSED_AWAITABLE: Final - added:
variable UNUSED_COROUTINE: Final
- added:
method ExpandTypeVisitor.visit_parameters(t: Parameters) -> Type - added:
method ExpandTypeVisitor.visit_unpack_type(t: UnpackType) -> Type
- added:
method TypeFixer.visit_parameters(p: Parameters) -> None - added:
method TypeFixer.visit_unpack_type(u: UnpackType) -> None
- added:
method TypeIndirectionVisitor.visit_parameters(t: types.Parameters) -> Set[str] - added:
method TypeIndirectionVisitor.visit_unpack_type(t: types.UnpackType) -> Set[str]
- added:
method TypeJoinVisitor.visit_parameters(t: Parameters) -> ProperType - added:
method TypeJoinVisitor.visit_unpack_type(t: UnpackType) -> UnpackType
- added:
function is_enum_overlapping_union(x: ProperType, y: ProperType) -> bool - added:
function is_literal_in_union(x: ProperType, y: ProperType) -> bool - added:
method TypeMeetVisitor.visit_parameters(t: Parameters) -> ProperType - added:
method TypeMeetVisitor.visit_unpack_type(t: UnpackType) -> ProperType
- added:
variable ASYNC_FOR_OUTSIDE_COROUTINE: Final - added:
variable ASYNC_WITH_OUTSIDE_COROUTINE: Final - added:
variable INVALID_TYPE_FOR_SLOTS: Final - added:
variable INVALID_UNPACK - added:
variable TYPE_MUST_BE_USED: Final
- added:
function format_callable_args(arg_types: List[Type], arg_kinds: List[ArgKind], arg_names: List[Optional[str]], format: Callable[[Type], str], verbosity: int) -> str - added:
method MessageBuilder.assert_type_fail(source_type: Type, target_type: Type, context: Context) -> None - added:
method MessageBuilder.maybe_note_concatenate_pos_args(original_caller_type: ProperType, callee_type: ProperType, context: Context, code: Optional[ErrorCode]=…) -> None
- added:
method MixedTraverserVisitor.visit_assert_type_expr(o: AssertTypeExpr) -> None
- added:
class AssertTypeExpr(Expression) - added:
constructor AssertTypeExpr(expr: Expression, typ: mypy.types.Type) -> None - added:
field AssertTypeExpr.expr: Expression - added:
field AssertTypeExpr.type: mypy.types.Type - added:
field TypeInfo.has_param_spec_type: bool - added:
method AssertTypeExpr.accept(visitor: ExpressionVisitor[T]) -> T
- added:
variable attr_optional_converters: Final
- added:
method SameTypeVisitor.visit_parameters(left: Parameters) -> bool - added:
method SameTypeVisitor.visit_unpack_type(left: UnpackType) -> bool
- changed:
method SemanticAnalyzer.anal_type(typ: Type, *, tvar_scope: Optional[TypeVarLikeScope]=…, allow_tuple_literal: bool=…, allow_unbound_tvars: bool=…, allow_placeholder: bool=…, allow_required: bool=…, report_invalid_types: bool=…, third_pass: bool=…) -> Optional[Type] → method SemanticAnalyzer.anal_type(typ: Type, *, tvar_scope: Optional[TypeVarLikeScope]=…, allow_tuple_literal: bool=…, allow_unbound_tvars: bool=…, allow_placeholder: bool=…, allow_required: bool=…, allow_param_spec_literals: bool=…, report_invalid_types: bool=…, third_pass: bool=…) -> Optional[Type] - changed:
method SemanticAnalyzer.type_analyzer(*, tvar_scope: Optional[TypeVarLikeScope]=…, allow_tuple_literal: bool=…, allow_unbound_tvars: bool=…, allow_placeholder: bool=…, allow_required: bool=…, report_invalid_types: bool=…) -> TypeAnalyser → method SemanticAnalyzer.type_analyzer(*, tvar_scope: Optional[TypeVarLikeScope]=…, allow_tuple_literal: bool=…, allow_unbound_tvars: bool=…, allow_placeholder: bool=…, allow_required: bool=…, allow_param_spec_literals: bool=…, report_invalid_types: bool=…) -> TypeAnalyser - added:
method SemanticAnalyzer.extract_typevarlike_name(s: AssignmentStmt, call: CallExpr) -> Optional[str] - added:
method SemanticAnalyzer.visit_assert_type_expr(expr: AssertTypeExpr) -> None
- added:
method TypeArgumentAnalyzer.visit_unpack_type(typ: UnpackType) -> None
- added:
method SnapshotTypeVisitor.visit_parameters(typ: Parameters) -> SnapshotItem - added:
method SnapshotTypeVisitor.visit_unpack_type(typ: UnpackType) -> SnapshotItem
- added:
method NodeReplaceVisitor.visit_assert_type_expr(node: AssertTypeExpr) -> None - added:
method TypeReplaceVisitor.visit_parameters(typ: Parameters) -> None - added:
method TypeReplaceVisitor.visit_unpack_type(typ: UnpackType) -> None
- added:
method DependencyVisitor.visit_assert_type_expr(e: AssertTypeExpr) -> None - added:
method TypeTriggersVisitor.visit_parameters(typ: Parameters) -> List[str] - added:
method TypeTriggersVisitor.visit_unpack_type(typ: UnpackType) -> List[str]
- added:
method SubexpressionFinder.visit_assert_type_expr(e: AssertTypeExpr) -> None
- removed:
function strict_optional_set(value: bool) -> Iterator[None] - removed:
variable strict_optional - added:
class StrictOptionalState - added:
constructor StrictOptionalState(strict_optional: bool) -> None - added:
method StrictOptionalState.strict_optional_set(value: bool) -> Iterator[None] - added:
variable state: Final
- added:
method StrConv.visit_assert_type_expr(o: mypy.nodes.AssertTypeExpr) -> str
- added:
function is_read_only_property(runtime: object) -> bool
- changed:
constructor SubtypeVisitor(right: Type, *, ignore_type_params: bool, ignore_pos_arg_names: bool=…, ignore_declared_variance: bool=…, ignore_promotions: bool=…) -> None → constructor SubtypeVisitor(right: Type, *, ignore_type_params: bool, ignore_pos_arg_names: bool=…, ignore_declared_variance: bool=…, ignore_promotions: bool=…, options: Optional[Options]=…) -> None - changed:
function is_callable_compatible(left: CallableType, right: CallableType, *, is_compat: Callable[[Type, Type], bool], is_compat_return: Optional[Callable[[Type, Type], bool]]=…, ignore_return: bool=…, ignore_pos_arg_names: bool=…, check_args_covariantly: bool=…, allow_partial_overlap: bool=…) -> bool → function is_callable_compatible(left: CallableType, right: CallableType, *, is_compat: Callable[[Type, Type], bool], is_compat_return: Optional[Callable[[Type, Type], bool]]=…, ignore_return: bool=…, ignore_pos_arg_names: bool=…, check_args_covariantly: bool=…, allow_partial_overlap: bool=…, strict_concatenate: bool=…) -> bool - changed:
function is_equivalent(a: Type, b: Type, *, ignore_type_params: bool=…, ignore_pos_arg_names: bool=…) -> bool → function is_equivalent(a: Type, b: Type, *, ignore_type_params: bool=…, ignore_pos_arg_names: bool=…, options: Optional[Options]=…) -> bool - changed:
function is_subtype(left: Type, right: Type, *, ignore_type_params: bool=…, ignore_pos_arg_names: bool=…, ignore_declared_variance: bool=…, ignore_promotions: bool=…) -> bool → function is_subtype(left: Type, right: Type, *, ignore_type_params: bool=…, ignore_pos_arg_names: bool=…, ignore_declared_variance: bool=…, ignore_promotions: bool=…, options: Optional[Options]=…) -> bool - added:
function are_parameters_compatible(left: Union[Parameters, CallableType], right: Union[Parameters, CallableType], *, is_compat: Callable[[Type, Type], bool], ignore_pos_arg_names: bool=…, check_args_covariantly: bool=…, allow_partial_overlap: bool=…, strict_concatenate_check: bool=…) -> bool - added:
function try_restrict_literal_union(t: UnionType, s: Type) -> Optional[List[Type]] - added:
method ProperSubtypeVisitor.visit_parameters(left: Parameters) -> bool - added:
method ProperSubtypeVisitor.visit_unpack_type(left: UnpackType) -> bool - added:
method SubtypeVisitor.visit_parameters(left: Parameters) -> bool - added:
method SubtypeVisitor.visit_unpack_type(left: UnpackType) -> bool
- changed:
class YieldSeeker(TraverserVisitor) → class YieldSeeker(FuncCollectorBase) - added:
method TraverserVisitor.visit_assert_type_expr(o: AssertTypeExpr) -> None
- added:
method TransformVisitor.visit_assert_type_expr(node: AssertTypeExpr) -> AssertTypeExpr
- changed:
constructor TypeVarLikeScope(parent: Optional[TypeVarLikeScope]=…, is_class_scope: bool=…, prohibited: Optional[TypeVarLikeScope]=…) -> None → constructor TypeVarLikeScope(parent: Optional[TypeVarLikeScope]=…, is_class_scope: bool=…, prohibited: Optional[TypeVarLikeScope]=…, namespace: str=…) -> None - changed:
method TypeVarLikeScope.class_frame() -> TypeVarLikeScope → method TypeVarLikeScope.class_frame(namespace: str) -> TypeVarLikeScope
- added:
method TypeQuery.visit_parameters(t: Parameters) -> T - added:
method TypeQuery.visit_unpack_type(t: UnpackType) -> T - added:
method TypeTranslator.visit_parameters(t: Parameters) -> Type - added:
method TypeTranslator.visit_unpack_type(t: UnpackType) -> Type - added:
method TypeVisitor.visit_parameters(t: Parameters) -> T - added:
method TypeVisitor.visit_unpack_type(t: UnpackType) -> T
- changed:
constructor TypeAnalyser(api: SemanticAnalyzerCoreInterface, tvar_scope: TypeVarLikeScope, plugin: Plugin, options: Options, is_typeshed_stub: bool, *, defining_alias: bool=…, allow_tuple_literal: bool=…, allow_unbound_tvars: bool=…, allow_placeholder: bool=…, allow_required: bool=…, report_invalid_types: bool=…) -> None → constructor TypeAnalyser(api: SemanticAnalyzerCoreInterface, tvar_scope: TypeVarLikeScope, plugin: Plugin, options: Options, is_typeshed_stub: bool, *, defining_alias: bool=…, allow_tuple_literal: bool=…, allow_unbound_tvars: bool=…, allow_placeholder: bool=…, allow_required: bool=…, allow_param_spec_literals: bool=…, report_invalid_types: bool=…) -> None - added:
method TypeAnalyser.analyze_callable_args_for_concatenate(callable_args: Type, ret_type: Type, fallback: Instance) -> Optional[CallableType] - added:
method TypeAnalyser.apply_concatenate_operator(t: UnboundType) -> Type - added:
method TypeAnalyser.set_allow_param_spec_literals(to: bool) -> Iterator[None] - added:
method TypeAnalyser.visit_parameters(t: Parameters) -> Type - added:
method TypeAnalyser.visit_unpack_type(t: UnpackType) -> Type
- changed:
function callable_corresponding_argument(typ: CallableType, model: FormalArgument) -> Optional[FormalArgument] → function callable_corresponding_argument(typ: Union[CallableType, Parameters], model: FormalArgument) -> Optional[FormalArgument] - added:
function simple_literal_type(t: ProperType) -> Optional[Instance] - added:
function simple_literal_value_key(t: ProperType) -> Optional[Tuple[str, ...]]
- changed:
constructor Instance(typ: mypy.nodes.TypeInfo, args: Sequence[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=…, *, last_known_value: Optional[LiteralType]=…) -> None - changed:
constructor ParamSpecType(name: str, fullname: str, id: Union[TypeVarId, int], flavor: int, upper_bound: Type, *, line: int=…, column: int=…) -> None → constructor ParamSpecType(name: str, fullname: str, id: Union[TypeVarId, int], flavor: int, upper_bound: Type, *, line: int=…, column: int=…, prefix: Optional[Parameters]=…) -> None - changed:
constructor TypeVarId(raw_id: int, meta_level: int=…) -> None → constructor TypeVarId(raw_id: int, meta_level: int=…, *, namespace: str=…) -> None - changed:
method CallableType.expand_param_spec(c: CallableType) -> CallableType → method CallableType.expand_param_spec(c: Union[CallableType, Parameters], no_prefix: bool=…) -> CallableType - changed:
method Instance.copy_modified(*, args: Bogus[List[Type]]=…, erased: Bogus[bool]=…, last_known_value: Bogus[Optional[LiteralType]]=…) -> Instance → method Instance.copy_modified(*, args: Bogus[List[Type]]=…, last_known_value: Bogus[Optional[LiteralType]]=…) -> Instance - added:
class Parameters(ProperType) - added:
class UnpackType(ProperType) - added:
constructor Parameters(arg_types: Sequence[Type], arg_kinds: List[ArgKind], arg_names: Sequence[Optional[str]], *, variables: Optional[Sequence[TypeVarLikeType]]=…, is_ellipsis_args: bool=…, line: int=…, column: int=…) -> None - added:
constructor UnpackType(typ: Type, line: int=…, column: int=…) -> None - added:
field ParamSpecType.prefix: Parameters - added:
field TypeVarId.namespace: str - added:
method ParamSpecType.copy_modified(*, id: Bogus[Union[TypeVarId, int]]=…, flavor: Bogus[int]=…, prefix: Bogus[Parameters]=…) -> ParamSpecType - added:
method Parameters.accept(visitor: TypeVisitor[T]) -> T - added:
method Parameters.argument_by_name(name: Optional[str]) -> Optional[FormalArgument] - added:
method Parameters.argument_by_position(position: Optional[int]) -> Optional[FormalArgument] - added:
method Parameters.copy_modified(arg_types: Bogus[Sequence[Type]]=…, arg_kinds: Bogus[List[ArgKind]]=…, arg_names: Bogus[Sequence[Optional[str]]]=…, *, variables: Bogus[Sequence[TypeVarLikeType]]=…, is_ellipsis_args: Bogus[bool]=…) -> Parameters - added:
method Parameters.formal_arguments(include_star_args: bool=…) -> List[FormalArgument] - added:
method Parameters.kw_arg() -> Optional[FormalArgument] - added:
method Parameters.serialize() -> JsonDict - added:
method Parameters.try_synthesizing_arg_from_kwarg(name: Optional[str]) -> Optional[FormalArgument] - added:
method Parameters.try_synthesizing_arg_from_vararg(position: Optional[int]) -> Optional[FormalArgument] - added:
method Parameters.var_arg() -> Optional[FormalArgument] - added:
method TypeStrVisitor.visit_parameters(t: Parameters) -> str - added:
method TypeStrVisitor.visit_unpack_type(t: UnpackType) -> str - added:
method UnpackType.accept(visitor: TypeVisitor[T]) -> T - added:
method UnpackType.serialize() -> JsonDict - added:
static method Parameters.deserialize(data: JsonDict) -> Parameters - added:
static method UnpackType.deserialize(data: JsonDict) -> UnpackType - added:
variable ASSERT_TYPE_NAMES: Final
- removed:
function abstractclassmethod(callable: _FuncT) -> _FuncT - removed:
function abstractstaticmethod(callable: _FuncT) -> _FuncT - changed:
function update_abstractmethods(cls: Type[_T]) -> Type[_T] → function update_abstractmethods(cls: type[_T]) -> type[_T] - changed:
method ABCMeta.register(subclass: Type[_T]) -> Type[_T] → method ABCMeta.register(subclass: type[_T]) -> type[_T] - added:
class abstractclassmethod(classmethod[_R_co], Generic[_R_co]) - added:
class abstractstaticmethod(staticmethod[_R_co], Generic[_R_co]) - added:
constructor abstractclassmethod(callable: Callable[..., _R_co]) -> None - added:
constructor abstractstaticmethod(callable: Callable[..., _R_co]) -> None
- removed:
class Aifc_read - removed:
class Aifc_write - removed:
constructor Aifc_read(f: _File) -> None - removed:
constructor Aifc_write(f: _File) -> None - removed:
method Aifc_read.close() -> None - removed:
method Aifc_read.getcompname() -> bytes - removed:
method Aifc_read.getcomptype() -> bytes - removed:
method Aifc_read.getfp() -> IO[bytes] - removed:
method Aifc_read.getframerate() -> int - removed:
method Aifc_read.getmark(id: int) -> _Marker - removed:
method Aifc_read.getmarkers() -> list[_Marker] | None - removed:
method Aifc_read.getnchannels() -> int - removed:
method Aifc_read.getnframes() -> int - removed:
method Aifc_read.getparams() -> _aifc_params - removed:
method Aifc_read.getsampwidth() -> int - removed:
method Aifc_read.initfp(file: IO[bytes]) -> None - removed:
method Aifc_read.readframes(nframes: int) -> bytes - removed:
method Aifc_read.rewind() -> None - removed:
method Aifc_read.setpos(pos: int) -> None - removed:
method Aifc_read.tell() -> int - removed:
method Aifc_write.aifc() -> None - removed:
method Aifc_write.aiff() -> None - removed:
method Aifc_write.close() -> None - removed:
method Aifc_write.getcompname() -> bytes - removed:
method Aifc_write.getcomptype() -> bytes - removed:
method Aifc_write.getframerate() -> int - removed:
method Aifc_write.getmark(id: int) -> _Marker - removed:
method Aifc_write.getmarkers() -> list[_Marker] | None - removed:
method Aifc_write.getnchannels() -> int - removed:
method Aifc_write.getnframes() -> int - removed:
method Aifc_write.getparams() -> _aifc_params - removed:
method Aifc_write.getsampwidth() -> int - removed:
method Aifc_write.initfp(file: IO[bytes]) -> None - removed:
method Aifc_write.setcomptype(comptype: bytes, compname: bytes) -> None - removed:
method Aifc_write.setframerate(framerate: int) -> None - removed:
method Aifc_write.setmark(id: int, pos: int, name: bytes) -> None - removed:
method Aifc_write.setnchannels(nchannels: int) -> None - removed:
method Aifc_write.setnframes(nframes: int) -> None - removed:
method Aifc_write.setparams(params: tuple[int, int, int, int, bytes, bytes]) -> None - removed:
method Aifc_write.setsampwidth(sampwidth: int) -> None - removed:
method Aifc_write.tell() -> int - removed:
method Aifc_write.writeframes(data: Any) -> None - removed:
method Aifc_write.writeframesraw(data: Any) -> None
- removed:
class BooleanOptionalAction(Action) - removed:
constructor BooleanOptionalAction(option_strings: Sequence[str], dest: str, default: _T | str | None=…, type: Callable[[str], _T] | Callable[[str], _T] | FileType | None=…, choices: Iterable[_T] | None=…, required: bool=…, help: str | None=…, metavar: str | tuple[str, ...] | None=…) -> None - changed:
constructor Action(option_strings: Sequence[str], dest: str, nargs: int | str | None=…, const: _T | None=…, default: _T | str | None=…, type: Callable[[str], _T] | Callable[[str], _T] | FileType | None=…, choices: Iterable[_T] | None=…, required: bool=…, help: str | None=…, metavar: str | tuple[str, ...] | None=…) -> None → constructor Action(option_strings: Sequence[str], dest: str, nargs: int | str | None=…, const: _T | None=…, default: _T | str | None=…, type: Callable[[str], _T] | FileType | None=…, choices: Iterable[_T] | None=…, required: bool=…, help: str | None=…, metavar: str | tuple[str, ...] | None=…) -> None - changed:
method ArgumentParser.add_subparsers(*, title: str=…, description: str | None=…, prog: str=…, action: Type[Action]=…, option_string: str=…, dest: str | None=…, required: bool=…, help: str | None=…, metavar: str | None=…) -> _SubParsersAction[_ArgumentParserT] | (*, title: str=…, description: str | None=…, prog: str=…, parser_class: Type[_ArgumentParserT]=…, action: Type[Action]=…, option_string:… → method ArgumentParser.add_subparsers(*, title: str=…, description: str | None=…, prog: str=…, action: type[Action]=…, option_string: str=…, dest: str | None=…, required: bool=…, help: str | None=…, metavar: str | None=…) -> _SubParsersAction[_ArgumentParserT] | (*, title: str=…, description: str | None=…, prog: str=…, parser_class: type[_ArgumentParserT]=…, action: type[Action]=…, option_string:… - changed:
variable ONE_OR_MORE: str → variable ONE_OR_MORE: Literal['+'] - changed:
variable OPTIONAL: str → variable OPTIONAL: Literal['?'] - changed:
variable PARSER: str → variable PARSER: Literal['A...'] - changed:
variable REMAINDER: str → variable REMAINDER: Literal['...'] - changed:
variable SUPPRESS: str → variable SUPPRESS: _SUPPRESS_T | str - changed:
variable ZERO_OR_MORE: str → variable ZERO_OR_MORE: Literal['*']
- removed:
field array.itemsize: int - removed:
field array.typecode: _TypeCode - changed:
method array.count(__v: Any) -> int → method array.count(__v: _T) -> int - changed:
method array.remove(__v: Any) -> None → method array.remove(__v: _T) -> None - added:
property array.itemsize -> int - added:
property array.typecode -> _TypeCode
- removed:
export ALL_COMPLETED - removed:
export AbstractChildWatcher - removed:
export AbstractEventLoop - removed:
export AbstractEventLoopPolicy - removed:
export AbstractServer - removed:
export BaseEventLoop - removed:
export BaseProtocol - removed:
export BaseTransport - removed:
export BoundedSemaphore - removed:
export BufferedProtocol - removed:
export CancelledError - removed:
export Condition - removed:
export DatagramProtocol - removed:
export DatagramTransport - removed:
export Event - removed:
export FIRST_COMPLETED - removed:
export FIRST_EXCEPTION - removed:
export FastChildWatcher - removed:
export Future - removed:
export Handle - removed:
export IncompleteReadError - removed:
export InvalidStateError - removed:
export LifoQueue - removed:
export LimitOverrunError - removed:
export Lock - removed:
export MultiLoopChildWatcher - removed:
export PriorityQueue - removed:
export Protocol - removed:
export Queue - removed:
export QueueEmpty - removed:
export QueueFull - removed:
export ReadTransport - removed:
export SafeChildWatcher - removed:
export SelectorEventLoop - removed:
export Semaphore - removed:
export SendfileNotAvailableError - removed:
export StreamReader - removed:
export StreamReaderProtocol - removed:
export StreamWriter - removed:
export SubprocessProtocol - removed:
export SubprocessTransport - removed:
export Task - removed:
export ThreadedChildWatcher - removed:
export TimeoutError - removed:
export TimerHandle - removed:
export Transport - removed:
export WriteTransport - removed:
export all_tasks - removed:
export as_completed - removed:
export coroutine - removed:
export create_subprocess_exec - removed:
export create_subprocess_shell - removed:
export create_task - removed:
export current_task - removed:
export ensure_future - removed:
export gather - removed:
export get_child_watcher - removed:
export get_event_loop - removed:
export get_event_loop_policy - removed:
export get_running_loop - removed:
export iscoroutine - removed:
export iscoroutinefunction - removed:
export isfuture - removed:
export new_event_loop - removed:
export open_connection - removed:
export open_unix_connection - removed:
export run - removed:
export run_coroutine_threadsafe - removed:
export set_child_watcher - removed:
export set_event_loop - removed:
export set_event_loop_policy - removed:
export shield - removed:
export sleep - removed:
export start_server - removed:
export start_unix_server - removed:
export to_thread - removed:
export wait - removed:
export wait_for - removed:
export wrap_future - removed:
variable DefaultEventLoopPolicy: Type[AbstractEventLoopPolicy]
- removed:
class Server(AbstractServer) - removed:
constructor Server(loop: AbstractEventLoop, sockets: list[socket]) -> None - removed:
field Server.sockets: list[socket] | None - removed:
property Server.sockets -> tuple[socket, ...] - changed:
async method BaseEventLoop.connect_accepted_socket(protocol_factory: _ProtocolFactory, sock: socket, *, ssl: _SSLContext=…) -> _TransProtPair → async method BaseEventLoop.connect_accepted_socket(protocol_factory: Callable[[], _ProtocolT], sock: socket, *, ssl: _SSLContext=…) -> tuple[BaseTransport, _ProtocolT] - changed:
async method BaseEventLoop.connect_read_pipe(protocol_factory: _ProtocolFactory, pipe: Any) -> _TransProtPair → async method BaseEventLoop.connect_read_pipe(protocol_factory: Callable[[], _ProtocolT], pipe: Any) -> tuple[ReadTransport, _ProtocolT] - changed:
async method BaseEventLoop.connect_write_pipe(protocol_factory: _ProtocolFactory, pipe: Any) -> _TransProtPair → async method BaseEventLoop.connect_write_pipe(protocol_factory: Callable[[], _ProtocolT], pipe: Any) -> tuple[WriteTransport, _ProtocolT] - changed:
async method BaseEventLoop.create_connection(protocol_factory: _ProtocolFactory, host: str=…, port: int=…, *, ssl: _SSLContext=…, family: int=…, proto: int=…, flags: int=…, sock: None=…, local_addr: tuple[str, int] | None=…, server_hostname: str | None=…, ssl_handshake_timeout: float | None=…, happy_eyeballs_delay: float | None=…, interleave: int | None=…) -> _TransProtPair | (protocol_factory: _… → async method BaseEventLoop.create_connection(protocol_factory: Callable[[], _ProtocolT], host: str=…, port: int=…, *, ssl: _SSLContext=…, family: int=…, proto: int=…, flags: int=…, sock: None=…, local_addr: tuple[str, int] | None=…, server_hostname: str | None=…, ssl_handshake_timeout: float | None=…, happy_eyeballs_delay: float | None=…, interleave: int | None=…) -> tuple[BaseTransport, _Protoco… - changed:
async method BaseEventLoop.create_datagram_endpoint(protocol_factory: _ProtocolFactory, local_addr: tuple[str, int] | None=…, remote_addr: tuple[str, int] | None=…, *, family: int=…, proto: int=…, flags: int=…, reuse_address: bool | None=…, reuse_port: bool | None=…, allow_broadcast: bool | None=…, sock: socket | None=…) -> _TransProtPair → async method BaseEventLoop.create_datagram_endpoint(protocol_factory: Callable[[], _ProtocolT], local_addr: tuple[str, int] | None=…, remote_addr: tuple[str, int] | None=…, *, family: int=…, proto: int=…, flags: int=…, reuse_address: bool | None=…, reuse_port: bool | None=…, allow_broadcast: bool | None=…, sock: socket | None=…) -> tuple[BaseTransport, _ProtocolT] - changed:
async method BaseEventLoop.getaddrinfo(host: str | None, port: str | int | None, *, family: int=…, type: int=…, proto: int=…, flags: int=…) -> list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int]]] → async method BaseEventLoop.getaddrinfo(host: bytes | str | None, port: str | int | None, *, family: int=…, type: int=…, proto: int=…, flags: int=…) -> list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int]]] - changed:
async method BaseEventLoop.subprocess_exec(protocol_factory: _ProtocolFactory, program: Any, *args: Any, stdin: int | IO[Any] | None=…, stdout: int | IO[Any] | None=…, stderr: int | IO[Any] | None=…, universal_newlines: Literal[False]=…, shell: Literal[True]=…, bufsize: Literal[0]=…, encoding: None=…, errors: None=…, **kwargs: Any) -> _TransProtPair → async method BaseEventLoop.subprocess_exec(protocol_factory: Callable[[], _ProtocolT], program: Any, *args: Any, stdin: int | IO[Any] | None=…, stdout: int | IO[Any] | None=…, stderr: int | IO[Any] | None=…, universal_newlines: Literal[False]=…, shell: Literal[True]=…, bufsize: Literal[0]=…, encoding: None=…, errors: None=…, **kwargs: Any) -> tuple[SubprocessTransport, _ProtocolT] - changed:
async method BaseEventLoop.subprocess_shell(protocol_factory: _ProtocolFactory, cmd: bytes | str, *, stdin: int | IO[Any] | None=…, stdout: int | IO[Any] | None=…, stderr: int | IO[Any] | None=…, universal_newlines: Literal[False]=…, shell: Literal[True]=…, bufsize: Literal[0]=…, encoding: None=…, errors: None=…, text: Literal[False, None]=…, **kwargs: Any) -> _TransProtPair → async method BaseEventLoop.subprocess_shell(protocol_factory: Callable[[], _ProtocolT], cmd: bytes | str, *, stdin: int | IO[Any] | None=…, stdout: int | IO[Any] | None=…, stderr: int | IO[Any] | None=…, universal_newlines: Literal[False]=…, shell: Literal[True]=…, bufsize: Literal[0]=…, encoding: None=…, errors: None=…, text: Literal[False, None]=…, **kwargs: Any) -> tuple[SubprocessTransport, _… - changed:
method BaseEventLoop.create_task(coro: Awaitable[_T] | Generator[Any, None, _T]) -> Task[_T] → method BaseEventLoop.create_task(coro: Coroutine[Any, Any, _T] | Generator[Any, None, _T]) -> Task[_T] - changed:
method BaseEventLoop.remove_reader(fd: FileDescriptorLike) -> None → method BaseEventLoop.remove_reader(fd: FileDescriptorLike) -> bool - changed:
method BaseEventLoop.remove_writer(fd: FileDescriptorLike) -> None → method BaseEventLoop.remove_writer(fd: FileDescriptorLike) -> bool
- removed:
function isfuture(obj: object) -> bool
- removed:
class BaseDefaultEventLoopPolicy(AbstractEventLoopPolicy) - removed:
class SendfileNotAvailableError(RuntimeError) - removed:
constructor BaseDefaultEventLoopPolicy() -> None - removed:
function get_running_loop() -> AbstractEventLoop - removed:
method BaseDefaultEventLoopPolicy.get_event_loop() -> AbstractEventLoop - removed:
method BaseDefaultEventLoopPolicy.new_event_loop() -> AbstractEventLoop - removed:
method BaseDefaultEventLoopPolicy.set_event_loop(loop: AbstractEventLoop | None) -> None - changed:
async method AbstractEventLoop.connect_read_pipe(protocol_factory: _ProtocolFactory, pipe: Any) -> _TransProtPair → async method AbstractEventLoop.connect_read_pipe(protocol_factory: Callable[[], _ProtocolT], pipe: Any) -> tuple[ReadTransport, _ProtocolT] - changed:
async method AbstractEventLoop.connect_write_pipe(protocol_factory: _ProtocolFactory, pipe: Any) -> _TransProtPair → async method AbstractEventLoop.connect_write_pipe(protocol_factory: Callable[[], _ProtocolT], pipe: Any) -> tuple[WriteTransport, _ProtocolT] - changed:
async method AbstractEventLoop.create_connection(protocol_factory: _ProtocolFactory, host: str=…, port: int=…, *, ssl: _SSLContext=…, family: int=…, proto: int=…, flags: int=…, sock: None=…, local_addr: tuple[str, int] | None=…, server_hostname: str | None=…, ssl_handshake_timeout: float | None=…, happy_eyeballs_delay: float | None=…, interleave: int | None=…) -> _TransProtPair | (protocol_factor… → async method AbstractEventLoop.create_connection(protocol_factory: Callable[[], _ProtocolT], host: str=…, port: int=…, *, ssl: _SSLContext=…, family: int=…, proto: int=…, flags: int=…, sock: None=…, local_addr: tuple[str, int] | None=…, server_hostname: str | None=…, ssl_handshake_timeout: float | None=…, happy_eyeballs_delay: float | None=…, interleave: int | None=…) -> tuple[BaseTransport, _Pro… - changed:
async method AbstractEventLoop.create_datagram_endpoint(protocol_factory: _ProtocolFactory, local_addr: tuple[str, int] | None=…, remote_addr: tuple[str, int] | None=…, *, family: int=…, proto: int=…, flags: int=…, reuse_address: bool | None=…, reuse_port: bool | None=…, allow_broadcast: bool | None=…, sock: socket | None=…) -> _TransProtPair → async method AbstractEventLoop.create_datagram_endpoint(protocol_factory: Callable[[], _ProtocolT], local_addr: tuple[str, int] | None=…, remote_addr: tuple[str, int] | None=…, *, family: int=…, proto: int=…, flags: int=…, reuse_address: bool | None=…, reuse_port: bool | None=…, allow_broadcast: bool | None=…, sock: socket | None=…) -> tuple[BaseTransport, _ProtocolT] - changed:
async method AbstractEventLoop.create_unix_connection(protocol_factory: _ProtocolFactory, path: str, *, ssl: _SSLContext=…, sock: socket | None=…, server_hostname: str | None=…) -> _TransProtPair → async method AbstractEventLoop.create_unix_connection(protocol_factory: Callable[[], _ProtocolT], path: str, *, ssl: _SSLContext=…, sock: socket | None=…, server_hostname: str | None=…) -> tuple[BaseTransport, _ProtocolT] - changed:
async method AbstractEventLoop.getaddrinfo(host: str | None, port: str | int | None, *, family: int=…, type: int=…, proto: int=…, flags: int=…) -> list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int]]] → async method AbstractEventLoop.getaddrinfo(host: bytes | str | None, port: str | int | None, *, family: int=…, type: int=…, proto: int=…, flags: int=…) -> list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int]]] - changed:
async method AbstractEventLoop.subprocess_exec(protocol_factory: _ProtocolFactory, program: Any, *args: Any, stdin: int | IO[Any] | None=…, stdout: int | IO[Any] | None=…, stderr: int | IO[Any] | None=…, universal_newlines: Literal[False]=…, shell: Literal[True]=…, bufsize: Literal[0]=…, encoding: None=…, errors: None=…, **kwargs: Any) -> _TransProtPair → async method AbstractEventLoop.subprocess_exec(protocol_factory: Callable[[], _ProtocolT], program: Any, *args: Any, stdin: int | IO[Any] | None=…, stdout: int | IO[Any] | None=…, stderr: int | IO[Any] | None=…, universal_newlines: Literal[False]=…, shell: Literal[True]=…, bufsize: Literal[0]=…, encoding: None=…, errors: None=…, **kwargs: Any) -> tuple[SubprocessTransport, _ProtocolT] - changed:
async method AbstractEventLoop.subprocess_shell(protocol_factory: _ProtocolFactory, cmd: bytes | str, *, stdin: int | IO[Any] | None=…, stdout: int | IO[Any] | None=…, stderr: int | IO[Any] | None=…, universal_newlines: Literal[False]=…, shell: Literal[True]=…, bufsize: Literal[0]=…, encoding: None=…, errors: None=…, text: Literal[False, None]=…, **kwargs: Any) -> _TransProtPair → async method AbstractEventLoop.subprocess_shell(protocol_factory: Callable[[], _ProtocolT], cmd: bytes | str, *, stdin: int | IO[Any] | None=…, stdout: int | IO[Any] | None=…, stderr: int | IO[Any] | None=…, universal_newlines: Literal[False]=…, shell: Literal[True]=…, bufsize: Literal[0]=…, encoding: None=…, errors: None=…, text: Literal[False, None]=…, **kwargs: Any) -> tuple[SubprocessTranspor… - changed:
method AbstractEventLoop.create_task(coro: Awaitable[_T] | Generator[Any, None, _T]) -> Task[_T] → method AbstractEventLoop.create_task(coro: Coroutine[Any, Any, _T] | Generator[Any, None, _T]) -> Task[_T] - changed:
method AbstractEventLoop.remove_reader(fd: FileDescriptorLike) -> None → method AbstractEventLoop.remove_reader(fd: FileDescriptorLike) -> bool - changed:
method AbstractEventLoop.remove_writer(fd: FileDescriptorLike) -> None → method AbstractEventLoop.remove_writer(fd: FileDescriptorLike) -> bool - added:
function _get_running_loop() -> AbstractEventLoop - added:
function _set_running_loop(__loop: AbstractEventLoop | None) -> None
- changed:
function isfuture(obj: object) -> bool → function isfuture(obj: object) -> TypeGuard[Future[Any]] - changed:
method Future.add_done_callback(__fn: Callable[[_S], Any]) -> None → method Future.add_done_callback(__fn: Callable[[Self], Any]) -> None - changed:
method Future.remove_done_callback(__fn: Callable[[_S], Any]) -> int → method Future.remove_done_callback(__fn: Callable[[Self], Any]) -> int - added:
export CancelledError - added:
export TimeoutError
- changed:
async method Condition.acquire() -> bool → async method Condition.acquire() -> Literal[True] - changed:
async method Condition.wait() -> bool → async method Condition.wait() -> Literal[True] - changed:
async method Event.wait() -> bool → async method Event.wait() -> Literal[True] - changed:
async method Lock.acquire() -> bool → async method Lock.acquire() -> Literal[True] - changed:
async method Semaphore.acquire() -> bool → async method Semaphore.acquire() -> Literal[True]
- removed:
class BufferedProtocol(BaseProtocol) - removed:
method BufferedProtocol.buffer_updated(nbytes: int) -> None - removed:
method BufferedProtocol.get_buffer(sizehint: int) -> bytearray - changed:
method DatagramProtocol.datagram_received(data: bytes, addr: tuple[str, int]) -> None → method DatagramProtocol.datagram_received(data: bytes, addr: tuple[str | Any, int]) -> None
- removed:
class FlowControlMixin(protocols.Protocol) - removed:
constructor FlowControlMixin(loop: events.AbstractEventLoop | None=…) -> None - removed:
property StreamWriter.transport -> transports.BaseTransport - changed:
class StreamReader → class StreamReader(AsyncIterator[bytes]) - changed:
constructor StreamWriter(transport: transports.BaseTransport, protocol: protocols.BaseProtocol, reader: StreamReader | None, loop: events.AbstractEventLoop) -> None → constructor StreamWriter(transport: transports.WriteTransport, protocol: protocols.BaseProtocol, reader: StreamReader | None, loop: events.AbstractEventLoop) -> None - added:
property StreamWriter.transport -> transports.WriteTransport
- removed:
async method Process.communicate(input: bytes | None=…) -> tuple[bytes, bytes] - removed:
async method Process.wait() -> int - removed:
class Process - removed:
class SubprocessStreamProtocol(streams.FlowControlMixin, protocols.SubprocessProtocol) - removed:
constructor Process(transport: transports.BaseTransport, protocol: protocols.BaseProtocol, loop: events.AbstractEventLoop) -> None - removed:
constructor SubprocessStreamProtocol(limit: int, loop: events.AbstractEventLoop) -> None - removed:
field Process.pid: int - removed:
field Process.stderr: streams.StreamReader | None - removed:
field Process.stdin: streams.StreamWriter | None - removed:
field Process.stdout: streams.StreamReader | None - removed:
field SubprocessStreamProtocol.stderr: streams.StreamReader | None - removed:
field SubprocessStreamProtocol.stdin: streams.StreamWriter | None - removed:
field SubprocessStreamProtocol.stdout: streams.StreamReader | None - removed:
method Process.kill() -> None - removed:
method Process.send_signal(signal: int) -> None - removed:
method Process.terminate() -> None - removed:
method SubprocessStreamProtocol.connection_made(transport: transports.BaseTransport) -> None - removed:
method SubprocessStreamProtocol.pipe_connection_lost(fd: int, exc: Exception | None) -> None - removed:
method SubprocessStreamProtocol.pipe_data_received(fd: int, data: bytes | str) -> None - removed:
method SubprocessStreamProtocol.process_exited() -> None - removed:
property Process.returncode -> int | None - removed:
variable DEVNULL: int - removed:
variable PIPE: int - removed:
variable STDOUT: int
- added:
class TaskGroup - added:
constructor TaskGroup() -> None - added:
method TaskGroup.create_task(coro: Generator[Any, None, _T] | Coroutine[Any, Any, _T], *, name: str | None=…) -> Task[_T]
- removed:
function all_tasks(loop: AbstractEventLoop | None=…) -> set[Task[Any]] - removed:
function create_task(coro: Generator[_TaskYieldType, None, _T] | Awaitable[_T]) -> Task[_T] - removed:
function current_task(loop: AbstractEventLoop | None=…) -> Task[Any] | None - changed:
function gather(coro_or_future1: _FutureT[_T1], *, return_exceptions: Literal[False]=…) -> Future[tuple[_T1]] | (coro_or_future1: _FutureT[_T1], coro_or_future2: _FutureT[_T2], *, return_exceptions: Literal[False]=…) -> Future[tuple[_T1, _T2]] | (coro_or_future1: _FutureT[_T1], coro_or_future2: _FutureT[_T2], coro_or_future3: _FutureT[_T3], *, return_exceptions: Literal[False]=…) -> Future[tuple[… → function gather(__coro_or_future1: _FutureT[_T1], *, return_exceptions: Literal[False]=…) -> Future[tuple[_T1]] | (__coro_or_future1: _FutureT[_T1], __coro_or_future2: _FutureT[_T2], *, return_exceptions: Literal[False]=…) -> Future[tuple[_T1, _T2]] | (__coro_or_future1: _FutureT[_T1], __coro_or_future2: _FutureT[_T2], __coro_or_future3: _FutureT[_T3], *, return_exceptions: Literal[False]=…) -> F… - added:
method Task.cancelling() -> int - added:
method Task.uncancel() -> int
- added:
method WriteTransport.get_write_buffer_limits() -> tuple[int, int]
- removed:
class BaseChildWatcher(AbstractChildWatcher) - removed:
class MultiLoopChildWatcher(AbstractChildWatcher) - removed:
class ThreadedChildWatcher(AbstractChildWatcher) - removed:
constructor BaseChildWatcher() -> None - added:
method FastChildWatcher.add_child_handler(pid: int, callback: Callable[..., Any], *args: Any) -> None - added:
method FastChildWatcher.remove_child_handler(pid: int) -> bool - added:
method SafeChildWatcher.add_child_handler(pid: int, callback: Callable[..., Any], *args: Any) -> None - added:
method SafeChildWatcher.remove_child_handler(pid: int) -> bool
- removed:
variable BUFSIZE: Literal[8192] - removed:
variable STDOUT - added:
class Popen(subprocess.Popen[AnyStr]) - added:
constructor Popen(args: subprocess._CMD, stdin: subprocess._FILE | None=…, stdout: subprocess._FILE | None=…, stderr: subprocess._FILE | None=…, **kwds: Any) -> None - added:
field Popen.stderr: PipeHandle | None - added:
field Popen.stdin: PipeHandle | None - added:
field Popen.stdout: PipeHandle | None - added:
variable socketpair
- removed:
function b32hexdecode(s: str | bytes, casefold: bool=…) -> bytes - removed:
function b32hexencode(s: bytes) -> bytes - removed:
function decodestring(s: bytes) -> bytes - removed:
function encodestring(s: bytes) -> bytes - changed:
function a85decode(b: str | bytes, *, foldspaces: bool=…, adobe: bool=…, ignorechars: str | bytes=…) -> bytes → function a85decode(b: str | ReadableBuffer, *, foldspaces: bool=…, adobe: bool=…, ignorechars: str | bytes=…) -> bytes - changed:
function a85encode(b: bytes, *, foldspaces: bool=…, wrapcol: int=…, pad: bool=…, adobe: bool=…) -> bytes → function a85encode(b: ReadableBuffer, *, foldspaces: bool=…, wrapcol: int=…, pad: bool=…, adobe: bool=…) -> bytes - changed:
function b16decode(s: str | bytes, casefold: bool=…) -> bytes → function b16decode(s: str | ReadableBuffer, casefold: bool=…) -> bytes - changed:
function b16encode(s: bytes) -> bytes → function b16encode(s: ReadableBuffer) -> bytes - changed:
function b32decode(s: str | bytes, casefold: bool=…, map01: bytes | None=…) -> bytes → function b32decode(s: str | ReadableBuffer, casefold: bool=…, map01: bytes | None=…) -> bytes - changed:
function b32encode(s: bytes) -> bytes → function b32encode(s: ReadableBuffer) -> bytes - changed:
function b64decode(s: str | bytes, altchars: bytes | None=…, validate: bool=…) -> bytes → function b64decode(s: str | ReadableBuffer, altchars: ReadableBuffer | None=…, validate: bool=…) -> bytes - changed:
function b64encode(s: bytes, altchars: bytes | None=…) -> bytes → function b64encode(s: ReadableBuffer, altchars: ReadableBuffer | None=…) -> bytes - changed:
function b85decode(b: str | bytes) -> bytes → function b85decode(b: str | ReadableBuffer) -> bytes - changed:
function b85encode(b: bytes, pad: bool=…) -> bytes → function b85encode(b: ReadableBuffer, pad: bool=…) -> bytes - changed:
function decodebytes(s: bytes) -> bytes → function decodebytes(s: ReadableBuffer) -> bytes - changed:
function encodebytes(s: bytes) -> bytes → function encodebytes(s: ReadableBuffer) -> bytes - changed:
function standard_b64decode(s: str | bytes) -> bytes → function standard_b64decode(s: str | ReadableBuffer) -> bytes - changed:
function standard_b64encode(s: bytes) -> bytes → function standard_b64encode(s: ReadableBuffer) -> bytes - changed:
function urlsafe_b64decode(s: str | bytes) -> bytes → function urlsafe_b64decode(s: str | ReadableBuffer) -> bytes - changed:
function urlsafe_b64encode(s: bytes) -> bytes → function urlsafe_b64encode(s: ReadableBuffer) -> bytes
- removed:
function checkfuncname(b: Breakpoint, frame: FrameType) -> bool - removed:
function effective(file: str, line: int, frame: FrameType) -> tuple[Breakpoint, bool] | tuple[None, None] - removed:
function set_trace() -> None - removed:
variable GENERATOR_AND_COROUTINE_FLAGS: int - changed:
method Bdb.runcall(__func: Callable[..., _T], *args: Any, **kwds: Any) -> _T | None → method Bdb.runcall(__func: Callable[_P, _T], *args: _P.args, **kwds: _P.kwargs) -> _T | None
- removed:
class BinHex - removed:
class FInfo - removed:
class HexBin - removed:
class openrsrc - removed:
constructor BinHex(name_finfo_dlen_rlen: _FileInfoTuple, ofp: _FileHandleUnion) -> None - removed:
constructor FInfo() -> None - removed:
constructor HexBin(ifp: _FileHandleUnion) -> None - removed:
constructor openrsrc(*args: Any) -> None - removed:
field FInfo.Creator: str - removed:
field FInfo.Flags: int - removed:
field FInfo.Type: str - removed:
function getfileinfo(name: str) -> _FileInfoTuple - removed:
method BinHex.close() -> None - removed:
method BinHex.close_data() -> None - removed:
method BinHex.write(data: bytes) -> None - removed:
method BinHex.write_rsrc(data: bytes) -> None - removed:
method HexBin.close() -> None - removed:
method HexBin.close_data() -> None - removed:
method HexBin.read(*n: int) -> bytes - removed:
method HexBin.read_rsrc(*n: int) -> bytes - removed:
method openrsrc.close() -> None - removed:
method openrsrc.read(*args: Any) -> bytes - removed:
method openrsrc.write(*args: Any) -> None - removed:
variable LINELEN: int - removed:
variable REASONABLY_LARGE: int - removed:
variable RUNCHAR: bytes
- removed:
field memoryview.c_contiguous: bool - removed:
field memoryview.contiguous: bool - removed:
field memoryview.f_contiguous: bool - removed:
field memoryview.format: str - removed:
field memoryview.itemsize: int - removed:
field memoryview.nbytes: int - removed:
field memoryview.ndim: int - removed:
field memoryview.obj: bytes | bytearray - removed:
field memoryview.readonly: bool - removed:
field memoryview.shape: tuple[int, ...] | None - removed:
field memoryview.strides: tuple[int, ...] | None - removed:
field memoryview.suboffsets: tuple[int, ...] | None - removed:
field range.start: int - removed:
field range.step: int - removed:
field range.stop: int - removed:
field slice.start: Any - removed:
field slice.step: Any - removed:
field slice.stop: Any - removed:
property BaseExceptionGroup.exceptions -> Sequence[BaseException] - removed:
property ExceptionGroup.exceptions -> Sequence[Exception] - changed:
async function anext(__i: SupportsAnext[_T]) -> _T | (__i: SupportsAnext[_T], default: _VT) -> _T | _VT → function anext(__i: _SupportsSynchronousAnext[_AwaitableT]) -> _AwaitableT | (__i: SupportsAnext[_T], default: _VT) -> _T | _VT - changed:
class BaseExceptionGroup(BaseException) → class BaseExceptionGroup(BaseException, Generic[_BaseExceptionT_co]) - changed:
class ExceptionGroup(BaseExceptionGroup, Exception) → class ExceptionGroup(BaseExceptionGroup[_ExceptionT_co], Exception) - changed:
class classmethod(Generic[_R]) → class classmethod(Generic[_R_co]) - changed:
class staticmethod(Generic[_R]) → class staticmethod(Generic[_R_co]) - changed:
constructor classmethod(__f: Callable[..., _R]) -> None → constructor classmethod(__f: Callable[..., _R_co]) -> None - changed:
constructor filter(__function: None, __iterable: Iterable[_T | None]) -> None | (__function: Callable[[_T], Any], __iterable: Iterable[_T]) -> None → constructor filter(__function: None, __iterable: Iterable[_T | None]) -> None | (__function: Callable[[_S], TypeGuard[_T]], __iterable: Iterable[_S]) -> None | (__function: Callable[[_T], Any], __iterable: Iterable[_T]) -> None - changed:
constructor staticmethod(__f: Callable[..., _R]) -> None → constructor staticmethod(__f: Callable[..., _R_co]) -> None - changed:
function pow(base: int, exp: int, mod: Literal[0]) -> NoReturn | (base: int, exp: int, mod: int) -> int | (base: int, exp: _PositiveInteger, mod: None=…) -> int | (base: int, exp: _NegativeInteger, mod: None=…) -> float | (base: int, exp: int, mod: None=…) -> Any | (base: float, exp: int, mod: None=…) -> float | (base: float, exp: complex | _SupportsSomeKindOfPow, mod: None=…) -> Any | (base: com… → function pow(base: int, exp: int, mod: Literal[0]) -> NoReturn | (base: int, exp: int, mod: int) -> int | (base: int, exp: Literal[0], mod: None=…) -> Literal[1] | (base: int, exp: _PositiveInteger, mod: None=…) -> int | (base: int, exp: _NegativeInteger, mod: None=…) -> float | (base: int, exp: int, mod: None=…) -> Any | (base: float, exp: int, mod: None=…) -> float | (base: float, exp: complex… - changed:
function sum(__iterable: Iterable[_T]) -> _T | Literal[0] | (__iterable: Iterable[_T], start: _S) -> _T | _S | (__iterable: Iterable[_T]) -> _T | Literal[0] | (__iterable: Iterable[_T], __start: _S) -> _T | _S → function sum(__iterable: Iterable[_SumT]) -> _SumT | Literal[0] | (__iterable: Iterable[_SumT], start: _SumS) -> _SumT | _SumS | (__iterable: Iterable[_SumT], __start: _SumS) -> _SumT | _SumS - changed:
method BaseException.with_traceback(__tb: TracebackType | None) -> _TBE → method BaseException.with_traceback(__tb: TracebackType | None) -> Self - changed:
method BaseExceptionGroup.derive(__excs: Sequence[BaseException]) -> Self → method BaseExceptionGroup.derive(__excs: Sequence[_BaseExceptionT_co]) -> Self - changed:
method BaseExceptionGroup.split(__condition: _SplitCondition) -> tuple[Self | None, Self | None] → method BaseExceptionGroup.split(__condition: type[_BaseExceptionT] | tuple[type[_BaseExceptionT], ...]) -> tuple[BaseExceptionGroup[_BaseExceptionT] | None, Self | None] | (__condition: Callable[[_BaseExceptionT_co], bool]) -> tuple[Self | None, Self | None] - changed:
method BaseExceptionGroup.subgroup(__condition: _SplitCondition) -> Self | None → method BaseExceptionGroup.subgroup(__condition: type[_BaseExceptionT] | tuple[type[_BaseExceptionT], ...]) -> BaseExceptionGroup[_BaseExceptionT] | None | (__condition: Callable[[_BaseExceptionT_co], bool]) -> Self | None - changed:
static method bytearray.fromhex(__string: str) -> bytearray → static method bytearray.fromhex(__string: str) -> Self - changed:
static method bytes.fromhex(__s: str) -> _T → static method bytes.fromhex(__s: str) -> Self - changed:
static method float.fromhex(__s: str) -> float → static method float.fromhex(__s: str) -> Self - changed:
static method int.from_bytes(bytes: Iterable[SupportsIndex] | SupportsBytes, byteorder: Literal['little', 'big'], *, signed: bool=…) -> int → static method int.from_bytes(bytes: Iterable[SupportsIndex] | SupportsBytes, byteorder: Literal['little', 'big'], *, signed: bool=…) -> Self - added:
method ExceptionGroup.split(__condition: type[_ExceptionT] | tuple[type[_ExceptionT], ...]) -> tuple[ExceptionGroup[_ExceptionT] | None, Self | None] | (__condition: Callable[[_ExceptionT_co], bool]) -> tuple[Self | None, Self | None] - added:
method ExceptionGroup.subgroup(__condition: type[_ExceptionT] | tuple[type[_ExceptionT], ...]) -> ExceptionGroup[_ExceptionT] | None | (__condition: Callable[[_ExceptionT_co], bool]) -> Self | None - added:
method bytearray.pop(__index: int=…) -> int - added:
method bytearray.remove(__value: int) -> None - added:
method dict.get(__key: _KT) -> _VT | None | (__key: _KT, __default: _VT | _T) -> _VT | _T - added:
method dict.pop(__key: _KT) -> _VT | (__key: _KT, __default: _VT | _T) -> _VT | _T - added:
property BaseExceptionGroup.exceptions -> tuple[_BaseExceptionT_co | BaseExceptionGroup[_BaseExceptionT_co], ...] - added:
property ExceptionGroup.exceptions -> tuple[_ExceptionT_co | ExceptionGroup[_ExceptionT_co], ...] - added:
property memoryview.c_contiguous -> bool - added:
property memoryview.contiguous -> bool - added:
property memoryview.f_contiguous -> bool - added:
property memoryview.format -> str - added:
property memoryview.itemsize -> int - added:
property memoryview.nbytes -> int - added:
property memoryview.ndim -> int - added:
property memoryview.obj -> bytes | bytearray - added:
property memoryview.readonly -> bool - added:
property memoryview.shape -> tuple[int, ...] | None - added:
property memoryview.strides -> tuple[int, ...] | None - added:
property memoryview.suboffsets -> tuple[int, ...] | None - added:
property range.start -> int - added:
property range.step -> int - added:
property range.stop -> int - added:
property slice.start -> Any - added:
property slice.step -> Any - added:
property slice.stop -> Any
- removed:
function label(code: str | CodeType) -> _Label - changed:
method Profile.runcall(__func: Callable[..., _T], *args: Any, **kw: Any) -> _T → method Profile.runcall(__func: Callable[_P, _T], *args: _P.args, **kw: _P.kwargs) -> _T
- removed:
class different_locale - removed:
constructor different_locale(locale: _LocaleType) -> None - removed:
function format(cols: int, colwidth: int=…, spacing: int=…) -> str - removed:
function formatstring(cols: int, colwidth: int=…, spacing: int=…) -> str - removed:
function prweek(theweek: int, width: int) -> None - removed:
function week(theweek: int, width: int) -> str - removed:
variable FRIDAY: int - removed:
variable MONDAY: int - removed:
variable SATURDAY: int - removed:
variable SUNDAY: int - removed:
variable THURSDAY: int - removed:
variable TUESDAY: int - removed:
variable WEDNESDAY: int - removed:
variable c: TextCalendar
- added:
function print_arguments() -> None - added:
function print_exception(type: type[BaseException] | None=…, value: BaseException | None=…, tb: TracebackType | None=…, limit: int | None=…) -> None
- changed:
method Cmd.default(line: str) -> bool → method Cmd.default(line: str) -> None
- removed:
class BufferedIncrementalDecoder(IncrementalDecoder) - removed:
class BufferedIncrementalEncoder(IncrementalEncoder) - removed:
constructor BufferedIncrementalDecoder(errors: str=…) -> None - removed:
constructor BufferedIncrementalEncoder(errors: str=…) -> None - removed:
field BufferedIncrementalDecoder.buffer: bytes - removed:
field BufferedIncrementalEncoder.buffer: str - removed:
function unregister(__search_function: Callable[[str], CodecInfo | None]) -> None - removed:
function utf_16_be_decode(__data: bytes, __errors: str | None=…, __final: bool=…) -> tuple[str, int] - removed:
function utf_16_be_encode(__str: str, __errors: str | None=…) -> tuple[bytes, int] - removed:
method BufferedIncrementalDecoder.decode(input: bytes, final: bool=…) -> str - removed:
method BufferedIncrementalEncoder.encode(input: str, final: bool=…) -> bytes - changed:
class StreamReader(Codec) → class StreamReader(Codec, Iterator[str]) - changed:
function decode(obj: bytes, encoding: _BytesToBytesEncodingT, errors: str=…) -> bytes | (obj: str, encoding: Literal['rot13', 'rot_13']=…, errors: str=…) -> str | (obj: bytes, encoding: str=…, errors: str=…) -> str → function decode(obj: bytes, encoding: _BytesToBytesEncoding, errors: str=…) -> bytes | (obj: str, encoding: _StrToStrEncoding, errors: str=…) -> str | (obj: str, encoding: Literal['hex', 'hex_codec'], errors: str=…) -> bytes | (obj: bytes, encoding: str=…, errors: str=…) -> str - changed:
function encode(obj: bytes, encoding: _BytesToBytesEncodingT, errors: str=…) -> bytes | (obj: str, encoding: Literal['rot13', 'rot_13']=…, errors: str=…) -> str | (obj: str, encoding: str=…, errors: str=…) -> bytes → function encode(obj: bytes, encoding: _BytesToBytesEncoding, errors: str=…) -> bytes | (obj: str, encoding: _StrToStrEncoding, errors: str=…) -> str | (obj: str, encoding: str=…, errors: str=…) -> bytes - changed:
method StreamReaderWriter.seek(offset: int, whence: int=…) -> int → method StreamReaderWriter.seek(offset: int, whence: int=…) -> None - changed:
method StreamReaderWriter.write(data: str) -> int → method StreamReaderWriter.write(data: str) -> None - changed:
method StreamRecoder.seek(offset: int, whence: int=…) -> int → method StreamRecoder.seek(offset: int, whence: int=…) -> None - changed:
method StreamRecoder.write(data: bytes) -> int → method StreamRecoder.write(data: bytes) -> None - changed:
method StreamRecoder.writelines(list: Iterable[bytes]) -> int → method StreamRecoder.writelines(list: Iterable[bytes]) -> None - changed:
variable BOM32_BE: bytes → variable BOM32_BE: Literal[b'\xfe\xff'] - changed:
variable BOM32_LE: bytes → variable BOM32_LE: Literal[b'\xff\xfe'] - changed:
variable BOM64_BE: bytes → variable BOM64_BE: Literal[b'\x00\x00\xfe\xff'] - changed:
variable BOM64_LE: bytes → variable BOM64_LE: Literal[b'\xff\xfe\x00\x00'] - changed:
variable BOM: bytes → variable BOM: Literal[b'\xff\xfe', b'\xfe\xff'] - changed:
variable BOM_BE: bytes → variable BOM_BE: Literal[b'\xfe\xff'] - changed:
variable BOM_LE: bytes → variable BOM_LE: Literal[b'\xff\xfe'] - changed:
variable BOM_UTF16: bytes → variable BOM_UTF16: Literal[b'\xff\xfe', b'\xfe\xff'] - changed:
variable BOM_UTF16_BE: bytes → variable BOM_UTF16_BE: Literal[b'\xfe\xff'] - changed:
variable BOM_UTF16_LE: bytes → variable BOM_UTF16_LE: Literal[b'\xff\xfe'] - changed:
variable BOM_UTF32: bytes → variable BOM_UTF32: Literal[b'\xff\xfe\x00\x00', b'\x00\x00\xfe\xff'] - changed:
variable BOM_UTF32_BE: bytes → variable BOM_UTF32_BE: Literal[b'\x00\x00\xfe\xff'] - changed:
variable BOM_UTF32_LE: bytes → variable BOM_UTF32_LE: Literal[b'\xff\xfe\x00\x00'] - changed:
variable BOM_UTF8: bytes → variable BOM_UTF8: Literal[b'\xef\xbb\xbf'] - added:
function namereplace_errors(exception: UnicodeError) -> tuple[str | bytes, int]
- changed:
class UserString(Sequence[str]) → class UserString(Sequence[UserString]) - changed:
constructor Counter(__iterable: None=…, **kwargs: int) -> None | (__mapping: SupportsKeysAndGetItem[_T, int]) -> None | (__iterable: Iterable[_T]) -> None → constructor Counter(__iterable: None=…) -> None | (__iterable: None=…, **kwargs: int) -> None | (__mapping: SupportsKeysAndGetItem[_T, int]) -> None | (__iterable: Iterable[_T]) -> None - changed:
constructor defaultdict(**kwargs: _VT) -> None | (__default_factory: Callable[[], _VT] | None) -> None | (__default_factory: Callable[[], _VT] | None, **kwargs: _VT) -> None | (__default_factory: Callable[[], _VT] | None, __map: SupportsKeysAndGetItem[_KT, _VT]) -> None | (__default_factory: Callable[[], _VT] | None, __map: SupportsKeysAndGetItem[_KT, _VT], **kwargs: _VT) -> None | (__default_fac… → constructor defaultdict() -> None | (**kwargs: _VT) -> None | (__default_factory: Callable[[], _VT] | None) -> None | (__default_factory: Callable[[], _VT] | None, **kwargs: _VT) -> None | (__default_factory: Callable[[], _VT] | None, __map: SupportsKeysAndGetItem[_KT, _VT]) -> None | (__default_factory: Callable[[], _VT] | None, __map: SupportsKeysAndGetItem[str, _VT], **kwargs: _VT) -> None | (… - changed:
function namedtuple(typename: str, field_names: str | Iterable[str], *, verbose: bool=…, rename: bool=…, module: str | None=…) -> Type[tuple[Any, ...]] → function namedtuple(typename: str, field_names: str | Iterable[str], *, verbose: bool=…, rename: bool=…, module: str | None=…) -> type[tuple[Any, ...]] - changed:
method Counter.update(__m: SupportsKeysAndGetItem[_T, int], **kwargs: int) -> None | (__m: Iterable[_T] | Iterable[tuple[_T, int]], **kwargs: int) -> None | (__m: None=…, **kwargs: int) -> None → method Counter.update(__m: Mapping[_T, int], **kwargs: int) -> None | (__m: Iterable[_T], **kwargs: int) -> None | (__m: None=…, **kwargs: int) -> None - changed:
method UserList.copy() -> _S → method UserList.copy() -> Self - changed:
method UserString.capitalize() -> _UserStringT → method UserString.capitalize() -> Self - changed:
method UserString.casefold() -> _UserStringT → method UserString.casefold() -> Self - changed:
method UserString.center(width: int, *args: Any) -> _UserStringT → method UserString.center(width: int, *args: Any) -> Self - changed:
method UserString.encode(encoding: str | None=…, errors: str | None=…) -> _UserStringT → method UserString.encode(encoding: str | None=…, errors: str | None=…) -> Self - changed:
method UserString.expandtabs(tabsize: int=…) -> _UserStringT → method UserString.expandtabs(tabsize: int=…) -> Self - changed:
method UserString.ljust(width: int, *args: Any) -> _UserStringT → method UserString.ljust(width: int, *args: Any) -> Self - changed:
method UserString.lower() -> _UserStringT → method UserString.lower() -> Self - changed:
method UserString.lstrip(chars: str | None=…) -> _UserStringT → method UserString.lstrip(chars: str | None=…) -> Self - changed:
method UserString.removeprefix(__prefix: str | UserString) -> _UserStringT → method UserString.removeprefix(__prefix: str | UserString) -> Self - changed:
method UserString.removesuffix(__suffix: str | UserString) -> _UserStringT → method UserString.removesuffix(__suffix: str | UserString) -> Self - changed:
method UserString.replace(old: str | UserString, new: str | UserString, maxsplit: int=…) -> _UserStringT → method UserString.replace(old: str | UserString, new: str | UserString, maxsplit: int=…) -> Self - changed:
method UserString.rjust(width: int, *args: Any) -> _UserStringT → method UserString.rjust(width: int, *args: Any) -> Self - changed:
method UserString.rstrip(chars: str | None=…) -> _UserStringT → method UserString.rstrip(chars: str | None=…) -> Self - changed:
method UserString.strip(chars: str | None=…) -> _UserStringT → method UserString.strip(chars: str | None=…) -> Self - changed:
method UserString.swapcase() -> _UserStringT → method UserString.swapcase() -> Self - changed:
method UserString.title() -> _UserStringT → method UserString.title() -> Self - changed:
method UserString.translate(*args: Any) -> _UserStringT → method UserString.translate(*args: Any) -> Self - changed:
method UserString.upper() -> _UserStringT → method UserString.upper() -> Self - changed:
method UserString.zfill(width: int) -> _UserStringT → method UserString.zfill(width: int) -> Self - changed:
method defaultdict.copy() -> _S → method defaultdict.copy() -> Self - changed:
method deque.copy() -> _S → method deque.copy() -> Self - changed:
static method OrderedDict.fromkeys(__iterable: Iterable[_T], __value: None=…) -> OrderedDict[_T, Any | None] | (__iterable: Iterable[_T], __value: _S) -> OrderedDict[_T, _S] → static method OrderedDict.fromkeys(iterable: Iterable[_T], value: None=…) -> OrderedDict[_T, Any | None] | (iterable: Iterable[_T], value: _S) -> OrderedDict[_T, _S] - added:
method OrderedDict.setdefault(key: _KT) -> _T | None | (key: _KT, default: _VT) -> _VT
- removed:
variable ONE_SIXTH: float - removed:
variable ONE_THIRD: float - removed:
variable TWO_THIRD: float
- removed:
export InvalidStateError
- removed:
class Error(Exception) - removed:
constructor Error(msg: str=…) -> None - removed:
field Error.message: str - changed:
class ConverterMapping(MutableMapping[str, Optional[_converter]]) → class ConverterMapping(MutableMapping[str, _converter | None]) - changed:
constructor RawConfigParser(defaults: Mapping[str, str | None] | None=…, dict_type: Type[Mapping[str, str]]=…, allow_no_value: Literal[True]=…, *, delimiters: Sequence[str]=…, comment_prefixes: Sequence[str]=…, inline_comment_prefixes: Sequence[str] | None=…, strict: bool=…, empty_lines_in_values: bool=…, default_section: str=…, interpolation: Interpolation | None=…, converters: _converters=…) ->… → constructor RawConfigParser(defaults: Mapping[str, str | None] | None=…, dict_type: type[Mapping[str, str]]=…, allow_no_value: Literal[True]=…, *, delimiters: Sequence[str]=…, comment_prefixes: Sequence[str]=…, inline_comment_prefixes: Sequence[str] | None=…, strict: bool=…, empty_lines_in_values: bool=…, default_section: str=…, interpolation: Interpolation | None=…, converters: _converters=…) ->… - changed:
variable DEFAULTSECT: str → variable DEFAULTSECT: Literal['DEFAULT'] - changed:
variable MAX_INTERPOLATION_DEPTH: int → variable MAX_INTERPOLATION_DEPTH: Literal[10]
- removed:
class AsyncContextDecorator - removed:
class AsyncExitStack(AbstractAsyncContextManager[AsyncExitStack]) - removed:
class aclosing(AbstractAsyncContextManager[_SupportsAcloseT]) - removed:
class chdir(AbstractContextManager[None], Generic[_T_fd_or_any_path]) - removed:
class nullcontext(AbstractContextManager[_T]) - removed:
class nullcontext(AbstractContextManager[_T], AbstractAsyncContextManager[_T]) - removed:
constructor AsyncExitStack() -> None - removed:
constructor aclosing(thing: _SupportsAcloseT) -> None - removed:
constructor chdir(path: _T_fd_or_any_path) -> None - removed:
constructor nullcontext(enter_result: None=…) -> None | (enter_result: _T) -> None - removed:
constructor redirect_stderr(new_target: _T_io) -> None - removed:
constructor redirect_stdout(new_target: _T_io) -> None - removed:
field chdir.path: _T_fd_or_any_path - removed:
field nullcontext.enter_result: _T - removed:
function asynccontextmanager(func: Callable[_P, AsyncIterator[_T_co]]) -> Callable[_P, _AsyncGeneratorContextManager[_T_co]] - removed:
method AsyncExitStack.aclose() -> Awaitable[None] - removed:
method AsyncExitStack.callback(__callback: Callable[..., Any], *args: Any, **kwds: Any) -> Callable[..., Any] - removed:
method AsyncExitStack.enter_async_context(cm: AbstractAsyncContextManager[_T]) -> Awaitable[_T] - removed:
method AsyncExitStack.enter_context(cm: AbstractContextManager[_T]) -> _T - removed:
method AsyncExitStack.pop_all() -> Self - removed:
method AsyncExitStack.push(exit: _CM_EF) -> _CM_EF - removed:
method AsyncExitStack.push_async_callback(__callback: _CallbackCoroFunc, *args: Any, **kwds: Any) -> _CallbackCoroFunc - removed:
method AsyncExitStack.push_async_exit(exit: _ACM_EF) -> _ACM_EF - removed:
variable AbstractAsyncContextManager - changed:
class redirect_stderr(AbstractContextManager[_T_io]) → class redirect_stderr(_RedirectStream[_T_io]) - changed:
class redirect_stdout(AbstractContextManager[_T_io]) → class redirect_stdout(_RedirectStream[_T_io]) - changed:
constructor suppress(*exceptions: Type[BaseException]) -> None → constructor suppress(*exceptions: type[BaseException]) -> None - changed:
method ExitStack.callback(__callback: Callable[..., Any], *args: Any, **kwds: Any) -> Callable[..., Any] → method ExitStack.callback(__callback: Callable[_P, _T], *args: _P.args, **kwds: _P.kwargs) -> Callable[_P, _T]
- changed:
method Context.get(__key: ContextVar[Any]) -> Any | None | (__key: ContextVar[Any], __default: Any | None) -> Any → method Context.get(__key: ContextVar[_T]) -> _T | None | (__key: ContextVar[_T], __default: _D) -> _T | _D - changed:
method Context.run(callable: Callable[..., _T], *args: Any, **kwargs: Any) -> _T → method Context.run(callable: Callable[_P, _T], *args: _P.args, **kwargs: _P.kwargs) -> _T - changed:
method ContextVar.reset(token: Token[_T]) -> None → method ContextVar.reset(__token: Token[_T]) -> None - changed:
method ContextVar.set(value: _T) -> Token[_T] → method ContextVar.set(__value: _T) -> Token[_T]
- removed:
variable PyStringMap: Any - removed:
variable error
- removed:
variable dispatch_table: dict[type, Callable[[type], str | _Reduce[type]]] - changed:
function constructor(object: Callable[[_Reduce[_TypeT]], _TypeT]) -> None → function constructor(object: Callable[[_Reduce[_T]], _T]) -> None - changed:
function pickle(ob_type: _TypeT, pickle_function: Callable[[_TypeT], str | _Reduce[_TypeT]], constructor_ob: Callable[[_Reduce[_TypeT]], _TypeT] | None=…) -> None → function pickle(ob_type: type[_T], pickle_function: Callable[[_T], str | _Reduce[_T]], constructor_ob: Callable[[_Reduce[_T]], _T] | None=…) -> None
- changed:
method Sniffer.sniff(sample: str, delimiters: str | None=…) -> Type[Dialect] → method Sniffer.sniff(sample: str, delimiters: str | None=…) -> type[Dialect] - added:
export Dialect - added:
export Error - added:
export QUOTE_ALL - added:
export QUOTE_MINIMAL - added:
export QUOTE_NONE - added:
export QUOTE_NONNUMERIC - added:
export __version__ - added:
export field_size_limit - added:
export get_dialect - added:
export list_dialects - added:
export reader - added:
export register_dialect - added:
export unregister_dialect - added:
export writer
- changed:
class c_char_p(_PointerLike, _SimpleCData[Optional[bytes]]) → class c_char_p(_PointerLike, _SimpleCData[bytes | None]) - changed:
class c_void_p(_PointerLike, _SimpleCData[Optional[int]]) → class c_void_p(_PointerLike, _SimpleCData[int | None]) - changed:
class c_wchar_p(_PointerLike, _SimpleCData[Optional[str]]) → class c_wchar_p(_PointerLike, _SimpleCData[str | None]) - changed:
constructor LibraryLoader(dlltype: Type[_DLLT]) -> None → constructor LibraryLoader(dlltype: type[_DLLT]) -> None - changed:
function CFUNCTYPE(restype: Type[_CData] | None, *argtypes: Type[_CData], use_errno: bool=…, use_last_error: bool=…) -> Type[_FuncPointer] → function CFUNCTYPE(restype: type[_CData] | None, *argtypes: type[_CData], use_errno: bool=…, use_last_error: bool=…) -> type[_FuncPointer] - changed:
function POINTER(type: Type[_CT]) -> Type[pointer[_CT]] → function POINTER(type: type[_CT]) -> type[pointer[_CT]] - changed:
function PYFUNCTYPE(restype: Type[_CData] | None, *argtypes: Type[_CData]) -> Type[_FuncPointer] → function PYFUNCTYPE(restype: type[_CData] | None, *argtypes: type[_CData]) -> type[_FuncPointer] - changed:
function WINFUNCTYPE(restype: Type[_CData] | None, *argtypes: Type[_CData], use_errno: bool=…, use_last_error: bool=…) -> Type[_FuncPointer] → function WINFUNCTYPE(restype: type[_CData] | None, *argtypes: type[_CData], use_errno: bool=…, use_last_error: bool=…) -> type[_FuncPointer] - changed:
function alignment(obj_or_type: _CData | Type[_CData]) -> int → function alignment(obj_or_type: _CData | type[_CData]) -> int - changed:
function cast(obj: _CData | _CArgObject | int, typ: Type[_CastT]) -> _CastT → function cast(obj: _CData | _CArgObject | int, typ: type[_CastT]) -> _CastT - changed:
function memmove(dst: _CVoidPLike, src: _CVoidConstPLike, count: int) -> None → function memmove(dst: _CVoidPLike, src: _CVoidConstPLike, count: int) -> int - changed:
function memset(dst: _CVoidPLike, c: int, count: int) -> None → function memset(dst: _CVoidPLike, c: int, count: int) -> int - changed:
function sizeof(obj_or_type: _CData | Type[_CData]) -> int → function sizeof(obj_or_type: _CData | type[_CData]) -> int
- removed:
class KW_ONLY - changed:
field Field.default: _T → field Field.default: _T | Literal[_MISSING_TYPE.MISSING] - changed:
field Field.default_factory: _DefaultFactory[_T] → field Field.default_factory: _DefaultFactory[_T] | Literal[_MISSING_TYPE.MISSING] - changed:
field Field.kw_only: bool → field Field.kw_only: bool | Literal[_MISSING_TYPE.MISSING] - changed:
function dataclass(__cls: Type[_T]) -> Type[_T] | (__cls: None) -> Callable[[Type[_T]], Type[_T]] | (*, init: bool=…, repr: bool=…, eq: bool=…, order: bool=…, unsafe_hash: bool=…, frozen: bool=…, match_args: bool=…, kw_only: bool=…, slots: bool=…) -> Callable[[Type[_T]], Type[_T]] | (__cls: Type[_T]) -> Type[_T] | (__cls: None) -> Callable[[Type[_T]], Type[_T]] | (*, init: bool=…, repr: bool=…, e… → function dataclass(__cls: type[_T]) -> type[_T] | (__cls: None) -> Callable[[type[_T]], type[_T]] | (_cls: type[_T]) -> type[_T] | (_cls: None) -> Callable[[type[_T]], type[_T]] | (*, init: bool=…, repr: bool=…, eq: bool=…, order: bool=…, unsafe_hash: bool=…, frozen: bool=…, match_args: bool=…, kw_only: bool=…, slots: bool=…) -> Callable[[type[_T]], type[_T]] | (*, init: bool=…, repr: bool=…, eq:… - changed:
variable MISSING: _MISSING_TYPE → variable MISSING
- changed:
method date.replace(year: int=…, month: int=…, day: int=…) -> date → method date.replace(year: int=…, month: int=…, day: int=…) -> Self - changed:
method datetime.replace(year: int=…, month: int=…, day: int=…, hour: int=…, minute: int=…, second: int=…, microsecond: int=…, tzinfo: _tzinfo | None=…, *, fold: int=…) -> datetime → method datetime.replace(year: int=…, month: int=…, day: int=…, hour: int=…, minute: int=…, second: int=…, microsecond: int=…, tzinfo: _tzinfo | None=…, *, fold: int=…) -> Self - changed:
method time.replace(hour: int=…, minute: int=…, second: int=…, microsecond: int=…, tzinfo: _tzinfo | None=…, *, fold: int=…) -> time → method time.replace(hour: int=…, minute: int=…, second: int=…, microsecond: int=…, tzinfo: _tzinfo | None=…, *, fold: int=…) -> Self - changed:
static method date.fromisocalendar(year: int, week: int, day: int) -> _S → static method date.fromisocalendar(year: int, week: int, day: int) -> Self - changed:
static method date.fromisoformat(__date_string: str) -> _S → static method date.fromisoformat(__date_string: str) -> Self - changed:
static method date.fromordinal(__n: int) -> _S → static method date.fromordinal(__n: int) -> Self - changed:
static method date.fromtimestamp(__timestamp: float) -> _S → static method date.fromtimestamp(__timestamp: float) -> Self - changed:
static method date.today() -> _S → static method date.today() -> Self - changed:
static method datetime.fromisoformat(__date_string: str) -> _S → static method datetime.fromisoformat(__date_string: str) -> Self - changed:
static method datetime.fromtimestamp(__timestamp: float, tz: _tzinfo | None=…) -> _S → static method datetime.fromtimestamp(__timestamp: float, tz: _tzinfo | None=…) -> Self - changed:
static method datetime.now(tz: None=…) -> _S | (tz: _tzinfo) -> datetime → static method datetime.now(tz: None=…) -> Self | (tz: _tzinfo) -> datetime - changed:
static method datetime.utcfromtimestamp(__t: float) -> _S → static method datetime.utcfromtimestamp(__t: float) -> Self - changed:
static method datetime.utcnow() -> _S → static method datetime.utcnow() -> Self - changed:
static method time.fromisoformat(__time_string: str) -> _S → static method time.fromisoformat(__time_string: str) -> Self - changed:
variable MAXYEAR: int → variable MAXYEAR: Literal[9999] - changed:
variable MINYEAR: int → variable MINYEAR: Literal[1]
- changed:
variable error: tuple[Type[_error], Type[OSError]] → variable error: tuple[type[_error], type[OSError]]
- changed:
static method Decimal.from_float(__f: float) -> Decimal → static method Decimal.from_float(__f: float) -> Self
- changed:
constructor Differ(linejunk: _JunkCallback | None=…, charjunk: _JunkCallback | None=…) -> None → constructor Differ(linejunk: Callable[[str], bool] | None=…, charjunk: Callable[[str], bool] | None=…) -> None - changed:
constructor HtmlDiff(tabsize: int=…, wrapcolumn: int | None=…, linejunk: _JunkCallback | None=…, charjunk: _JunkCallback | None=…) -> None → constructor HtmlDiff(tabsize: int=…, wrapcolumn: int | None=…, linejunk: Callable[[str], bool] | None=…, charjunk: Callable[[str], bool] | None=…) -> None - changed:
function ndiff(a: Sequence[str], b: Sequence[str], linejunk: _JunkCallback | None=…, charjunk: _JunkCallback | None=…) -> Iterator[str] → function ndiff(a: Sequence[str], b: Sequence[str], linejunk: Callable[[str], bool] | None=…, charjunk: Callable[[str], bool] | None=…) -> Iterator[str]
- removed:
function pretty_flags(flags: int) -> str - removed:
variable COMPILER_FLAG_NAMES: dict[int, str] - changed:
static method Bytecode.from_traceback(tb: types.TracebackType) -> Bytecode → static method Bytecode.from_traceback(tb: types.TracebackType) -> Self
- changed:
method Command.make_file(infiles: str | list[str] | tuple[str], outfile: str, func: Callable[..., Any], args: list[Any], exec_msg: str | None=…, skip_msg: str | None=…, level: Any=…) -> None → method Command.make_file(infiles: str | list[str] | tuple[str, ...], outfile: str, func: Callable[..., Any], args: list[Any], exec_msg: str | None=…, skip_msg: str | None=…, level: Any=…) -> None
- removed:
export bdist_dumb - removed:
export bdist_rpm - removed:
export build - removed:
export build_clib - removed:
export build_ext - removed:
export build_py - removed:
export build_scripts - removed:
export check - removed:
export clean - removed:
export install - removed:
export install_data - removed:
export install_headers - removed:
export install_lib - removed:
export register - removed:
export sdist - removed:
export upload
- added:
class bdist_wininst(Command) - added:
field bdist_wininst.boolean_options: ClassVar[list[str]] - added:
field bdist_wininst.description: ClassVar[str] - added:
field bdist_wininst.user_options: ClassVar[list[tuple[Any, ...]]] - added:
method bdist_wininst.create_exe(arcname: StrOrBytesPath, fullname: str, bitmap: StrOrBytesPath | None=…) -> None - added:
method bdist_wininst.finalize_options() -> None - added:
method bdist_wininst.get_exe_bytes() -> bytes - added:
method bdist_wininst.get_inidata() -> str - added:
method bdist_wininst.get_installer_filename(fullname: str) -> str - added:
method bdist_wininst.initialize_options() -> None - added:
method bdist_wininst.run() -> None
- changed:
function setup(*, name: str=…, version: str=…, description: str=…, long_description: str=…, author: str=…, author_email: str=…, maintainer: str=…, maintainer_email: str=…, url: str=…, download_url: str=…, packages: list[str]=…, py_modules: list[str]=…, scripts: list[str]=…, ext_modules: list[Extension]=…, classifiers: list[str]=…, distclass: Type[Distribution]=…, script_name: str=…, script_args:… → function setup(*, name: str=…, version: str=…, description: str=…, long_description: str=…, author: str=…, author_email: str=…, maintainer: str=…, maintainer_email: str=…, url: str=…, download_url: str=…, packages: list[str]=…, py_modules: list[str]=…, scripts: list[str]=…, ext_modules: list[Extension]=…, classifiers: list[str]=…, distclass: type[Distribution]=…, script_name: str=…, script_args:…
- changed:
field Distribution.cmdclass: dict[str, Type[Command]] → field Distribution.cmdclass: dict[str, type[Command]]
- added:
field Extension.define_macros: list[tuple[str, str | None]] - added:
field Extension.depends: list[str] - added:
field Extension.export_symbols: list[str] - added:
field Extension.extra_compile_args: list[str] - added:
field Extension.extra_link_args: list[str] - added:
field Extension.extra_objects: list[str] - added:
field Extension.include_dirs: list[str] - added:
field Extension.language: str | None - added:
field Extension.libraries: list[str] - added:
field Extension.library_dirs: list[str] - added:
field Extension.name: str - added:
field Extension.optional: bool | None - added:
field Extension.runtime_library_dirs: list[str] - added:
field Extension.sources: list[str] - added:
field Extension.swig_opts: list[str] - added:
field Extension.undef_macros: list[str]
- changed:
function strtobool(val: str) -> bool → function strtobool(val: str) -> Literal[0, 1]
- changed:
method LooseVersion.parse(vstring: str) -> _T → method LooseVersion.parse(vstring: str) -> Self - changed:
method StrictVersion.parse(vstring: str) -> _T → method StrictVersion.parse(vstring: str) -> Self - changed:
method Version.parse(vstring: str) -> _T → method Version.parse(vstring: str) -> Self
- removed:
class DocFileCase(DocTestCase) - removed:
class DocTestCase(unittest.TestCase) - removed:
class SkipDocTestCase(DocTestCase) - removed:
class TestResults(NamedTuple) - removed:
constructor DocTestCase(test: DocTest, optionflags: int=…, setUp: Callable[[DocTest], Any] | None=…, tearDown: Callable[[DocTest], Any] | None=…, checker: OutputChecker | None=…) -> None - removed:
constructor SkipDocTestCase(module: types.ModuleType) -> None - removed:
field TestResults.attempted: int - removed:
field TestResults.failed: int - removed:
function DocFileTest(path: str, module_relative: bool=…, package: None | str | types.ModuleType=…, globs: dict[str, Any] | None=…, parser: DocTestParser=…, encoding: str | None=…, **options: Any) -> DocFileCase - removed:
function debug_script(src: str, pm: bool=…, globs: dict[str, Any] | None=…) -> None - removed:
method DocFileCase.format_failure(err: str) -> str - removed:
method DocFileCase.id() -> str - removed:
method DocTestCase.debug() -> None - removed:
method DocTestCase.format_failure(err: str) -> str - removed:
method DocTestCase.id() -> str - removed:
method DocTestCase.runTest() -> None - removed:
method DocTestCase.setUp() -> None - removed:
method DocTestCase.shortDescription() -> str - removed:
method DocTestCase.tearDown() -> None - removed:
method SkipDocTestCase.setUp() -> None - removed:
method SkipDocTestCase.shortDescription() -> str - removed:
method SkipDocTestCase.test_skip() -> None - removed:
variable BLANKLINE_MARKER: str - removed:
variable ELLIPSIS_MARKER: str - removed:
variable OPTIONFLAGS_BY_NAME: dict[str, int] - removed:
variable master: DocTestRunner | None
- removed:
variable BASE64: int - removed:
variable QP: int - removed:
variable SHORTEST: int
- changed:
class BytesFeedParser(Generic[_M]) → class BytesFeedParser(Generic[_MessageT]) - changed:
class FeedParser(Generic[_M]) → class FeedParser(Generic[_MessageT]) - changed:
constructor BytesFeedParser(_factory: None=…, *, policy: Policy=…) -> None | (_factory: Callable[[], _M], *, policy: Policy=…) -> None → constructor BytesFeedParser(_factory: None=…, *, policy: Policy=…) -> None | (_factory: Callable[[], _MessageT], *, policy: Policy=…) -> None - changed:
constructor FeedParser(_factory: None=…, *, policy: Policy=…) -> None | (_factory: Callable[[], _M], *, policy: Policy=…) -> None → constructor FeedParser(_factory: None=…, *, policy: Policy=…) -> None | (_factory: Callable[[], _MessageT], *, policy: Policy=…) -> None - changed:
method BytesFeedParser.close() -> _M → method BytesFeedParser.close() -> _MessageT - changed:
method FeedParser.close() -> _M → method FeedParser.close() -> _MessageT
- changed:
constructor BytesGenerator(outfp: BinaryIO, mangle_from_: bool | None=…, maxheaderlen: int | None=…, *, policy: Policy | None=…) -> None → constructor BytesGenerator(outfp: SupportsWrite[bytes], mangle_from_: bool | None=…, maxheaderlen: int | None=…, *, policy: Policy | None=…) -> None - changed:
constructor DecodedGenerator(outfp: TextIO, mangle_from_: bool | None=…, maxheaderlen: int | None=…, fmt: str | None=…, *, policy: Policy | None=…) -> None → constructor DecodedGenerator(outfp: SupportsWrite[str], mangle_from_: bool | None=…, maxheaderlen: int | None=…, fmt: str | None=…, *, policy: Policy | None=…) -> None - changed:
constructor Generator(outfp: TextIO, mangle_from_: bool | None=…, maxheaderlen: int | None=…, *, policy: Policy | None=…) -> None → constructor Generator(outfp: SupportsWrite[str], mangle_from_: bool | None=…, maxheaderlen: int | None=…, *, policy: Policy | None=…) -> None - changed:
method BytesGenerator.clone(fp: BinaryIO) -> BytesGenerator → method BytesGenerator.clone(fp: SupportsWrite[bytes]) -> BytesGenerator - changed:
method Generator.clone(fp: TextIO) -> Generator → method Generator.clone(fp: SupportsWrite[str]) -> Generator
- changed:
constructor HeaderRegistry(base_class: Type[BaseHeader]=…, default_class: Type[BaseHeader]=…, use_default_map: bool=…) -> None → constructor HeaderRegistry(base_class: type[BaseHeader]=…, default_class: type[BaseHeader]=…, use_default_map: bool=…) -> None - changed:
method HeaderRegistry.map_to_type(name: str, cls: Type[BaseHeader]) -> None → method HeaderRegistry.map_to_type(name: str, cls: type[BaseHeader]) -> None
- added:
function walk(self: Message) -> Iterator[Message]
- removed:
class MIMEPart(Message) - removed:
constructor MIMEPart(policy: Policy | None=…) -> None - removed:
method MIMEPart.add_alternative(*args: Any, content_manager: ContentManager | None=…, **kw: Any) -> None - removed:
method MIMEPart.add_attachment(*args: Any, content_manager: ContentManager | None=…, **kw: Any) -> None - removed:
method MIMEPart.add_related(*args: Any, content_manager: ContentManager | None=…, **kw: Any) -> None - removed:
method MIMEPart.as_string(unixfrom: bool=…, maxheaderlen: int | None=…, policy: Policy | None=…) -> str - removed:
method MIMEPart.clear() -> None - removed:
method MIMEPart.clear_content() -> None - removed:
method MIMEPart.get_body(preferencelist: Sequence[str]=…) -> Message | None - removed:
method MIMEPart.get_content(*args: Any, content_manager: ContentManager | None=…, **kw: Any) -> Any - removed:
method MIMEPart.is_attachment() -> bool - removed:
method MIMEPart.iter_attachments() -> Iterator[Message] - removed:
method MIMEPart.iter_parts() -> Iterator[Message] - removed:
method MIMEPart.make_alternative(boundary: str | None=…) -> None - removed:
method MIMEPart.make_mixed(boundary: str | None=…) -> None - removed:
method MIMEPart.make_related(boundary: str | None=…) -> None - removed:
method MIMEPart.set_content(*args: Any, content_manager: ContentManager | None=…, **kw: Any) -> None
- removed:
variable SMTPUTF8: EmailPolicy
- removed:
function body_check(octet: int) -> bool - removed:
function header_check(octet: int) -> bool
- removed:
function localtime(dt: datetime.datetime | None=…, isdst: int=…) -> datetime.datetime - removed:
function quote(str: str) -> str
- removed:
class FlagBoundary(StrEnum) - removed:
class StrEnum(str, Enum) - removed:
class property(types.DynamicClassAttribute) - removed:
field FlagBoundary.CONFORM: str - removed:
field FlagBoundary.EJECT: str - removed:
field FlagBoundary.KEEP: str - removed:
field FlagBoundary.STRICT: str - removed:
field property.clsname: str - removed:
field property.name: str - removed:
function global_enum(cls: _S) -> _S - removed:
function global_enum_repr(self: Enum) -> str - removed:
function global_flag_repr(self: Flag) -> str - removed:
property Enum.name -> str - removed:
property Enum.value -> Any - removed:
property Flag.name -> str | None - removed:
property Flag.value -> int - removed:
property IntEnum.value -> int - removed:
property StrEnum.value -> str - removed:
property auto.value -> Any - removed:
variable CONFORM - removed:
variable EJECT - removed:
variable EnumType - removed:
variable KEEP - removed:
variable STRICT - changed:
class IntEnum(int, Enum) → class IntEnum(int, _IntEnumBase) - changed:
function unique(enumeration: _S) -> _S → function unique(enumeration: _EnumerationT) -> _EnumerationT - added:
method Enum.name() -> str - added:
method Enum.value() -> Any - added:
method Flag.name() -> str | None - added:
method Flag.value() -> int - added:
method IntEnum.value() -> int - added:
method auto.value() -> Any
- removed:
variable EDEADLCK: int - added:
variable EAUTH: int - added:
variable EBADARCH: int - added:
variable EBADEXEC: int - added:
variable EBADMACHO: int - added:
variable EBADRPC: int - added:
variable EDEADLK: int - added:
variable EDEVERR: int - added:
variable EFTYPE: int - added:
variable EL: int - added:
variable ELOCKUNMAPPED: int - added:
variable ENEEDAUTH: int - added:
variable ENOATTR: int - added:
variable ENOPOLICY: int - added:
variable ENOTACTIVE: int - added:
variable EPROCLIM: int - added:
variable EPROCUNAVAIL: int - added:
variable EPROGMISMATCH: int - added:
variable EPROGUNAVAIL: int - added:
variable EPWROFF: int - added:
variable EQFULL: int - added:
variable ERPCMISMATCH: int - added:
variable ESHLIBVERS: int
- added:
variable F_ADD_SEALS: int - added:
variable F_GETPATH: int - added:
variable F_GETPIPE_SZ: int - added:
variable F_GET_SEALS: int - added:
variable F_SEAL_GROW: int - added:
variable F_SEAL_SEAL: int - added:
variable F_SEAL_SHRINK: int - added:
variable F_SEAL_WRITE: int - added:
variable F_SETPIPE_SZ: int
- changed:
function cmpfiles(a: AnyStr | PathLike[AnyStr], b: AnyStr | PathLike[AnyStr], common: Iterable[AnyStr], shallow: int | bool=…) -> tuple[list[AnyStr], list[AnyStr], list[AnyStr]] → function cmpfiles(a: AnyStr | PathLike[AnyStr], b: AnyStr | PathLike[AnyStr], common: Iterable[AnyStr | PathLike[AnyStr]], shallow: int | bool=…) -> tuple[list[AnyStr], list[AnyStr], list[AnyStr]]
- changed:
class FileInput(Iterable[AnyStr], Generic[AnyStr]) → class FileInput(Iterator[AnyStr], Generic[AnyStr])
- changed:
static method Fraction.from_decimal(dec: Decimal) -> Fraction → static method Fraction.from_decimal(dec: Decimal) -> Self - changed:
static method Fraction.from_float(f: float) -> Fraction → static method Fraction.from_float(f: float) -> Self
- removed:
class Error(Exception) - removed:
function ftpcp(source: FTP, sourcename: str, target: FTP, targetname: str=…, type: Literal['A', 'I']=…) -> None - removed:
function parse150(resp: str) -> int | None - removed:
function parse227(resp: str) -> tuple[str, int] - removed:
function parse229(resp: str, peer: Any) -> tuple[str, int] - removed:
function parse257(resp: str) -> str - removed:
variable B_CRLF: bytes - removed:
variable CRLF: str - removed:
variable FTP_PORT: int - removed:
variable MAXLINE: int - removed:
variable MSG_OOB: int - changed:
variable all_errors: tuple[Type[Exception], ...] → variable all_errors: tuple[type[Exception], ...]
- removed:
class cached_property(Generic[_T]) - removed:
class singledispatchmethod(Generic[_T]) - removed:
constructor cached_property(func: Callable[[Any], _T]) -> None - removed:
constructor singledispatchmethod(func: Callable[..., _T]) -> None - removed:
field cached_property.attrname: str | None - removed:
field cached_property.func: Callable[[Any], _T] - removed:
field partial.args: tuple[Any, ...] - removed:
field partial.func: Callable[..., _T] - removed:
field partial.keywords: dict[str, Any] - removed:
field singledispatchmethod.dispatcher: _SingleDispatchCallable[_T] - removed:
field singledispatchmethod.func: Callable[..., _T] - removed:
function cache(__user_function: Callable[..., _T]) -> _lru_cache_wrapper[_T] - removed:
method singledispatchmethod.register(cls: Type[Any], method: None=…) -> Callable[[Callable[..., _T]], Callable[..., _T]] | (cls: Callable[..., _T], method: None=…) -> Callable[..., _T] | (cls: Type[Any], method: Callable[..., _T]) -> Callable[..., _T] - changed:
function total_ordering(cls: Type[_T]) -> Type[_T] → function total_ordering(cls: type[_T]) -> type[_T] - changed:
variable WRAPPER_ASSIGNMENTS: Sequence[str] → variable WRAPPER_ASSIGNMENTS: tuple[Literal['__module__'], Literal['__name__'], Literal['__qualname__'], Literal['__doc__'], Literal['__annotations__']] - changed:
variable WRAPPER_UPDATES: Sequence[str] → variable WRAPPER_UPDATES: tuple[Literal['__dict__']] - added:
property partial.args -> tuple[Any, ...] - added:
property partial.func -> Callable[..., _T] - added:
property partial.keywords -> dict[str, Any]
- changed:
variable DEBUG_COLLECTABLE: int → variable DEBUG_COLLECTABLE: Literal[2] - changed:
variable DEBUG_LEAK: int → variable DEBUG_LEAK: Literal[38] - changed:
variable DEBUG_SAVEALL: int → variable DEBUG_SAVEALL: Literal[32] - changed:
variable DEBUG_STATS: int → variable DEBUG_STATS: Literal[1] - changed:
variable DEBUG_UNCOLLECTABLE: int → variable DEBUG_UNCOLLECTABLE: Literal[4] - changed:
variable callbacks: list[Any] → variable callbacks: list[_CallbackType]
- removed:
function dnpgettext(domain: str, context: str, msgid1: str, msgid2: str, n: int) -> str - removed:
function dpgettext(domain: str, context: str, message: str) -> str - removed:
function npgettext(context: str, msgid1: str, msgid2: str, n: int) -> str - removed:
function pgettext(context: str, message: str) -> str - changed:
function find(domain: str, localedir: StrPath | None=…, languages: Iterable[str] | None=…, all: bool=…) -> Any → function find(domain: str, localedir: StrPath | None=…, languages: Iterable[str] | None=…, all: Literal[False]=…) -> str | None | (domain: str, localedir: StrPath | None=…, languages: Iterable[str] | None=…, all: Literal[True]=…) -> list[str] | (domain: str, localedir: StrPath | None=…, languages: Iterable[str] | None=…, all: bool=…) -> Any - changed:
function translation(domain: str, localedir: StrPath | None=…, languages: Iterable[str] | None=…, class_: None=…, fallback: bool=…) -> NullTranslations | (domain: str, localedir: StrPath | None=…, languages: Iterable[str] | None=…, class_: Type[_T]=…, fallback: Literal[False]=…) -> _T | (domain: str, localedir: StrPath | None=…, languages: Iterable[str] | None=…, class_: Type[Any]=…, fallback: Li… → function translation(domain: str, localedir: StrPath | None=…, languages: Iterable[str] | None=…, class_: None=…, fallback: bool=…) -> NullTranslations | (domain: str, localedir: StrPath | None=…, languages: Iterable[str] | None=…, class_: type[_T]=…, fallback: Literal[False]=…) -> _T | (domain: str, localedir: StrPath | None=…, languages: Iterable[str] | None=…, class_: type[Any]=…, fallback: Li…
- removed:
function glob0(dirname: AnyStr, pattern: AnyStr) -> list[AnyStr] - removed:
function glob1(dirname: AnyStr, pattern: AnyStr) -> list[AnyStr] - removed:
function has_magic(s: str | bytes) -> bool
- changed:
class struct_group(structseq[Any], tuple[str, Optional[str], int, list[str]]) → class struct_group(structseq[Any], tuple[str, str | None, int, list[str]])
- removed:
class BadGzipFile(OSError) - removed:
variable READ: Literal[1] - removed:
variable WRITE: Literal[2]
- removed:
function scrypt(password: ReadableBuffer, *, salt: ReadableBuffer | None=…, n: int | None=…, r: int | None=…, p: int | None=…, maxmem: int=…, dklen: int=…) -> bytes
- removed:
function heapify(__heap: list[Any]) -> None - removed:
function heappop(__heap: list[_T]) -> _T - removed:
function heappush(__heap: list[_T], __item: _T) -> None - removed:
function heappushpop(__heap: list[_T], __item: _T) -> _T - removed:
function heapreplace(__heap: list[_T], __item: _T) -> _T - changed:
function merge(*iterables: Iterable[_T], key: Callable[[_T], Any] | None=…, reverse: bool=…) -> Iterable[_T] → function merge(*iterables: Iterable[_S], key: Callable[[_S], Any] | None=…, reverse: bool=…) -> Iterable[_S] - changed:
function nlargest(n: int, iterable: Iterable[_T], key: Callable[[_T], SupportsRichComparison] | None=…) -> list[_T] → function nlargest(n: int, iterable: Iterable[_S], key: Callable[[_S], SupportsRichComparison] | None=…) -> list[_S] - changed:
function nsmallest(n: int, iterable: Iterable[_T], key: Callable[[_T], SupportsRichComparison] | None=…) -> list[_T] → function nsmallest(n: int, iterable: Iterable[_S], key: Callable[[_S], SupportsRichComparison] | None=…) -> list[_S]
- removed:
field HMAC.name: str - added:
property HMAC.name -> str
- removed:
class HTTPMessage(email.message.Message) - removed:
function parse_headers(fp: io.BufferedIOBase, _class: Callable[[], email.message.Message]=…) -> HTTPMessage - removed:
method HTTPMessage.getallmatchingheaders(name: str) -> list[str] - removed:
variable ACCEPTED: int - removed:
variable BAD_GATEWAY: int - removed:
variable BAD_REQUEST: int - removed:
variable CONFLICT: int - removed:
variable CONTINUE: int - removed:
variable CREATED: int - removed:
variable EXPECTATION_FAILED: int - removed:
variable FAILED_DEPENDENCY: int - removed:
variable FORBIDDEN: int - removed:
variable FOUND: int - removed:
variable GATEWAY_TIMEOUT: int - removed:
variable GONE: int - removed:
variable HTTPS_PORT: int - removed:
variable HTTP_PORT: int - removed:
variable HTTP_VERSION_NOT_SUPPORTED: int - removed:
variable IM_USED: int - removed:
variable INSUFFICIENT_STORAGE: int - removed:
variable INTERNAL_SERVER_ERROR: int - removed:
variable LENGTH_REQUIRED: int - removed:
variable LOCKED: int - removed:
variable METHOD_NOT_ALLOWED: int - removed:
variable MOVED_PERMANENTLY: int - removed:
variable MULTIPLE_CHOICES: int - removed:
variable MULTI_STATUS: int - removed:
variable NETWORK_AUTHENTICATION_REQUIRED: int - removed:
variable NON_AUTHORITATIVE_INFORMATION: int - removed:
variable NOT_ACCEPTABLE: int - removed:
variable NOT_EXTENDED: int - removed:
variable NOT_FOUND: int - removed:
variable NOT_IMPLEMENTED: int - removed:
variable NOT_MODIFIED: int - removed:
variable NO_CONTENT: int - removed:
variable OK: int - removed:
variable PARTIAL_CONTENT: int - removed:
variable PAYMENT_REQUIRED: int - removed:
variable PRECONDITION_FAILED: int - removed:
variable PRECONDITION_REQUIRED: int - removed:
variable PROCESSING: int - removed:
variable PROXY_AUTHENTICATION_REQUIRED: int - removed:
variable REQUESTED_RANGE_NOT_SATISFIABLE: int - removed:
variable REQUEST_ENTITY_TOO_LARGE: int - removed:
variable REQUEST_HEADER_FIELDS_TOO_LARGE: int - removed:
variable REQUEST_TIMEOUT: int - removed:
variable REQUEST_URI_TOO_LONG: int - removed:
variable RESET_CONTENT: int - removed:
variable SEE_OTHER: int - removed:
variable SERVICE_UNAVAILABLE: int - removed:
variable SWITCHING_PROTOCOLS: int - removed:
variable TEMPORARY_REDIRECT: int - removed:
variable TOO_MANY_REQUESTS: int - removed:
variable UNAUTHORIZED: int - removed:
variable UNPROCESSABLE_ENTITY: int - removed:
variable UNSUPPORTED_MEDIA_TYPE: int - removed:
variable UPGRADE_REQUIRED: int - removed:
variable USE_PROXY: int - changed:
field HTTPConnection.response_class: Type[HTTPResponse] → field HTTPConnection.response_class: type[HTTPResponse]
- removed:
class Morsel(dict[str, Any], Generic[_T]) - removed:
constructor Morsel() -> None - removed:
field Morsel.coded_value: _T - removed:
field Morsel.key: str - removed:
field Morsel.value: str - removed:
method Morsel.OutputString(attrs: list[str] | None=…) -> str - removed:
method Morsel.isReservedKey(K: str) -> bool - removed:
method Morsel.js_output(attrs: list[str] | None=…) -> str - removed:
method Morsel.output(attrs: list[str] | None=…, header: str=…) -> str - removed:
method Morsel.set(key: str, val: str, coded_val: _T, LegalChars: str=…) -> None - removed:
method Morsel.setdefault(key: str, val: str | None=…) -> str - removed:
method Morsel.update(values: Mapping[str, str]) -> None | (values: Iterable[tuple[str, str]]) -> None
- removed:
class ThreadingHTTPServer(socketserver.ThreadingMixIn, HTTPServer) - removed:
field ThreadingHTTPServer.daemon_threads: bool - removed:
function executable(path: StrPath) -> bool
- changed:
field IMAP4.abort: Type[Exception] → field IMAP4.abort: type[Exception] - changed:
field IMAP4.capabilities: tuple[str] → field IMAP4.capabilities: tuple[str, ...] - changed:
field IMAP4.error: Type[Exception] → field IMAP4.error: type[Exception] - changed:
field IMAP4.readonly: Type[Exception] → field IMAP4.readonly: type[Exception] - changed:
function ParseFlags(resp: str) -> tuple[str] → function ParseFlags(resp: str) -> tuple[str, ...]
- removed:
variable tests: list[Callable[[bytes, BinaryIO | None], str | None]]
- removed:
function find_loader(name: str, path: str | None=…) -> Loader | None - added:
function __import__(name: str, globals: Mapping[str, object] | None=…, locals: Mapping[str, object] | None=…, fromlist: Sequence[str]=…, level: int=…) -> ModuleType
- removed:
field ModuleSpec.parent: str | None - changed:
constructor FileFinder(path: str, *loader_details: tuple[importlib.abc.Loader, list[str]]) -> None → constructor FileFinder(path: str, *loader_details: tuple[type[importlib.abc.Loader], list[str]]) -> None - changed:
static method FileFinder.path_hook(*loader_details: tuple[importlib.abc.Loader, list[str]]) -> Callable[[str], importlib.abc.PathEntryFinder] → static method FileFinder.path_hook(*loader_details: tuple[type[importlib.abc.Loader], list[str]]) -> Callable[[str], importlib.abc.PathEntryFinder] - added:
property ModuleSpec.parent -> str | None
- removed:
class EntryPoint(_EntryPointBase) - removed:
class FileHash - removed:
class MetadataPathFinder(DistributionFinder) - removed:
class PackagePath(pathlib.PurePosixPath) - removed:
class PathDistribution(Distribution) - removed:
constructor FileHash(spec: str) -> None - removed:
constructor PathDistribution(path: Path) -> None - removed:
field EntryPoint.dist: ClassVar[Distribution | None] - removed:
field EntryPoint.pattern: ClassVar[Pattern[str]] - removed:
field FileHash.mode: str - removed:
field FileHash.value: str - removed:
field PackagePath.dist: Distribution - removed:
field PackagePath.hash: FileHash | None - removed:
field PackagePath.size: int | None - removed:
function packages_distributions() -> Mapping[str, list[str]] - removed:
method EntryPoint.load() -> Any - removed:
method EntryPoint.matches(**params: Any) -> bool - removed:
method MetadataPathFinder.invalidate_caches() -> None - removed:
method PackagePath.locate() -> PathLike[str] - removed:
method PackagePath.read_binary() -> bytes - removed:
method PackagePath.read_text(encoding: str=…) -> str - removed:
method PathDistribution.locate_file(path: StrPath) -> PathLike[str] - removed:
method PathDistribution.read_text(filename: StrPath) -> str - removed:
property Distribution.entry_points -> list[EntryPoint] - removed:
property Distribution.metadata -> Message - removed:
property EntryPoint.attr -> str - removed:
property EntryPoint.extras -> list[str] - removed:
property EntryPoint.module -> str - removed:
static method MetadataPathFinder.find_distributions(context: DistributionFinder.Context=…) -> Iterable[PathDistribution] - changed:
function entry_points() -> dict[str, tuple[EntryPoint, ...]] → function entry_points() -> SelectableGroups | (*, name: str=…, value: str=…, group: str=…, module: str=…, attr: str=…, extras: list[str]=…) -> EntryPoints - added:
property Distribution.entry_points -> EntryPoints - added:
property Distribution.metadata -> PackageMetadata - added:
property PackageNotFoundError.name -> str
- removed:
function as_file(path: Traversable) -> AbstractContextManager[Path] - removed:
function files(package: Package) -> Traversable
- removed:
class ArgSpec(NamedTuple) - removed:
field ArgSpec.args: list[str] - removed:
field ArgSpec.defaults: tuple[Any, ...] - removed:
field ArgSpec.keywords: str | None - removed:
field ArgSpec.varargs: str | None - removed:
field BoundArguments.args: tuple[Any, ...] - removed:
field BoundArguments.kwargs: dict[str, Any] - removed:
field BoundArguments.signature: Signature - removed:
function formatargspec(args: list[str], varargs: str | None=…, varkw: str | None=…, defaults: tuple[Any, ...] | None=…, kwonlyargs: Sequence[str] | None=…, kwonlydefaults: dict[str, Any] | None=…, annotations: dict[str, Any]=…, formatarg: Callable[[str], str]=…, formatvarargs: Callable[[str], str]=…, formatvarkw: Callable[[str], str]=…, formatvalue: Callable[[Any], str]=…, formatreturns: Callable… - removed:
function getargspec(func: object) -> ArgSpec - removed:
variable modulesbyfile: dict[str, Any] - changed:
function get_annotations(obj: Callable[..., Any] | Type[Any] | ModuleType, *, globals: Mapping[str, Any] | None=…, locals: Mapping[str, Any] | None=…, eval_str: bool=…) -> dict[str, Any] → function get_annotations(obj: Callable[..., Any] | type[Any] | ModuleType, *, globals: Mapping[str, Any] | None=…, locals: Mapping[str, Any] | None=…, eval_str: bool=…) -> dict[str, Any] - changed:
function getcallargs(__func: Callable[..., Any], *args: Any, **kwds: Any) -> dict[str, Any] → function getcallargs(__func: Callable[_P, Any], *args: _P.args, **kwds: _P.kwargs) -> dict[str, Any] - changed:
function getmembers(object: object, predicate: Callable[[Any], bool] | None=…) -> list[tuple[str, Any]] → function getmembers(object: object, predicate: _GetMembersPredicate | None=…) -> _GetMembersReturn - changed:
function isclass(object: object) -> TypeGuard[Type[Any]] → function isclass(object: object) -> TypeGuard[type[Any]] - changed:
function walktree(classes: list[type], children: dict[Type[Any], list[type]], parent: Type[Any] | None) -> list[Any] → function walktree(classes: list[type], children: dict[type[Any], list[type]], parent: type[Any] | None) -> list[Any] - changed:
method Parameter.replace(*, name: str | Type[_void]=…, kind: _ParameterKind | Type[_void]=…, default: Any=…, annotation: Any=…) -> Self → method Parameter.replace(*, name: str | type[_void]=…, kind: _ParameterKind | type[_void]=…, default: Any=…, annotation: Any=…) -> Self - changed:
method Signature.replace(*, parameters: Sequence[Parameter] | Type[_void] | None=…, return_annotation: Any=…) -> Self → method Signature.replace(*, parameters: Sequence[Parameter] | type[_void] | None=…, return_annotation: Any=…) -> Self - changed:
static method Signature.from_callable(obj: Callable[..., Any], *, follow_wrapped: bool=…) -> Signature → static method Signature.from_callable(obj: Callable[..., Any], *, follow_wrapped: bool=…) -> Self - added:
function getmembers_static(object: object, predicate: _GetMembersPredicate | None=…) -> _GetMembersReturn - added:
function ismethodwrapper(object: object) -> TypeGuard[MethodWrapperType] - added:
property BoundArguments.args -> tuple[Any, ...] - added:
property BoundArguments.kwargs -> dict[str, Any] - added:
property BoundArguments.signature -> Signature
- removed:
class IncrementalNewlineDecoder(codecs.IncrementalDecoder) - removed:
constructor IncrementalNewlineDecoder(decoder: codecs.IncrementalDecoder | None, translate: bool, errors: str=…) -> None - removed:
function open_code(path: str) -> IO[bytes] - removed:
method IncrementalNewlineDecoder.decode(input: bytes | str, final: bool=…) -> str - removed:
property IncrementalNewlineDecoder.newlines -> str | tuple[str, ...] | None - removed:
variable DEFAULT_BUFFER_SIZE: int - changed:
variable SEEK_CUR: int → variable SEEK_CUR: Literal[1] - changed:
variable SEEK_END: int → variable SEEK_END: Literal[2] - changed:
variable SEEK_SET: int → variable SEEK_SET: Literal[0]
- changed:
class IPv4Address(_BaseAddress) → class IPv4Address(_BaseV4, _BaseAddress) - changed:
class IPv4Network(_BaseNetwork[IPv4Address]) → class IPv4Network(_BaseV4, _BaseNetwork[IPv4Address]) - changed:
class IPv6Address(_BaseAddress) → class IPv6Address(_BaseV6, _BaseAddress) - changed:
class IPv6Network(_BaseNetwork[IPv6Address]) → class IPv6Network(_BaseV6, _BaseNetwork[IPv6Address]) - changed:
function ip_address(address: object) -> IPv4Address | IPv6Address → function ip_address(address: _RawIPAddress) -> IPv4Address | IPv6Address - changed:
function ip_interface(address: object) -> IPv4Interface | IPv6Interface → function ip_interface(address: _RawIPAddress | _RawNetworkPart) -> IPv4Interface | IPv6Interface - changed:
function ip_network(address: object, strict: bool=…) -> IPv4Network | IPv6Network → function ip_network(address: _RawIPAddress | _RawNetworkPart, strict: bool=…) -> IPv4Network | IPv6Network - changed:
variable IPV4LENGTH: int → variable IPV4LENGTH: Literal[32] - changed:
variable IPV6LENGTH: int → variable IPV6LENGTH: Literal[128]
- changed:
static method chain.from_iterable(__iterable: Iterable[Iterable[_S]]) -> Iterator[_S] → static method chain.from_iterable(__iterable: Iterable[Iterable[_S]]) -> chain[_S]
- removed:
function detect_encoding(b: bytes) -> str - changed:
function dump(obj: Any, fp: IO[str], *, skipkeys: bool=…, ensure_ascii: bool=…, check_circular: bool=…, allow_nan: bool=…, cls: Type[JSONEncoder] | None=…, indent: None | int | str=…, separators: tuple[str, str] | None=…, default: Callable[[Any], Any] | None=…, sort_keys: bool=…, **kwds: Any) -> None → function dump(obj: Any, fp: IO[str], *, skipkeys: bool=…, ensure_ascii: bool=…, check_circular: bool=…, allow_nan: bool=…, cls: type[JSONEncoder] | None=…, indent: None | int | str=…, separators: tuple[str, str] | None=…, default: Callable[[Any], Any] | None=…, sort_keys: bool=…, **kwds: Any) -> None - changed:
function dumps(obj: Any, *, skipkeys: bool=…, ensure_ascii: bool=…, check_circular: bool=…, allow_nan: bool=…, cls: Type[JSONEncoder] | None=…, indent: None | int | str=…, separators: tuple[str, str] | None=…, default: Callable[[Any], Any] | None=…, sort_keys: bool=…, **kwds: Any) -> str → function dumps(obj: Any, *, skipkeys: bool=…, ensure_ascii: bool=…, check_circular: bool=…, allow_nan: bool=…, cls: type[JSONEncoder] | None=…, indent: None | int | str=…, separators: tuple[str, str] | None=…, default: Callable[[Any], Any] | None=…, sort_keys: bool=…, **kwds: Any) -> str - changed:
function load(fp: SupportsRead[str | bytes], *, cls: Type[JSONDecoder] | None=…, object_hook: Callable[[dict[Any, Any]], Any] | None=…, parse_float: Callable[[str], Any] | None=…, parse_int: Callable[[str], Any] | None=…, parse_constant: Callable[[str], Any] | None=…, object_pairs_hook: Callable[[list[tuple[Any, Any]]], Any] | None=…, **kwds: Any) -> Any → function load(fp: SupportsRead[str | bytes], *, cls: type[JSONDecoder] | None=…, object_hook: Callable[[dict[Any, Any]], Any] | None=…, parse_float: Callable[[str], Any] | None=…, parse_int: Callable[[str], Any] | None=…, parse_constant: Callable[[str], Any] | None=…, object_pairs_hook: Callable[[list[tuple[Any, Any]]], Any] | None=…, **kwds: Any) -> Any - changed:
function loads(s: str | bytes, *, cls: Type[JSONDecoder] | None=…, object_hook: Callable[[dict[Any, Any]], Any] | None=…, parse_float: Callable[[str], Any] | None=…, parse_int: Callable[[str], Any] | None=…, parse_constant: Callable[[str], Any] | None=…, object_pairs_hook: Callable[[list[tuple[Any, Any]]], Any] | None=…, **kwds: Any) -> Any → function loads(s: str | bytes, *, cls: type[JSONDecoder] | None=…, object_hook: Callable[[dict[Any, Any]], Any] | None=…, parse_float: Callable[[str], Any] | None=…, parse_int: Callable[[str], Any] | None=…, parse_constant: Callable[[str], Any] | None=…, object_pairs_hook: Callable[[list[tuple[Any, Any]]], Any] | None=…, **kwds: Any) -> Any
- removed:
function issoftkeyword(s: str) -> bool - removed:
variable softkwlist: Sequence[str]
- changed:
method Grammar.copy() -> _P → method Grammar.copy() -> Self
- removed:
class StopTokenizing(Exception) - removed:
class TokenError(Exception) - removed:
class Untokenizer - removed:
constructor Untokenizer() -> None - removed:
field Untokenizer.prev_col: int - removed:
field Untokenizer.prev_row: int - removed:
field Untokenizer.tokens: list[str] - removed:
method Untokenizer.add_whitespace(start: _Coord) -> None - removed:
method Untokenizer.compat(token: tuple[int, str], iterable: Iterable[_TokenInfo]) -> None - removed:
method Untokenizer.untokenize(iterable: Iterable[_TokenInfo]) -> str
- changed:
method Base.clone() -> _P → method Base.clone() -> Self
- removed:
function getlines(filename: str, module_globals: _ModuleGlobals | None=…) -> list[str] - removed:
function lazycache(filename: str, module_globals: _ModuleGlobals) -> bool - removed:
function updatecache(filename: str, module_globals: _ModuleGlobals | None=…) -> list[str] - removed:
variable cache: dict[str, _SourceLoader | _ModuleMetadata]
- removed:
function delocalize(string: _str) -> _str - removed:
function nl_langinfo(__key: int) -> _str - removed:
variable ABDAY_1: int - removed:
variable ABDAY_2: int - removed:
variable ABDAY_3: int - removed:
variable ABDAY_4: int - removed:
variable ABDAY_5: int - removed:
variable ABDAY_6: int - removed:
variable ABDAY_7: int - removed:
variable ABMON_10: int - removed:
variable ABMON_11: int - removed:
variable ABMON_12: int - removed:
variable ABMON_1: int - removed:
variable ABMON_2: int - removed:
variable ABMON_3: int - removed:
variable ABMON_4: int - removed:
variable ABMON_5: int - removed:
variable ABMON_6: int - removed:
variable ABMON_7: int - removed:
variable ABMON_8: int - removed:
variable ABMON_9: int - removed:
variable ALT_DIGITS: int - removed:
variable AM_STR: int - removed:
variable CODESET: int - removed:
variable CRNCYSTR: int - removed:
variable DAY_1: int - removed:
variable DAY_2: int - removed:
variable DAY_3: int - removed:
variable DAY_4: int - removed:
variable DAY_5: int - removed:
variable DAY_6: int - removed:
variable DAY_7: int - removed:
variable D_FMT: int - removed:
variable D_T_FMT: int - removed:
variable ERA: int - removed:
variable ERA_D_FMT: int - removed:
variable ERA_D_T_FMT: int - removed:
variable ERA_T_FMT: int - removed:
variable MON_10: int - removed:
variable MON_11: int - removed:
variable MON_12: int - removed:
variable MON_1: int - removed:
variable MON_2: int - removed:
variable MON_3: int - removed:
variable MON_4: int - removed:
variable MON_5: int - removed:
variable MON_6: int - removed:
variable MON_7: int - removed:
variable MON_8: int - removed:
variable MON_9: int - removed:
variable NOEXPR: int - removed:
variable PM_STR: int - removed:
variable RADIXCHAR: int - removed:
variable THOUSEP: int - removed:
variable T_FMT: int - removed:
variable T_FMT_AMPM: int - removed:
variable YESEXPR: int - removed:
variable locale_alias: dict[_str, _str] - removed:
variable locale_encoding_alias: dict[_str, _str] - removed:
variable windows_locale: dict[int, _str] - changed:
function getlocale(category: int=…) -> Sequence[_str] → function getlocale(category: int=…) -> tuple[_str | None, _str | None] - changed:
function setlocale(category: int, locale: _str | Iterable[_str] | None=…) -> _str → function setlocale(category: int, locale: _str | Iterable[_str | None] | None=…) -> _str
- removed:
class Filterer - removed:
class Manager - removed:
class PercentStyle - removed:
class PlaceHolder - removed:
class RootLogger(Logger) - removed:
class StrFormatStyle(PercentStyle) - removed:
class StringTemplateStyle(PercentStyle) - removed:
constructor Filterer() -> None - removed:
constructor Manager(rootnode: RootLogger) -> None - removed:
constructor PercentStyle(fmt: str) -> None - removed:
constructor PlaceHolder(alogger: Logger) -> None - removed:
constructor RootLogger(level: int) -> None - removed:
field Filterer.filters: list[Filter] - removed:
field Manager.disable: int - removed:
field Manager.emittedNoHandlerWarning: bool - removed:
field Manager.logRecordFactory: Callable[..., LogRecord] | None - removed:
field Manager.loggerClass: Type[Logger] | None - removed:
field Manager.loggerDict: dict[str, Logger | PlaceHolder] - removed:
field Manager.root: RootLogger - removed:
field PercentStyle.asctime_format: str - removed:
field PercentStyle.asctime_search: str - removed:
field PercentStyle.default_format: str - removed:
field PercentStyle.validation_pattern: Pattern[str] - removed:
field PlaceHolder.loggerMap: dict[Logger, None] - removed:
field StrFormatStyle.field_spec - removed:
field StrFormatStyle.fmt_spec - removed:
function currentframe() -> FrameType - removed:
method Filterer.addFilter(filter: _FilterType) -> None - removed:
method Filterer.filter(record: LogRecord) -> bool - removed:
method Filterer.removeFilter(filter: _FilterType) -> None - removed:
method Manager.getLogger(name: str) -> Logger - removed:
method Manager.setLogRecordFactory(factory: Callable[..., LogRecord]) -> None - removed:
method Manager.setLoggerClass(klass: Type[Logger]) -> None - removed:
method PercentStyle.format(record: Any) -> str - removed:
method PercentStyle.usesTime() -> bool - removed:
method PercentStyle.validate() -> None - removed:
method PlaceHolder.append(alogger: Logger) -> None - removed:
variable logMultiprocessing: bool - removed:
variable logProcesses: bool - removed:
variable logThreads: bool - removed:
variable root: RootLogger - changed:
function getLoggerClass() -> Type[Logger] → function getLoggerClass() -> type[Logger] - changed:
function setLoggerClass(klass: Type[Logger]) -> None → function setLoggerClass(klass: type[Logger]) -> None
- changed:
constructor TimedRotatingFileHandler(filename: StrPath, when: str=…, interval: int=…, backupCount: int=…, encoding: str | None=…, delay: bool=…, utc: bool=…, atTime: datetime.datetime | None=…) -> None → constructor TimedRotatingFileHandler(filename: StrPath, when: str=…, interval: int=…, backupCount: int=…, encoding: str | None=…, delay: bool=…, utc: bool=…, atTime: datetime.time | None=…) -> None - changed:
field QueueListener.handlers: tuple[Handler] → field QueueListener.handlers: tuple[Handler, ...] - changed:
field TimedRotatingFileHandler.atTime: datetime.datetime | None → field TimedRotatingFileHandler.atTime: datetime.time | None
- changed:
variable CHECK_CRC32: int → variable CHECK_CRC32: Literal[1] - changed:
variable CHECK_CRC64: int → variable CHECK_CRC64: Literal[4] - changed:
variable CHECK_ID_MAX: int → variable CHECK_ID_MAX: Literal[15] - changed:
variable CHECK_NONE: int → variable CHECK_NONE: Literal[0] - changed:
variable CHECK_SHA256: int → variable CHECK_SHA256: Literal[10] - changed:
variable CHECK_UNKNOWN: int → variable CHECK_UNKNOWN: Literal[16] - changed:
variable FILTER_ARM: int → variable FILTER_ARM: Literal[7] - changed:
variable FILTER_ARMTHUMB: int → variable FILTER_ARMTHUMB: Literal[8] - changed:
variable FILTER_DELTA: int → variable FILTER_DELTA: Literal[3] - changed:
variable FILTER_IA64: int → variable FILTER_IA64: Literal[6] - changed:
variable FILTER_LZMA2: int → variable FILTER_LZMA2: Literal[33] - changed:
variable FILTER_POWERPC: int → variable FILTER_POWERPC: Literal[5] - changed:
variable FILTER_SPARC: int → variable FILTER_SPARC: Literal[9] - changed:
variable FILTER_X86: int → variable FILTER_X86: Literal[4] - changed:
variable FORMAT_ALONE: int → variable FORMAT_ALONE: Literal[2] - changed:
variable FORMAT_AUTO: int → variable FORMAT_AUTO: Literal[0] - changed:
variable FORMAT_RAW: int → variable FORMAT_RAW: Literal[3] - changed:
variable FORMAT_XZ: int → variable FORMAT_XZ: Literal[1] - changed:
variable MF_BT2: int → variable MF_BT2: Literal[18] - changed:
variable MF_BT3: int → variable MF_BT3: Literal[19] - changed:
variable MF_BT4: int → variable MF_BT4: Literal[20] - changed:
variable MF_HC3: int → variable MF_HC3: Literal[3] - changed:
variable MF_HC4: int → variable MF_HC4: Literal[4] - changed:
variable MODE_FAST: int → variable MODE_FAST: Literal[1] - changed:
variable MODE_NORMAL: int → variable MODE_NORMAL: Literal[2] - changed:
variable PRESET_DEFAULT: int → variable PRESET_DEFAULT: Literal[6]
- removed:
variable linesep: bytes - added:
method Babyl.get_bytes(key: str) -> bytes - added:
method Babyl.get_message(key: str) -> BabylMessage - added:
method MH.add(message: _MessageData) -> str - added:
method MH.close() -> None - added:
method MH.flush() -> None - added:
method MH.get_bytes(key: str) -> bytes - added:
method MH.get_message(key: str) -> MHMessage - added:
method MH.iterkeys() -> Iterator[str] - added:
method MH.lock() -> None - added:
method MH.remove(key: str) -> None - added:
method MH.unlock() -> None - added:
method Maildir.add(message: _MessageData) -> str - added:
method Maildir.close() -> None - added:
method Maildir.flush() -> None - added:
method Maildir.get_bytes(key: str) -> bytes - added:
method Maildir.get_message(key: str) -> MaildirMessage - added:
method Maildir.iterkeys() -> Iterator[str] - added:
method Maildir.lock() -> None - added:
method Maildir.remove(key: str) -> None - added:
method Maildir.unlock() -> None
- added:
function exp2(__x: _SupportsFloatOrIndex) -> float
- changed:
class mmap(AbstractContextManager[mmap], Iterable[int], Sized) → class mmap(Iterable[int], Sized) - added:
variable MAP_POPULATE: int
- changed:
function change_sequence(seq: Sequence[tuple[str, str | None, int]], action: str, seqno: int | Type[_Unspecified]=…, cond: str | Type[_Unspecified]=…) -> None → function change_sequence(seq: Sequence[tuple[str, str | None, int]], action: str, seqno: int | type[_Unspecified]=…, cond: str | type[_Unspecified]=…) -> None
- changed:
variable LK_LOCK: int → variable LK_LOCK: Literal[1] - changed:
variable LK_NBLCK: int → variable LK_NBLCK: Literal[2] - changed:
variable LK_NBRLCK: int → variable LK_NBRLCK: Literal[4] - changed:
variable LK_RLCK: int → variable LK_RLCK: Literal[3] - changed:
variable LK_UNLCK: int → variable LK_UNLCK: Literal[0]
- added:
export AuthenticationError - added:
export BufferTooShort - added:
export JoinableQueue - added:
export Process - added:
export ProcessError - added:
export Queue - added:
export SimpleQueue - added:
export TimeoutError - added:
export active_children - added:
export current_process - added:
export freeze_support - added:
export reducer
- removed:
class Connection(_ConnectionBase) - removed:
class PipeConnection(_ConnectionBase) - removed:
function answer_challenge(connection: Connection, authkey: bytes) -> None - removed:
function deliver_challenge(connection: Connection, authkey: bytes) -> None
- removed:
class AuthenticationError(ProcessError) - removed:
class BaseContext - removed:
class BufferTooShort(ProcessError) - removed:
class DefaultContext(BaseContext) - removed:
class ForkContext(BaseContext) - removed:
class ForkProcess(BaseProcess) - removed:
class ForkServerContext(BaseContext) - removed:
class ForkServerProcess(BaseProcess) - removed:
class Process(BaseProcess) - removed:
class ProcessError(Exception) - removed:
class SpawnContext(BaseContext) - removed:
class SpawnProcess(BaseProcess) - removed:
class TimeoutError(ProcessError) - removed:
constructor DefaultContext(context: BaseContext) -> None - removed:
field BaseContext.AuthenticationError: Type[Exception] - removed:
field BaseContext.BufferTooShort: Type[Exception] - removed:
field BaseContext.Process: Type[BaseProcess] - removed:
field BaseContext.ProcessError: Type[Exception] - removed:
field BaseContext.TimeoutError: Type[Exception] - removed:
field DefaultContext.Process: Type[multiprocessing.Process] - removed:
field ForkContext.Process: Type[ForkProcess] - removed:
field ForkServerContext.Process: Type[ForkServerProcess] - removed:
field SpawnContext.Process: Type[SpawnProcess] - removed:
function assert_spawning(obj: Any) -> None - removed:
function get_spawning_popen() -> Any | None - removed:
function set_spawning_popen(popen: Any) -> None - removed:
method BaseContext.Array(typecode_or_type: Type[_CT], size_or_initializer: int | Sequence[Any], *, lock: Literal[False]) -> _CT | (typecode_or_type: Type[_CT], size_or_initializer: int | Sequence[Any], *, lock: Literal[True] | _LockLike) -> SynchronizedArray[_CT] | (typecode_or_type: str, size_or_initializer: int | Sequence[Any], *, lock: Literal[True] | _LockLike) -> SynchronizedArray[Any] | (ty… - removed:
method BaseContext.Barrier(parties: int, action: Callable[..., Any] | None=…, timeout: float | None=…) -> synchronize.Barrier - removed:
method BaseContext.BoundedSemaphore(value: int=…) -> synchronize.BoundedSemaphore - removed:
method BaseContext.Condition(lock: _LockLike | None=…) -> synchronize.Condition - removed:
method BaseContext.Event() -> synchronize.Event - removed:
method BaseContext.JoinableQueue(maxsize: int=…) -> queues.JoinableQueue[Any] - removed:
method BaseContext.Lock() -> synchronize.Lock - removed:
method BaseContext.Manager() -> Any - removed:
method BaseContext.Pipe(duplex: bool=…) -> Any - removed:
method BaseContext.Pool(processes: int | None=…, initializer: Callable[..., Any] | None=…, initargs: Iterable[Any]=…, maxtasksperchild: int | None=…) -> _Pool - removed:
method BaseContext.Queue(maxsize: int=…) -> queues.Queue[Any] - removed:
method BaseContext.RLock() -> synchronize.RLock - removed:
method BaseContext.RawArray(typecode_or_type: Type[_CT], size_or_initializer: int | Sequence[Any]) -> ctypes.Array[_CT] | (typecode_or_type: str, size_or_initializer: int | Sequence[Any]) -> Any - removed:
method BaseContext.RawValue(typecode_or_type: Type[_CT], *args: Any) -> _CT | (typecode_or_type: str, *args: Any) -> Any - removed:
method BaseContext.Semaphore(value: int=…) -> synchronize.Semaphore - removed:
method BaseContext.SimpleQueue() -> queues.SimpleQueue[Any] - removed:
method BaseContext.Value(typecode_or_type: Type[_CT], *args: Any, lock: Literal[False]) -> _CT | (typecode_or_type: Type[_CT], *args: Any, lock: Literal[True] | _LockLike) -> SynchronizedBase[_CT] | (typecode_or_type: str, *args: Any, lock: Literal[True] | _LockLike) -> SynchronizedBase[Any] | (typecode_or_type: str | Type[_CData], *args: Any, lock: bool | _LockLike=…) -> Any - removed:
method BaseContext.allow_connection_pickling() -> None - removed:
method BaseContext.cpu_count() -> int - removed:
method BaseContext.freeze_support() -> None - removed:
method BaseContext.get_context(method: None=…) -> DefaultContext | (method: Literal['spawn']) -> SpawnContext | (method: Literal['fork']) -> ForkContext | (method: Literal['forkserver']) -> ForkServerContext | (method: str) -> BaseContext | (method: None=…) -> DefaultContext | (method: Literal['spawn']) -> SpawnContext | (method: str) -> BaseContext - removed:
method BaseContext.get_logger() -> Logger - removed:
method BaseContext.get_start_method(allow_none: bool=…) -> str - removed:
method BaseContext.log_to_stderr(level: str | None=…) -> Logger - removed:
method BaseContext.set_executable(executable: str) -> None - removed:
method BaseContext.set_forkserver_preload(module_names: list[str]) -> None - removed:
method BaseContext.set_start_method(method: str | None, force: bool=…) -> None - removed:
method DefaultContext.get_all_start_methods() -> list[str] - removed:
method DefaultContext.get_start_method(allow_none: bool=…) -> str - removed:
method DefaultContext.set_start_method(method: str | None, force: bool=…) -> None - removed:
property BaseContext.reducer -> str - removed:
static method BaseContext.active_children() -> list[BaseProcess] - removed:
static method BaseContext.current_process() -> BaseProcess - removed:
static method BaseContext.parent_process() -> BaseProcess | None
- removed:
class DummyProcess(threading.Thread) - removed:
class Namespace - removed:
class Value - removed:
constructor DummyProcess(group: Any=…, target: Callable[..., Any] | None=…, name: str | None=…, args: Iterable[Any]=…, kwargs: Mapping[str, Any]=…) -> None - removed:
constructor Namespace(**kwds: Any) -> None - removed:
constructor Value(typecode: Any, value: Any, lock: Any=…) -> None - removed:
field DummyProcess.exitcode: int | None - removed:
field Value.value: Any - removed:
function Array(typecode: Any, sequence: Sequence[Any], lock: Any=…) -> array.array[Any] - removed:
function shutdown() -> None - added:
export Pipe - added:
export Queue
- removed:
class Connection - removed:
constructor Connection(_in: Any, _out: Any) -> None - removed:
field Connection.recv: Any - removed:
field Connection.recv_bytes: Any - removed:
field Connection.send: Any - removed:
field Connection.send_bytes: Any - removed:
method Connection.close() -> None - removed:
method Connection.poll(timeout: float=…) -> bool - removed:
variable families: list[None]
- removed:
class Namespace - removed:
class RemoteError(Exception) - removed:
class Server - removed:
class SharedMemoryManager(BaseManager) - removed:
class SharedMemoryServer(Server) - removed:
class ValueProxy(BaseProxy, Generic[_T]) - removed:
constructor Namespace(**kwds: Any) -> None - removed:
constructor Server(registry: dict[str, tuple[Callable[..., Any], Any, Any, Any]], address: Any, authkey: bytes, serializer: str) -> None - removed:
field Server.address: Any - removed:
field ValueProxy.value: _T - removed:
method Server.accept_connection(c: Connection, name: str) -> None - removed:
method Server.serve_forever() -> None - removed:
method SharedMemoryManager.ShareableList(sequence: Iterable[_SLT] | None) -> _ShareableList[_SLT] - removed:
method SharedMemoryManager.SharedMemory(size: int) -> _SharedMemory - removed:
method SharedMemoryManager.get_server() -> SharedMemoryServer - removed:
method ValueProxy.get() -> _T - removed:
method ValueProxy.set(value: _T) -> None - changed:
class BaseManager(AbstractContextManager[BaseManager]) → class BaseManager - changed:
class SyncManager(BaseManager, AbstractContextManager[SyncManager]) → class SyncManager(BaseManager)
- changed:
class Pool(AbstractContextManager[Pool]) → class Pool - changed:
class ThreadPool(Pool, AbstractContextManager[ThreadPool]) → class ThreadPool(Pool)
- removed:
function parent_process() -> BaseProcess | None - changed:
constructor BaseProcess(group: None=…, target: Callable[..., Any] | None=…, name: str | None=…, args: tuple[Any, ...]=…, kwargs: Mapping[str, Any]=…, *, daemon: bool | None=…) -> None → constructor BaseProcess(group: None=…, target: Callable[..., Any] | None=…, name: str | None=…, args: Iterable[Any]=…, kwargs: Mapping[str, Any]=…, *, daemon: bool | None=…) -> None
- added:
class ForkingPickler(pickle.Pickler) - added:
constructor ForkingPickler(*args) -> None - added:
field ForkingPickler.dispatch_table: _DispatchTableType - added:
field ForkingPickler.loads - added:
function DupFd(fd) - added:
function dump(obj, file, protocol: Any | None=…) -> None - added:
function recv_handle(conn) -> None - added:
function recvfds(sock, size) - added:
function send_handle(conn, handle, destination_pid) -> None - added:
function sendfds(sock, fds) -> None - added:
static method ForkingPickler.dumps(obj, protocol: Any | None=…) - added:
static method ForkingPickler.register(type, reduce) -> None - added:
variable register
- removed:
class Synchronized(SynchronizedBase[_SimpleCData[_T]], Generic[_T]) - removed:
class SynchronizedArray(SynchronizedBase[ctypes.Array[_CT]], Generic[_CT]) - removed:
class SynchronizedBase(Generic[_CT]) - removed:
class SynchronizedString(SynchronizedArray[c_char]) - removed:
constructor SynchronizedBase(obj: Any, lock: _LockLike | None=…, ctx: Any | None=…) -> None - removed:
field Synchronized.value: _T - removed:
field SynchronizedBase.acquire: _AcquireFunc - removed:
field SynchronizedBase.release: Callable[[], None] - removed:
field SynchronizedString.raw: bytes - removed:
field SynchronizedString.value: bytes - removed:
method SynchronizedBase.get_lock() -> _LockLike - removed:
method SynchronizedBase.get_obj() -> _CT - changed:
function Array(typecode_or_type: Type[_CT], size_or_initializer: int | Sequence[Any], *, lock: Literal[False], ctx: BaseContext | None=…) -> _CT | (typecode_or_type: Type[_CT], size_or_initializer: int | Sequence[Any], *, lock: Literal[True] | _LockLike, ctx: BaseContext | None=…) -> SynchronizedArray[_CT] | (typecode_or_type: str, size_or_initializer: int | Sequence[Any], *, lock: Literal[True]… → function Array(typecode_or_type: type[_CT], size_or_initializer: int | Sequence[Any], *, lock: Literal[False], ctx: BaseContext | None=…) -> _CT | (typecode_or_type: type[_CT], size_or_initializer: int | Sequence[Any], *, lock: Literal[True] | _LockLike, ctx: BaseContext | None=…) -> SynchronizedArray[_CT] | (typecode_or_type: str, size_or_initializer: int | Sequence[Any], *, lock: Literal[True]… - changed:
function RawArray(typecode_or_type: Type[_CT], size_or_initializer: int | Sequence[Any]) -> ctypes.Array[_CT] | (typecode_or_type: str, size_or_initializer: int | Sequence[Any]) -> Any → function RawArray(typecode_or_type: type[_CT], size_or_initializer: int | Sequence[Any]) -> ctypes.Array[_CT] | (typecode_or_type: str, size_or_initializer: int | Sequence[Any]) -> Any - changed:
function RawValue(typecode_or_type: Type[_CT], *args: Any) -> _CT | (typecode_or_type: str, *args: Any) -> Any → function RawValue(typecode_or_type: type[_CT], *args: Any) -> _CT | (typecode_or_type: str, *args: Any) -> Any - changed:
function Value(typecode_or_type: Type[_CT], *args: Any, lock: Literal[False], ctx: BaseContext | None=…) -> _CT | (typecode_or_type: Type[_CT], *args: Any, lock: Literal[True] | _LockLike, ctx: BaseContext | None=…) -> SynchronizedBase[_CT] | (typecode_or_type: str, *args: Any, lock: Literal[True] | _LockLike, ctx: BaseContext | None=…) -> SynchronizedBase[Any] | (typecode_or_type: str | Type[_CD… → function Value(typecode_or_type: type[_CT], *args: Any, lock: Literal[False], ctx: BaseContext | None=…) -> _CT | (typecode_or_type: type[_CT], *args: Any, lock: Literal[True] | _LockLike, ctx: BaseContext | None=…) -> SynchronizedBase[_CT] | (typecode_or_type: str, *args: Any, lock: Literal[True] | _LockLike, ctx: BaseContext | None=…) -> SynchronizedBase[Any] | (typecode_or_type: str | type[_CD…
- removed:
function is_forking(argv: Sequence[str]) -> bool - removed:
function prepare(data: Mapping[str, Any]) -> None - removed:
function spawn_main(pipe_handle: int, parent_pid: int | None=…, tracker_fd: int | None=…) -> None - removed:
variable WINEXE: bool - removed:
variable WINSERVICE: bool - removed:
variable old_main_modules: list[ModuleType] - added:
function _main(fd: int) -> Any
- removed:
class Barrier(threading.Barrier) - removed:
class SemLock(AbstractContextManager[bool]) - removed:
constructor Barrier(parties: int, action: Callable[..., Any] | None=…, timeout: float | None=…, *ctx: BaseContext) -> None - removed:
method SemLock.acquire(block: bool=…, timeout: float | None=…) -> bool - removed:
method SemLock.release() -> None - changed:
class Event(AbstractContextManager[bool]) → class Event
- removed:
class ArticleInfo(NamedTuple) - removed:
class GroupInfo(NamedTuple) - removed:
field ArticleInfo.lines: list[bytes] - removed:
field ArticleInfo.message_id: str - removed:
field ArticleInfo.number: int - removed:
field GroupInfo.first: str - removed:
field GroupInfo.flag: str - removed:
field GroupInfo.group: str - removed:
field GroupInfo.last: str - removed:
variable NNTP_PORT: int - removed:
variable NNTP_SSL_PORT: int - changed:
class NNTP(_NNTPBase) → class NNTP - changed:
class NNTP_SSL(_NNTPBase) → class NNTP_SSL(NNTP) - changed:
field NNTP_SSL.sock: socket.socket → field NNTP_SSL.sock: ssl.SSLSocket - added:
field NNTP.authenticated: bool - added:
field NNTP.debugging: int - added:
field NNTP.encoding: str - added:
field NNTP.errors: str - added:
field NNTP.file: IO[bytes] - added:
field NNTP.host: str - added:
field NNTP.nntp_implementation: str - added:
field NNTP.nntp_version: int - added:
field NNTP.readermode_afterauth: bool - added:
field NNTP.tls_on: bool - added:
field NNTP.welcome: str - added:
field NNTP_SSL.ssl_context: ssl.SSLContext | None - added:
method NNTP.article(message_spec: Any=…, *, file: _File=…) -> tuple[str, ArticleInfo] - added:
method NNTP.body(message_spec: Any=…, *, file: _File=…) -> tuple[str, ArticleInfo] - added:
method NNTP.capabilities() -> tuple[str, dict[str, _list[str]]] - added:
method NNTP.date() -> tuple[str, datetime.datetime] - added:
method NNTP.debug(level: int) -> None - added:
method NNTP.description(group: str) -> str - added:
method NNTP.descriptions(group_pattern: str) -> tuple[str, dict[str, str]] - added:
method NNTP.getcapabilities() -> dict[str, _list[str]] - added:
method NNTP.getwelcome() -> str - added:
method NNTP.group(name: str) -> tuple[str, int, int, int, str] - added:
method NNTP.head(message_spec: Any=…, *, file: _File=…) -> tuple[str, ArticleInfo] - added:
method NNTP.help(*, file: _File=…) -> tuple[str, _list[str]] - added:
method NNTP.ihave(message_id: Any, data: bytes | Iterable[bytes]) -> str - added:
method NNTP.last() -> tuple[str, int, str] - added:
method NNTP.list(group_pattern: str | None=…, *, file: _File=…) -> tuple[str, _list[str]] - added:
method NNTP.login(user: str | None=…, password: str | None=…, usenetrc: bool=…) -> None - added:
method NNTP.newgroups(date: datetime.date | datetime.datetime, *, file: _File=…) -> tuple[str, _list[str]] - added:
method NNTP.newnews(group: str, date: datetime.date | datetime.datetime, *, file: _File=…) -> tuple[str, _list[str]] - added:
method NNTP.next() -> tuple[str, int, str] - added:
method NNTP.over(message_spec: None | str | _list[Any] | tuple[Any, ...], *, file: _File=…) -> tuple[str, _list[tuple[int, dict[str, str]]]] - added:
method NNTP.post(data: bytes | Iterable[bytes]) -> str - added:
method NNTP.quit() -> str - added:
method NNTP.set_debuglevel(level: int) -> None - added:
method NNTP.slave() -> str - added:
method NNTP.starttls(context: ssl.SSLContext | None=…) -> None - added:
method NNTP.stat(message_spec: Any=…) -> tuple[str, int, str] - added:
method NNTP.xgtitle(group: str, *, file: _File=…) -> tuple[str, _list[tuple[str, str]]] - added:
method NNTP.xhdr(hdr: str, str: Any, *, file: _File=…) -> tuple[str, _list[str]] - added:
method NNTP.xover(start: int, end: int, *, file: _File=…) -> tuple[str, _list[tuple[int, dict[str, str]]]] - added:
method NNTP.xpath(id: Any) -> tuple[str, str]
- added:
export abspath - added:
export basename - added:
export commonpath - added:
export commonprefix - added:
export curdir - added:
export defpath - added:
export devnull - added:
export dirname - added:
export exists - added:
export expanduser - added:
export expandvars - added:
export extsep - added:
export getatime - added:
export getctime - added:
export getmtime - added:
export getsize - added:
export isabs - added:
export isdir - added:
export isfile - added:
export islink - added:
export ismount - added:
export lexists - added:
export normcase - added:
export normpath - added:
export pardir - added:
export pathsep - added:
export relpath - added:
export samefile - added:
export sameopenfile - added:
export samestat - added:
export sep - added:
export split - added:
export splitdrive - added:
export splitext - added:
export supports_unicode_filenames
- changed:
variable EXTENDED_ARG: int → variable EXTENDED_ARG: Literal[144] - changed:
variable HAVE_ARGUMENT: int → variable HAVE_ARGUMENT: Literal[90] - changed:
variable cmp_op: Sequence[str] → variable cmp_op: tuple[Literal['<'], Literal['<='], Literal['=='], Literal['!='], Literal['>'], Literal['>='], Literal['in'], Literal['not in'], Literal['is'], Literal['is not'], Literal['exception match'], Literal['BAD']] - added:
variable cmp_op: tuple[Literal['<'], Literal['<='], Literal['=='], Literal['!='], Literal['>'], Literal['>=']]
- removed:
class AmbiguousOptionError(BadOptionError) - removed:
constructor AmbiguousOptionError(opt_str: str, possibilities: Sequence[str]) -> None - removed:
field AmbiguousOptionError.possibilities: Iterable[str] - removed:
function check_builtin(option: Option, opt: Any, value: str) -> Any - removed:
variable NO_DEFAULT: tuple[str, ...] - changed:
constructor OptionContainer(option_class: Type[Option], conflict_handler: Any, description: Any) -> None → constructor OptionContainer(option_class: type[Option], conflict_handler: Any, description: Any) -> None - changed:
constructor OptionParser(usage: str | None=…, option_list: Iterable[Option] | None=…, option_class: Type[Option]=…, version: str | None=…, conflict_handler: str=…, description: str | None=…, formatter: HelpFormatter | None=…, add_help_option: bool=…, prog: str | None=…, epilog: str | None=…) -> None → constructor OptionParser(usage: str | None=…, option_list: Iterable[Option] | None=…, option_class: type[Option]=…, version: str | None=…, conflict_handler: str=…, description: str | None=…, formatter: HelpFormatter | None=…, add_help_option: bool=…, prog: str | None=…, epilog: str | None=…) -> None - changed:
field OptionContainer.option_class: Type[Option] → field OptionContainer.option_class: type[Option] - changed:
function check_choice(option: Option, opt: Any, value: str) -> Any → function check_choice(option: Option, opt: Any, value: str) -> str
- removed:
class statvfs_result(structseq[int], tuple[int, int, int, int, int, int, int, int, int, int]) - removed:
field DirEntry.name: AnyStr - removed:
field DirEntry.path: AnyStr - changed:
class statvfs_result(structseq[int], tuple[int, int, int, int, int, int, int, int, int, int, int]) → class statvfs_result(structseq[int], _StatVfsTuple) - changed:
function listdir(path: str | None=…) -> list[str] | (path: bytes) -> list[bytes] | (path: int) -> list[str] | (path: PathLike[str]) -> list[str] → function listdir(path: StrPath | None=…) -> list[str] | (path: BytesPath) -> list[bytes] | (path: int) -> list[str] - changed:
function scandir(path: None=…) -> _ScandirIterator[str] | (path: int) -> _ScandirIterator[str] | (path: AnyStr | PathLike[AnyStr]) -> _ScandirIterator[AnyStr] | (path: None=…) -> _ScandirIterator[str] | (path: AnyStr | PathLike[AnyStr]) -> _ScandirIterator[AnyStr] → function scandir(path: None=…) -> _ScandirIterator[str] | (path: int) -> _ScandirIterator[str] | (path: AnyStr | PathLike[AnyStr]) -> _ScandirIterator[AnyStr] - added:
function copy_file_range(src: int, dst: int, count: int, offset_src: int | None=…, offset_dst: int | None=…) -> int - added:
function get_handle_inheritable(__handle: int) -> bool - added:
function pidfd_open(pid: int, flags: int=…) -> int - added:
function set_handle_inheritable(__handle: int, __inheritable: bool) -> None - added:
property DirEntry.name -> AnyStr - added:
property DirEntry.path -> AnyStr
- removed:
field PurePath.anchor: str - removed:
field PurePath.drive: str - removed:
field PurePath.name: str - removed:
field PurePath.parts: tuple[str, ...] - removed:
field PurePath.root: str - removed:
field PurePath.stem: str - removed:
field PurePath.suffix: str - removed:
field PurePath.suffixes: list[str] - removed:
property PurePath.parent -> _P - removed:
property PurePath.parents -> Sequence[_P] - changed:
method Path.absolute() -> _P → method Path.absolute() -> Self - changed:
method Path.expanduser() -> _P → method Path.expanduser() -> Self - changed:
method Path.glob(pattern: str) -> Generator[_P, None, None] → method Path.glob(pattern: str) -> Generator[Self, None, None] - changed:
method Path.iterdir() -> Generator[_P, None, None] → method Path.iterdir() -> Generator[Self, None, None] - changed:
method Path.readlink() -> _P → method Path.readlink() -> Self - changed:
method Path.resolve(strict: bool=…) -> _P → method Path.resolve(strict: bool=…) -> Self - changed:
method Path.rglob(pattern: str) -> Generator[_P, None, None] → method Path.rglob(pattern: str) -> Generator[Self, None, None] - changed:
method PurePath.joinpath(*other: StrPath) -> _P → method PurePath.joinpath(*other: StrPath) -> Self - changed:
method PurePath.relative_to(*other: StrPath) -> _P → method PurePath.relative_to(*other: StrPath) -> Self - changed:
method PurePath.with_name(name: str) -> _P → method PurePath.with_name(name: str) -> Self - changed:
method PurePath.with_stem(stem: str) -> _P → method PurePath.with_stem(stem: str) -> Self - changed:
method PurePath.with_suffix(suffix: str) -> _P → method PurePath.with_suffix(suffix: str) -> Self - changed:
static method Path.cwd() -> _P → static method Path.cwd() -> Self - changed:
static method Path.home() -> _P → static method Path.home() -> Self - added:
property PurePath.anchor -> str - added:
property PurePath.drive -> str - added:
property PurePath.name -> str - added:
property PurePath.parent -> Self - added:
property PurePath.parents -> Sequence[Self] - added:
property PurePath.parts -> tuple[str, ...] - added:
property PurePath.root -> str - added:
property PurePath.stem -> str - added:
property PurePath.suffix -> str - added:
property PurePath.suffixes -> list[str]
- removed:
class Restart(Exception) - removed:
function find_function(funcname: str, filename: str) -> tuple[str, str, int] | None - removed:
function getsourcelines(obj: _SourceObjectType) -> tuple[list[str], int] - removed:
function lasti2lineno(code: CodeType, lasti: int) -> int - removed:
function main() -> None - removed:
variable line_prefix: str - changed:
function runcall(func: Callable[..., _T], *args: Any, **kwds: Any) -> _T | None → function runcall(func: Callable[_P, _T], *args: _P.args, **kwds: _P.kwargs) -> _T | None
- removed:
class PickleBuffer - removed:
constructor PickleBuffer(buffer: Any) -> None - removed:
function decode_long(data: bytes) -> int - removed:
function encode_long(x: int) -> bytes - removed:
method PickleBuffer.raw() -> memoryview - removed:
method PickleBuffer.release() -> None - removed:
variable BYTEARRAY8: bytes - removed:
variable NEXT_BUFFER: bytes - removed:
variable READONLY_BUFFER: bytes - removed:
variable bytes_types: tuple[Type[Any], ...]
- removed:
class ArgumentDescriptor - removed:
class OpcodeInfo - removed:
class StackObject - removed:
constructor ArgumentDescriptor(name: str, n: int, reader: _Reader, doc: str) -> None - removed:
constructor OpcodeInfo(name: str, code: str, arg: ArgumentDescriptor | None, stack_before: list[StackObject], stack_after: list[StackObject], proto: int, doc: str) -> None - removed:
constructor StackObject(name: str, obtype: Type[Any] | tuple[Type[Any], ...], doc: str) -> None - removed:
field ArgumentDescriptor.doc: str - removed:
field ArgumentDescriptor.n: int - removed:
field ArgumentDescriptor.name: str - removed:
field ArgumentDescriptor.reader: _Reader - removed:
field OpcodeInfo.arg: ArgumentDescriptor | None - removed:
field OpcodeInfo.code: str - removed:
field OpcodeInfo.doc: str - removed:
field OpcodeInfo.name: str - removed:
field OpcodeInfo.proto: int - removed:
field OpcodeInfo.stack_after: list[StackObject] - removed:
field OpcodeInfo.stack_before: list[StackObject] - removed:
field StackObject.doc: str - removed:
field StackObject.name: str - removed:
field StackObject.obtype: Type[Any] | tuple[Type[Any], ...] - removed:
function read_bytes1(f: IO[bytes]) -> bytes - removed:
function read_bytes4(f: IO[bytes]) -> bytes - removed:
function read_bytes8(f: IO[bytes]) -> bytes - removed:
function read_decimalnl_long(f: IO[bytes]) -> int - removed:
function read_decimalnl_short(f: IO[bytes]) -> int - removed:
function read_float8(f: IO[bytes]) -> float - removed:
function read_floatnl(f: IO[bytes]) -> float - removed:
function read_int4(f: IO[bytes]) -> int - removed:
function read_long1(f: IO[bytes]) -> int - removed:
function read_long4(f: IO[bytes]) -> int - removed:
function read_string1(f: IO[bytes]) -> str - removed:
function read_string4(f: IO[bytes]) -> str - removed:
function read_stringnl(f: IO[bytes], decode: bool=…, stripquotes: bool=…) -> bytes | str - removed:
function read_stringnl_noescape(f: IO[bytes]) -> str - removed:
function read_stringnl_noescape_pair(f: IO[bytes]) -> str - removed:
function read_uint1(f: IO[bytes]) -> int - removed:
function read_uint2(f: IO[bytes]) -> int - removed:
function read_uint4(f: IO[bytes]) -> int - removed:
function read_uint8(f: IO[bytes]) -> int - removed:
function read_unicodestring1(f: IO[bytes]) -> str - removed:
function read_unicodestring4(f: IO[bytes]) -> str - removed:
function read_unicodestring8(f: IO[bytes]) -> str - removed:
function read_unicodestringnl(f: IO[bytes]) -> str - removed:
variable TAKEN_FROM_ARGUMENT1: int - removed:
variable TAKEN_FROM_ARGUMENT4: int - removed:
variable TAKEN_FROM_ARGUMENT4U: int - removed:
variable TAKEN_FROM_ARGUMENT8U: int - removed:
variable UP_TO_NEWLINE: int - removed:
variable anyobject: StackObject - removed:
variable bytes1: ArgumentDescriptor - removed:
variable bytes4: ArgumentDescriptor - removed:
variable bytes8: ArgumentDescriptor - removed:
variable bytes_types: tuple[Type[Any], ...] - removed:
variable decimalnl_long: ArgumentDescriptor - removed:
variable decimalnl_short: ArgumentDescriptor - removed:
variable float8: ArgumentDescriptor - removed:
variable floatnl: ArgumentDescriptor - removed:
variable int4: ArgumentDescriptor - removed:
variable long1: ArgumentDescriptor - removed:
variable long4: ArgumentDescriptor - removed:
variable markobject: StackObject - removed:
variable opcodes: list[OpcodeInfo] - removed:
variable pybool: StackObject - removed:
variable pybytes: StackObject - removed:
variable pybytes_or_str: StackObject - removed:
variable pydict: StackObject - removed:
variable pyfloat: StackObject - removed:
variable pyfrozenset: StackObject - removed:
variable pyint: StackObject - removed:
variable pyinteger_or_bool: StackObject - removed:
variable pylist: StackObject - removed:
variable pylong: StackObject - removed:
variable pynone: StackObject - removed:
variable pyset: StackObject - removed:
variable pystring: StackObject - removed:
variable pytuple: StackObject - removed:
variable pyunicode: StackObject - removed:
variable stackslice: StackObject - removed:
variable string1: ArgumentDescriptor - removed:
variable string4: ArgumentDescriptor - removed:
variable stringnl: ArgumentDescriptor - removed:
variable stringnl_noescape: ArgumentDescriptor - removed:
variable stringnl_noescape_pair: ArgumentDescriptor - removed:
variable uint1: ArgumentDescriptor - removed:
variable uint2: ArgumentDescriptor - removed:
variable uint4: ArgumentDescriptor - removed:
variable uint8: ArgumentDescriptor - removed:
variable unicodestring1: ArgumentDescriptor - removed:
variable unicodestring4: ArgumentDescriptor - removed:
variable unicodestring8: ArgumentDescriptor - removed:
variable unicodestringnl: ArgumentDescriptor
- removed:
function quote(s: str) -> str
- removed:
function resolve_name(name: str) -> Any - changed:
function extend_path(path: list[str], name: str) -> list[str] → function extend_path(path: _PathT, name: str) -> _PathT - changed:
function get_loader(module_or_name: str) -> Loader → function get_loader(module_or_name: str) -> Loader | None
- removed:
class PlistFormat(Enum) - removed:
class UID - removed:
constructor UID(data: int) -> None - removed:
field PlistFormat.FMT_BINARY: int - removed:
field PlistFormat.FMT_XML: int - removed:
field UID.data: int - changed:
class Dict(dict[str, Any]) → class Dict(_InternalDict) - changed:
function load(fp: IO[bytes], *, fmt: PlistFormat | None=…, use_builtin_types: bool=…, dict_type: Type[MutableMapping[str, Any]]=…) -> Any → function load(fp: IO[bytes], *, fmt: PlistFormat | None=…, use_builtin_types: bool=…, dict_type: type[MutableMapping[str, Any]]=…) -> Any - changed:
function loads(value: bytes, *, fmt: PlistFormat | None=…, use_builtin_types: bool=…, dict_type: Type[MutableMapping[str, Any]]=…) -> Any → function loads(value: bytes, *, fmt: PlistFormat | None=…, use_builtin_types: bool=…, dict_type: type[MutableMapping[str, Any]]=…) -> Any - added:
class Plist(_InternalDict) - added:
constructor Dict(**kwargs: Any) -> None - added:
constructor Plist(**kwargs: Any) -> None - added:
method Plist.write(pathOrFile: str | IO[bytes]) -> None - added:
static method Plist.fromFile(pathOrFile: str | IO[bytes]) -> Self
- removed:
variable CR: bytes - removed:
variable CRLF: bytes - removed:
variable LF: bytes - removed:
variable POP3_PORT: int - removed:
variable POP3_SSL_PORT: int - changed:
method POP3_SSL.stls(context: Any=…, keyfile: Any=…, certfile: Any=…) -> bytes → method POP3_SSL.stls(context: Any=…, keyfile: Any=…, certfile: Any=…) -> NoReturn
- added:
export commonprefix - added:
export exists - added:
export getatime - added:
export getctime - added:
export getmtime - added:
export getsize - added:
export isdir - added:
export isfile - added:
export samefile - added:
export sameopenfile - added:
export samestat
- removed:
function pp(object: object, stream: IO[str] | None=…, indent: int=…, width: int=…, depth: int | None=…, *, compact: bool=…, sort_dicts: bool=…) -> None - changed:
method PrettyPrinter.format(object: object, context: dict[int, Any], maxlevels: int, level: int) -> tuple[str, bool, bool] → method PrettyPrinter.format(object: object, context: dict[int, int], maxlevels: int, level: int) -> tuple[str, bool, bool]
- changed:
method Profile.run(cmd: str) -> _SelfT → method Profile.run(cmd: str) -> Self - changed:
method Profile.runcall(__func: Callable[..., _T], *args: Any, **kw: Any) -> _T → method Profile.runcall(__func: Callable[_P, _T], *args: _P.args, **kw: _P.kwargs) -> _T - changed:
method Profile.runctx(cmd: str, globals: dict[str, Any], locals: dict[str, Any]) -> _SelfT → method Profile.runctx(cmd: str, globals: dict[str, Any], locals: dict[str, Any]) -> Self
- removed:
class SortKey(str, Enum) - removed:
field SortKey.CALLS: str - removed:
field SortKey.CUMULATIVE: str - removed:
field SortKey.FILENAME: str - removed:
field SortKey.LINE: str - removed:
field SortKey.NAME: str - removed:
field SortKey.NFL: str - removed:
field SortKey.PCALLS: str - removed:
field SortKey.STDNAME: str - removed:
field SortKey.TIME: str - changed:
constructor Stats(__arg: None | str | Profile | _cProfile=…, *args: None | str | Profile | _cProfile | _T, stream: IO[Any] | None=…) -> None → constructor Stats(__arg: None | str | Profile | _cProfile=…, *args: None | str | Profile | _cProfile | Self, stream: IO[Any] | None=…) -> None - changed:
field Stats.sort_arg_dict_default: dict[str, tuple[Any, str]] → field Stats.sort_arg_dict_default: _SortArgDict - changed:
method Stats.add(*arg_list: None | str | Profile | _cProfile | _T) -> _T → method Stats.add(*arg_list: None | str | Profile | _cProfile | Self) -> Self - changed:
method Stats.get_sort_arg_defs() -> dict[str, tuple[tuple[tuple[int, int], ...], str]] → method Stats.get_sort_arg_defs() -> _SortArgDict - changed:
method Stats.print_callees(*amount: _Selector) -> _T → method Stats.print_callees(*amount: _Selector) -> Self - changed:
method Stats.print_callers(*amount: _Selector) -> _T → method Stats.print_callers(*amount: _Selector) -> Self - changed:
method Stats.print_stats(*amount: _Selector) -> _T → method Stats.print_stats(*amount: _Selector) -> Self - changed:
method Stats.reverse_order() -> _T → method Stats.reverse_order() -> Self - changed:
method Stats.sort_stats(field: int) -> _T | (*field: str) -> _T → method Stats.sort_stats(field: Literal[-1, 0, 1, 2]) -> Self | (*field: str) -> Self - changed:
method Stats.strip_dirs() -> _T → method Stats.strip_dirs() -> Self - added:
method Stats.get_stats_profile() -> StatsProfile
- removed:
class PycInvalidationMode(enum.Enum) - removed:
field PycInvalidationMode.CHECKED_HASH: int - removed:
field PycInvalidationMode.TIMESTAMP: int - removed:
field PycInvalidationMode.UNCHECKED_HASH: int - changed:
constructor PyCompileError(exc_type: Type[BaseException], exc_value: BaseException, file: str, msg: str=…) -> None → constructor PyCompileError(exc_type: type[BaseException], exc_value: BaseException, file: str, msg: str=…) -> None
- added:
field Class.children: dict[str, Class | Function] - added:
field Class.end_lineno: int | None - added:
field Class.parent: Class | None - added:
field Function.children: dict[str, Class | Function] - added:
field Function.end_lineno: int | None - added:
field Function.is_async: bool - added:
field Function.parent: Function | Class | None
- removed:
class Doc - removed:
class ErrorDuringImport(Exception) - removed:
class HTMLDoc(Doc) - removed:
class HTMLRepr(Repr) - removed:
class Helper - removed:
class ModuleScanner - removed:
class TextDoc(Doc) - removed:
class TextRepr(Repr) - removed:
constructor ErrorDuringImport(filename: str, exc_info: _Exc_Info) -> None - removed:
constructor HTMLRepr() -> None - removed:
constructor Helper(input: IO[str] | None=…, output: IO[str] | None=…) -> None - removed:
constructor TextRepr() -> None - removed:
field Doc.PYTHONDOCS: str - removed:
field ErrorDuringImport.exc: Type[BaseException] | None - removed:
field ErrorDuringImport.filename: str - removed:
field ErrorDuringImport.tb: TracebackType | None - removed:
field ErrorDuringImport.value: BaseException | None - removed:
field HTMLDoc.escape: Callable[[str], str] - removed:
field HTMLDoc.repr: Callable[[object], str] - removed:
field HTMLRepr.maxdict: int - removed:
field HTMLRepr.maxlist: int - removed:
field HTMLRepr.maxother: int - removed:
field HTMLRepr.maxstring: int - removed:
field HTMLRepr.maxtuple: int - removed:
field Helper.input: IO[str] - removed:
field Helper.keywords: dict[str, str | tuple[str, str]] - removed:
field Helper.output: IO[str] - removed:
field Helper.symbols: dict[str, str] - removed:
field Helper.topics: dict[str, str | tuple[str, ...]] - removed:
field ModuleScanner.quit: bool - removed:
field TextDoc.repr: Callable[[object], str] - removed:
field TextRepr.maxdict: int - removed:
field TextRepr.maxlist: int - removed:
field TextRepr.maxother: int - removed:
field TextRepr.maxstring: int - removed:
field TextRepr.maxtuple: int - removed:
function allmethods(cl: type) -> MutableMapping[str, MethodType] - removed:
function apropos(key: str) -> None - removed:
function classify_class_attrs(object: object) -> list[tuple[str, str, type, str]] - removed:
function classname(object: object, modname: str) -> str - removed:
function cli() -> None - removed:
function cram(text: str, maxlen: int) -> str - removed:
function describe(thing: Any) -> str - removed:
function doc(thing: str | object, title: str=…, forceload: bool=…, output: SupportsWrite[str] | None=…) -> None - removed:
function getdoc(object: object) -> str - removed:
function getpager() -> Callable[[str], None] - removed:
function importfile(path: str) -> ModuleType - removed:
function isdata(object: object) -> bool - removed:
function ispackage(path: str) -> bool - removed:
function ispath(x: Any) -> bool - removed:
function locate(path: str, forceload: bool=…) -> object - removed:
function pager(text: str) -> None - removed:
function pathdirs() -> list[str] - removed:
function pipepager(text: str, cmd: str) -> None - removed:
function plain(text: str) -> str - removed:
function plainpager(text: str) -> None - removed:
function render_doc(thing: str | object, title: str=…, forceload: bool=…, renderer: Doc | None=…) -> str - removed:
function replace(text: AnyStr, *pairs: AnyStr) -> AnyStr - removed:
function resolve(thing: str | object, forceload: bool=…) -> tuple[object, str] | None - removed:
function safeimport(path: str, forceload: bool=…, cache: MutableMapping[str, ModuleType]=…) -> ModuleType - removed:
function source_synopsis(file: IO[AnyStr]) -> AnyStr | None - removed:
function splitdoc(doc: AnyStr) -> tuple[AnyStr, AnyStr] - removed:
function stripid(text: str) -> str - removed:
function synopsis(filename: str, cache: MutableMapping[str, tuple[int, str]]=…) -> str | None - removed:
function tempfilepager(text: str, cmd: str) -> None - removed:
function ttypager(text: str) -> None - removed:
function visiblename(name: str, all: Container[str] | None=…, obj: object | None=…) -> bool - removed:
function writedoc(thing: str | object, forceload: bool=…) -> None - removed:
function writedocs(dir: str, pkgpath: str=…, done: Any | None=…) -> None - removed:
method Doc.docclass(object: object, name: str | None=…, *args: Any) -> str - removed:
method Doc.docdata(object: object, name: str | None=…, *args: Any) -> str - removed:
method Doc.docmodule(object: object, name: str | None=…, *args: Any) -> str - removed:
method Doc.docother(object: object, name: str | None=…, *args: Any) -> str - removed:
method Doc.docproperty(object: object, name: str | None=…, *args: Any) -> str - removed:
method Doc.docroutine(object: object, name: str | None=…, *args: Any) -> str - removed:
method Doc.document(object: object, name: str | None=…, *args: Any) -> str - removed:
method Doc.fail(object: object, name: str | None=…, *args: Any) -> NoReturn - removed:
method Doc.getdocloc(object: object, basedir: str=…) -> str | None - removed:
method HTMLDoc.bigsection(title: str, *args: Any) -> str - removed:
method HTMLDoc.classlink(object: object, modname: str) -> str - removed:
method HTMLDoc.docclass(object: object, name: str | None=…, mod: str | None=…, funcs: Mapping[str, str]=…, classes: Mapping[str, str]=…, *ignored: Any) -> str - removed:
method HTMLDoc.docdata(object: object, name: str | None=…, mod: Any | None=…, cl: Any | None=…) -> str - removed:
method HTMLDoc.docmodule(object: object, name: str | None=…, mod: str | None=…, *ignored: Any) -> str - removed:
method HTMLDoc.docother(object: object, name: str | None=…, mod: Any | None=…, *ignored: Any) -> str - removed:
method HTMLDoc.docproperty(object: object, name: str | None=…, mod: str | None=…, cl: Any | None=…) -> str - removed:
method HTMLDoc.docroutine(object: object, name: str | None=…, mod: str | None=…, funcs: Mapping[str, str]=…, classes: Mapping[str, str]=…, methods: Mapping[str, str]=…, cl: type | None=…) -> str - removed:
method HTMLDoc.filelink(url: str, path: str) -> str - removed:
method HTMLDoc.formattree(tree: list[tuple[type, tuple[type, ...]] | list[Any]], modname: str, parent: type | None=…) -> str - removed:
method HTMLDoc.formatvalue(object: object) -> str - removed:
method HTMLDoc.grey(text: str) -> str - removed:
method HTMLDoc.heading(title: str, fgcol: str, bgcol: str, extras: str=…) -> str - removed:
method HTMLDoc.index(dir: str, shadowed: MutableMapping[str, bool] | None=…) -> str - removed:
method HTMLDoc.markup(text: str, escape: Callable[[str], str] | None=…, funcs: Mapping[str, str]=…, classes: Mapping[str, str]=…, methods: Mapping[str, str]=…) -> str - removed:
method HTMLDoc.modpkglink(modpkginfo: tuple[str, str, bool, bool]) -> str - removed:
method HTMLDoc.modulelink(object: object) -> str - removed:
method HTMLDoc.multicolumn(list: list[Any], format: Callable[[Any], str], cols: int=…) -> str - removed:
method HTMLDoc.namelink(name: str, *dicts: MutableMapping[str, str]) -> str - removed:
method HTMLDoc.page(title: str, contents: str) -> str - removed:
method HTMLDoc.preformat(text: str) -> str - removed:
method HTMLDoc.section(title: str, fgcol: str, bgcol: str, contents: str, width: int=…, prelude: str=…, marginalia: str | None=…, gap: str=…) -> str - removed:
method HTMLRepr.escape(text: str) -> str - removed:
method HTMLRepr.repr(object: object) -> str - removed:
method HTMLRepr.repr1(x: object, level: complex) -> str - removed:
method HTMLRepr.repr_instance(x: object, level: complex) -> str - removed:
method HTMLRepr.repr_str(x: str, level: complex) -> str - removed:
method HTMLRepr.repr_string(x: str, level: complex) -> str - removed:
method HTMLRepr.repr_unicode(x: AnyStr, level: complex) -> str - removed:
method Helper.getline(prompt: str) -> str - removed:
method Helper.help(request: Any) -> None - removed:
method Helper.interact() -> None - removed:
method Helper.intro() -> None - removed:
method Helper.list(items: _list[str], columns: int=…, width: int=…) -> None - removed:
method Helper.listkeywords() -> None - removed:
method Helper.listmodules(key: str=…) -> None - removed:
method Helper.listsymbols() -> None - removed:
method Helper.listtopics() -> None - removed:
method Helper.showsymbol(symbol: str) -> None - removed:
method Helper.showtopic(topic: str, more_xrefs: str=…) -> None - removed:
method ModuleScanner.run(callback: Callable[[str | None, str, str], None], key: Any | None=…, completer: Callable[[], None] | None=…, onerror: Callable[[str], None] | None=…) -> None - removed:
method TextDoc.bold(text: str) -> str - removed:
method TextDoc.docclass(object: object, name: str | None=…, mod: str | None=…, *ignored: Any) -> str - removed:
method TextDoc.docdata(object: object, name: str | None=…, mod: str | None=…, cl: Any | None=…) -> str - removed:
method TextDoc.docmodule(object: object, name: str | None=…, mod: Any | None=…) -> str - removed:
method TextDoc.docother(object: object, name: str | None=…, mod: str | None=…, parent: str | None=…, maxlen: int | None=…, doc: Any | None=…) -> str - removed:
method TextDoc.docproperty(object: object, name: str | None=…, mod: Any | None=…, cl: Any | None=…) -> str - removed:
method TextDoc.docroutine(object: object, name: str | None=…, mod: str | None=…, cl: Any | None=…) -> str - removed:
method TextDoc.formattree(tree: list[tuple[type, tuple[type, ...]] | list[Any]], modname: str, parent: type | None=…, prefix: str=…) -> str - removed:
method TextDoc.formatvalue(object: object) -> str - removed:
method TextDoc.indent(text: str, prefix: str=…) -> str - removed:
method TextDoc.section(title: str, contents: str) -> str - removed:
method TextRepr.repr1(x: object, level: complex) -> str - removed:
method TextRepr.repr_instance(x: object, level: complex) -> str - removed:
method TextRepr.repr_str(x: str, level: complex) -> str - removed:
method TextRepr.repr_string(x: str, level: complex) -> str - removed:
variable html: HTMLDoc - removed:
variable text: TextDoc
- removed:
class SimpleQueue(Generic[_T]) - removed:
constructor SimpleQueue() -> None - removed:
method SimpleQueue.empty() -> bool - removed:
method SimpleQueue.get(block: bool=…, timeout: float | None=…) -> _T - removed:
method SimpleQueue.get_nowait() -> _T - removed:
method SimpleQueue.put(item: _T, block: bool=…, timeout: float | None=…) -> None - removed:
method SimpleQueue.put_nowait(item: _T) -> None - removed:
method SimpleQueue.qsize() -> int - added:
field LifoQueue.queue: list[_T] - added:
field PriorityQueue.queue: list[_T]
- removed:
function betavariate(alpha: float, beta: float) -> float - removed:
function choice(seq: SupportsLenAndGetItem[_T]) -> _T - removed:
function choices(population: SupportsLenAndGetItem[_T], weights: Sequence[float] | None=…, *, cum_weights: Sequence[float] | None=…, k: int=…) -> list[_T] - removed:
function expovariate(lambd: float) -> float - removed:
function gammavariate(alpha: float, beta: float) -> float - removed:
function gauss(mu: float, sigma: float) -> float - removed:
function getrandbits(__k: int) -> int - removed:
function getstate() -> object - removed:
function lognormvariate(mu: float, sigma: float) -> float - removed:
function normalvariate(mu: float, sigma: float) -> float - removed:
function paretovariate(alpha: float) -> float - removed:
function randbytes(n: int) -> bytes - removed:
function randint(a: int, b: int) -> int - removed:
function random() -> float - removed:
function randrange(start: int, stop: None | int=…, step: int=…) -> int - removed:
function sample(population: Sequence[_T] | AbstractSet[_T], k: int) -> list[_T] - removed:
function seed(a: Any=…, version: int=…) -> None - removed:
function setstate(state: object) -> None - removed:
function shuffle(x: MutableSequence[Any], random: Callable[[], float] | None=…) -> None - removed:
function triangular(low: float=…, high: float=…, mode: float | None=…) -> float - removed:
function uniform(a: float, b: float) -> float - removed:
function vonmisesvariate(mu: float, kappa: float) -> float - removed:
function weibullvariate(alpha: float, beta: float) -> float - added:
variable betavariate - added:
variable choice - added:
variable choices - added:
variable expovariate - added:
variable gammavariate - added:
variable gauss - added:
variable getrandbits - added:
variable getstate - added:
variable lognormvariate - added:
variable normalvariate - added:
variable paretovariate - added:
variable randint - added:
variable random - added:
variable randrange - added:
variable sample - added:
variable seed - added:
variable setstate - added:
variable shuffle - added:
variable triangular - added:
variable uniform - added:
variable vonmisesvariate - added:
variable weibullvariate
- removed:
class RegexFlag(enum.IntFlag) - removed:
field RegexFlag.A: int - removed:
field RegexFlag.ASCII: int - removed:
field RegexFlag.DEBUG: int - removed:
field RegexFlag.DOTALL: int - removed:
field RegexFlag.I: int - removed:
field RegexFlag.IGNORECASE: int - removed:
field RegexFlag.L: int - removed:
field RegexFlag.LOCALE: int - removed:
field RegexFlag.M: int - removed:
field RegexFlag.MULTILINE: int - removed:
field RegexFlag.S: int - removed:
field RegexFlag.T: int - removed:
field RegexFlag.TEMPLATE: int - removed:
field RegexFlag.U: int - removed:
field RegexFlag.UNICODE: int - removed:
field RegexFlag.VERBOSE: int - removed:
field RegexFlag.X: int - removed:
variable DEBUG - removed:
variable T - removed:
variable TEMPLATE - added:
export error
- changed:
function get_completer() -> _CompleterT → function get_completer() -> _Completer | None - changed:
function set_completer(__function: _CompleterT=…) -> None → function set_completer(__function: _Completer | None=…) -> None - changed:
function set_completion_display_matches_hook(__function: _CompDispT=…) -> None → function set_completion_display_matches_hook(__function: _CompDisp | None=…) -> None - changed:
function set_pre_input_hook(__function: Callable[[], None] | None=…) -> None → function set_pre_input_hook(__function: Callable[[], object] | None=…) -> None - changed:
function set_startup_hook(__function: Callable[[], None] | None=…) -> None → function set_startup_hook(__function: Callable[[], object] | None=…) -> None
- removed:
variable aRepr: Repr
- added:
method Completer.attr_matches(text: str) -> list[str] - added:
method Completer.global_matches(text: str) -> list[str]
- removed:
class Event(NamedTuple) - removed:
field Event.action: Callable[..., Any] - removed:
field Event.argument: tuple[Any, ...] - removed:
field Event.kwargs: dict[str, Any] - removed:
field Event.priority: Any - removed:
field Event.time: float - changed:
constructor scheduler(timefunc: Callable[[], float]=…, delayfunc: Callable[[float], None]=…) -> None → constructor scheduler(timefunc: Callable[[], float]=…, delayfunc: Callable[[float], object]=…) -> None - added:
field scheduler.delayfunc: Callable[[float], object] - added:
field scheduler.timefunc: Callable[[], float]
- added:
export SystemRandom - added:
export compare_digest
- changed:
constructor DbfilenameShelf(filename: str, flag: str=…, protocol: int | None=…, writeback: bool=…) -> None → constructor DbfilenameShelf(filename: str, flag: _TFlags=…, protocol: int | None=…, writeback: bool=…) -> None - changed:
function open(filename: str, flag: str=…, protocol: int | None=…, writeback: bool=…) -> Shelf[object] → function open(filename: str, flag: _TFlags=…, protocol: int | None=…, writeback: bool=…) -> Shelf[object]
- removed:
function join(split_command: Iterable[str]) -> str - changed:
field shlex.infile: str → field shlex.infile: str | None - changed:
method shlex.push_source(newstream: Any, newfile: Any=…) -> None → method shlex.push_source(newstream: str | TextIO, newfile: str | None=…) -> None - added:
property shlex.punctuation_chars -> str
- removed:
class ReadError(OSError) - removed:
class RegistryError(Exception) - changed:
function chown(path: StrPath, user: str | int | None=…, group: str | int | None=…) -> None → function chown(path: StrOrBytesPath, user: str | int, group: None=…) -> None | (path: StrOrBytesPath, user: None=…, *, group: str | int) -> None | (path: StrOrBytesPath, user: None, group: str | int) -> None | (path: StrOrBytesPath, user: str | int, group: str | int) -> None - changed:
function copy(src: StrPath, dst: StrPath, *, follow_symlinks: bool=…) -> _PathReturn → function copy(src: StrPath, dst: StrPath, *, follow_symlinks: bool=…) -> _PathReturn | (src: BytesPath, dst: BytesPath, *, follow_symlinks: bool=…) -> _PathReturn - changed:
function copy2(src: StrPath, dst: StrPath, *, follow_symlinks: bool=…) -> _PathReturn → function copy2(src: StrPath, dst: StrPath, *, follow_symlinks: bool=…) -> _PathReturn | (src: BytesPath, dst: BytesPath, *, follow_symlinks: bool=…) -> _PathReturn - changed:
function copyfile(src: StrPath, dst: _PathT, *, follow_symlinks: bool=…) -> _PathT → function copyfile(src: StrOrBytesPath, dst: _StrOrBytesPathT, *, follow_symlinks: bool=…) -> _StrOrBytesPathT - changed:
function copymode(src: StrPath, dst: StrPath, *, follow_symlinks: bool=…) -> None → function copymode(src: StrOrBytesPath, dst: StrOrBytesPath, *, follow_symlinks: bool=…) -> None - changed:
function copystat(src: StrPath, dst: StrPath, *, follow_symlinks: bool=…) -> None → function copystat(src: StrOrBytesPath, dst: StrOrBytesPath, *, follow_symlinks: bool=…) -> None - changed:
function register_archive_format(name: str, function: Callable[..., Any], extra_args: Sequence[tuple[str, Any] | list[Any]] | None=…, description: str=…) -> None → function register_archive_format(name: str, function: Callable[..., object], extra_args: Sequence[tuple[str, Any] | list[Any]], description: str=…) -> None | (name: str, function: Callable[[str, str], object], extra_args: None=…, description: str=…) -> None - changed:
function register_unpack_format(name: str, extensions: list[str], function: Any, extra_args: Sequence[tuple[str, Any]] | None=…, description: str=…) -> None → function register_unpack_format(name: str, extensions: list[str], function: Callable[..., object], extra_args: Sequence[tuple[str, Any]], description: str=…) -> None | (name: str, extensions: list[str], function: Callable[[str, str], object], extra_args: None=…, description: str=…) -> None - changed:
function rmtree(path: bytes | StrPath, ignore_errors: bool=…, onerror: Callable[[Any, Any, Any], Any] | None=…) -> None → function rmtree(path: StrOrBytesPath, ignore_errors: bool=…, onerror: Callable[[Any, Any, Any], Any] | None=…) -> None - changed:
function which(cmd: StrPath, mode: int=…, path: StrPath | None=…) -> str | None | (cmd: bytes, mode: int=…, path: StrPath | None=…) -> bytes | None → function which(cmd: _StrPathT, mode: int=…, path: StrPath | None=…) -> str | _StrPathT | None | (cmd: bytes, mode: int=…, path: StrPath | None=…) -> bytes | None
- changed:
function default_int_handler(signum: int, frame: FrameType | None) -> None → function default_int_handler(__signalnum: int, __frame: FrameType | None) -> None - added:
function pidfd_send_signal(__pidfd: int, __sig: int, __siginfo: None=…, __flags: int=…) -> None
- changed:
field SMTPServer.channel_class: Type[SMTPChannel] → field SMTPServer.channel_class: type[SMTPChannel]
- removed:
class LMTP(SMTP) - removed:
class SMTPNotSupportedError(SMTPException) - removed:
constructor LMTP(host: str=…, port: int=…, local_hostname: str | None=…, source_address: _SourceAddress | None=…) -> None - removed:
variable CRLF: str - removed:
variable LMTP_PORT: int - removed:
variable OLDSTYLE_AUTH: Pattern[str] - removed:
variable SMTP_PORT: int - removed:
variable SMTP_SSL_PORT: int - removed:
variable bCRLF: bytes
- removed:
class SndHeaders(NamedTuple) - removed:
field SndHeaders.filetype: str - removed:
field SndHeaders.framerate: int - removed:
field SndHeaders.nchannels: int - removed:
field SndHeaders.nframes: int - removed:
field SndHeaders.sampwidth: int | str
- changed:
function getaddrinfo(host: bytearray | bytes | str | None, port: str | int | None, family: int=…, type: int=…, proto: int=…, flags: int=…) -> list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int]]] → function getaddrinfo(host: bytes | str | None, port: str | int | None, family: int=…, type: int=…, proto: int=…, flags: int=…) -> list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int]]] - changed:
method socket.dup() -> _T → method socket.dup() -> Self
- removed:
constructor UDPServer(server_address: tuple[str, int], RequestHandlerClass: Callable[..., BaseRequestHandler], bind_and_activate: bool=…) -> None - removed:
field BaseServer.RequestHandlerClass: Callable[..., BaseRequestHandler] - removed:
method TCPServer.close_request(request: _RequestType) -> None - removed:
method TCPServer.finish_request(request: _RequestType, client_address: _AddressType) -> None - removed:
method TCPServer.handle_error(request: _RequestType, client_address: _AddressType) -> None - removed:
method TCPServer.process_request(request: _RequestType, client_address: _AddressType) -> None - removed:
method TCPServer.shutdown_request(request: _RequestType) -> None - removed:
method TCPServer.verify_request(request: _RequestType, client_address: _AddressType) -> bool - removed:
method UDPServer.close_request(request: _RequestType) -> None - removed:
method UDPServer.finish_request(request: _RequestType, client_address: _AddressType) -> None - removed:
method UDPServer.handle_error(request: _RequestType, client_address: _AddressType) -> None - removed:
method UDPServer.process_request(request: _RequestType, client_address: _AddressType) -> None - removed:
method UDPServer.shutdown_request(request: _RequestType) -> None - removed:
method UDPServer.verify_request(request: _RequestType, client_address: _AddressType) -> bool - changed:
constructor BaseServer(server_address: Any, RequestHandlerClass: Callable[..., BaseRequestHandler]) -> None → constructor BaseServer(server_address: Any, RequestHandlerClass: Callable[[Any, Any, Self], BaseRequestHandler]) -> None - changed:
constructor TCPServer(server_address: tuple[str, int], RequestHandlerClass: Callable[..., BaseRequestHandler], bind_and_activate: bool=…) -> None → constructor TCPServer(server_address: tuple[str, int], RequestHandlerClass: Callable[[Any, Any, Self], BaseRequestHandler], bind_and_activate: bool=…) -> None - changed:
constructor UnixDatagramServer(server_address: str | bytes, RequestHandlerClass: Callable[..., BaseRequestHandler], bind_and_activate: bool=…) -> None → constructor UnixDatagramServer(server_address: str | bytes, RequestHandlerClass: Callable[[Any, Any, Self], BaseRequestHandler], bind_and_activate: bool=…) -> None - changed:
constructor UnixStreamServer(server_address: str | bytes, RequestHandlerClass: Callable[..., BaseRequestHandler], bind_and_activate: bool=…) -> None → constructor UnixStreamServer(server_address: str | bytes, RequestHandlerClass: Callable[[Any, Any, Self], BaseRequestHandler], bind_and_activate: bool=…) -> None - added:
field TCPServer.allow_reuse_port: bool - added:
field TCPServer.request_queue_size: int - added:
property BaseServer.RequestHandlerClass -> Callable[[Any, Any, Self], BaseRequestHandler]
- changed:
function connect(database: bytes | str, timeout: float=…, detect_types: int=…, isolation_level: str | None=…, check_same_thread: bool=…, factory: Type[Connection] | None=…, cached_statements: int=…, uri: bool=…) -> Connection → function connect(database: bytes | str, timeout: float=…, detect_types: int=…, isolation_level: str | None=…, check_same_thread: bool=…, factory: type[Connection] | None=…, cached_statements: int=…, uri: bool=…) -> Connection - changed:
function register_adapter(__type: Type[_T], __caster: Callable[[_T], int | float | str | bytes]) -> None → function register_adapter(__type: type[_T], __caster: Callable[[_T], int | float | str | bytes]) -> None
- removed:
field SSLObject.server_hostname: str | None - removed:
field SSLObject.server_side: bool - removed:
field SSLObject.session_reused: bool - removed:
field SSLSocket.session_reused: bool | None - changed:
field SSLContext.sslobject_class: ClassVar[Type[SSLObject]] → field SSLContext.sslobject_class: type[SSLObject] - changed:
field SSLContext.sslsocket_class: ClassVar[Type[SSLSocket]] → field SSLContext.sslsocket_class: type[SSLSocket] - added:
property SSLObject.server_hostname -> str | None - added:
property SSLObject.server_side -> bool - added:
property SSLObject.session_reused -> bool - added:
property SSLSocket.session_reused -> bool | None
- removed:
class LinearRegression(NamedTuple) - removed:
class NormalDist - removed:
constructor NormalDist(mu: float=…, sigma: float=…) -> None - removed:
field LinearRegression.intercept: float - removed:
field LinearRegression.slope: float - removed:
function correlation(__x: Sequence[_Number], __y: Sequence[_Number]) -> float - removed:
function covariance(__x: Sequence[_Number], __y: Sequence[_Number]) -> float - removed:
function fmean(data: Iterable[SupportsFloat]) -> float - removed:
function geometric_mean(data: Iterable[SupportsFloat]) -> float - removed:
function linear_regression(__regressor: Sequence[_Number], __dependent_variable: Sequence[_Number]) -> LinearRegression - removed:
function multimode(data: Iterable[_HashableT]) -> list[_HashableT] - removed:
function quantiles(data: Iterable[_NumberT], *, n: int=…, method: str=…) -> list[_NumberT] - removed:
method NormalDist.cdf(x: float) -> float - removed:
method NormalDist.inv_cdf(p: float) -> float - removed:
method NormalDist.overlap(other: NormalDist) -> float - removed:
method NormalDist.pdf(x: float) -> float - removed:
method NormalDist.quantiles(n: int=…) -> list[float] - removed:
method NormalDist.samples(n: int, *, seed: Any | None=…) -> list[float] - removed:
method NormalDist.zscore(x: float) -> float - removed:
property NormalDist.mean -> float - removed:
property NormalDist.median -> float - removed:
property NormalDist.mode -> float - removed:
property NormalDist.stdev -> float - removed:
property NormalDist.variance -> float - removed:
static method NormalDist.from_samples(data: Iterable[SupportsFloat]) -> _T
- removed:
class STARTUPINFO - removed:
constructor STARTUPINFO(*, dwFlags: int=…, hStdInput: Any | None=…, hStdOutput: Any | None=…, hStdError: Any | None=…, wShowWindow: int=…, lpAttributeList: Mapping[str, Any] | None=…) -> None - removed:
field STARTUPINFO.dwFlags: int - removed:
field STARTUPINFO.hStdError: Any | None - removed:
field STARTUPINFO.hStdInput: Any | None - removed:
field STARTUPINFO.hStdOutput: Any | None - removed:
field STARTUPINFO.lpAttributeList: Mapping[str, Any] - removed:
field STARTUPINFO.wShowWindow: int - removed:
function list2cmdline(seq: Iterable[str]) -> str - removed:
variable ABOVE_NORMAL_PRIORITY_CLASS: int - removed:
variable BELOW_NORMAL_PRIORITY_CLASS: int - removed:
variable CREATE_BREAKAWAY_FROM_JOB: int - removed:
variable CREATE_DEFAULT_ERROR_MODE: int - removed:
variable CREATE_NEW_CONSOLE: int - removed:
variable CREATE_NEW_PROCESS_GROUP: int - removed:
variable CREATE_NO_WINDOW: int - removed:
variable DETACHED_PROCESS: int - removed:
variable HIGH_PRIORITY_CLASS: int - removed:
variable IDLE_PRIORITY_CLASS: int - removed:
variable NORMAL_PRIORITY_CLASS: int - removed:
variable REALTIME_PRIORITY_CLASS: int - removed:
variable STARTF_USESHOWWINDOW: int - removed:
variable STARTF_USESTDHANDLES: int - removed:
variable STD_ERROR_HANDLE: Any - removed:
variable STD_INPUT_HANDLE: Any - removed:
variable STD_OUTPUT_HANDLE: Any - removed:
variable SW_HIDE: int
- changed:
function open(f: _File, mode: str | None=…) -> Any → function open(f: _File, mode: Literal['r', 'rb']) -> Au_read | (f: _File, mode: Literal['w', 'wb']) -> Au_write | (f: _File, mode: str | None=…) -> Any
- removed:
class SymbolTableFactory - removed:
constructor SymbolTableFactory() -> None - removed:
method SymbolTableFactory.new(table: Any, filename: str) -> SymbolTable
- changed:
field UnraisableHookArgs.exc_type: Type[BaseException] → field UnraisableHookArgs.exc_type: type[BaseException] - changed:
variable excepthook: Callable[[Type[BaseException], BaseException, TracebackType | None], Any] → variable excepthook: Callable[[type[BaseException], BaseException, TracebackType | None], Any] - changed:
variable float_repr_style: str → variable float_repr_style: Literal['short', 'legacy'] - changed:
variable last_type: Type[BaseException] | None → variable last_type: type[BaseException] | None - changed:
variable path_hooks: list[Any] → variable path_hooks: list[Callable[[str], PathEntryFinder]] - added:
function callstats() -> tuple[int, int, int, int, int, int, int, int, int, int, int] | None - added:
function get_coroutine_wrapper() -> _CoroWrapper - added:
function set_coroutine_wrapper(__wrapper: _CoroWrapper) -> None
- removed:
function is_python_build(check_home: bool=…) -> bool
- removed:
variable filename_only: int - removed:
variable verbose: int
- removed:
class ExFileObject(io.BufferedReader) - removed:
constructor ExFileObject(tarfile: TarFile, tarinfo: TarInfo) -> None - removed:
function filemode(mode: int) -> str - removed:
variable AREGTYPE: bytes - removed:
variable BLKTYPE: bytes - removed:
variable BLOCKSIZE: int - removed:
variable CHRTYPE: bytes - removed:
variable CONTTYPE: bytes - removed:
variable DIRTYPE: bytes - removed:
variable FIFOTYPE: bytes - removed:
variable GNUTYPE_LONGLINK: bytes - removed:
variable GNUTYPE_LONGNAME: bytes - removed:
variable GNUTYPE_SPARSE: bytes - removed:
variable GNU_MAGIC: bytes - removed:
variable GNU_TYPES: tuple[bytes, ...] - removed:
variable LENGTH_LINK: int - removed:
variable LENGTH_NAME: int - removed:
variable LENGTH_PREFIX: int - removed:
variable LNKTYPE: bytes - removed:
variable NUL: bytes - removed:
variable PAX_FIELDS: tuple[str, ...] - removed:
variable PAX_NAME_FIELDS: set[str] - removed:
variable PAX_NUMBER_FIELDS: dict[str, type] - removed:
variable POSIX_MAGIC: bytes - removed:
variable RECORDSIZE: int - removed:
variable REGTYPE: bytes - removed:
variable REGULAR_TYPES: tuple[bytes, ...] - removed:
variable SOLARIS_XHDTYPE: bytes - removed:
variable SUPPORTED_TYPES: tuple[bytes, ...] - removed:
variable SYMTYPE: bytes - removed:
variable XGLTYPE: bytes - removed:
variable XHDTYPE: bytes - changed:
constructor TarFile(name: StrOrBytesPath | None=…, mode: Literal['r', 'a', 'w', 'x']=…, fileobj: _Fileobj | None=…, format: int | None=…, tarinfo: Type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, errors: str=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…, copybufsize: int | None=…) -> None → constructor TarFile(name: StrOrBytesPath | None=…, mode: Literal['r', 'a', 'w', 'x']=…, fileobj: _Fileobj | None=…, format: int | None=…, tarinfo: type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, errors: str=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…, copybufsize: int | None=…) -> None - changed:
field TarFile.fileobject: Type[ExFileObject] → field TarFile.fileobject: type[ExFileObject] - changed:
field TarFile.tarinfo: Type[TarInfo] → field TarFile.tarinfo: type[TarInfo] - changed:
function open(name: StrOrBytesPath | None=…, mode: str=…, fileobj: IO[bytes] | None=…, bufsize: int=…, *, format: int | None=…, tarinfo: Type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, errors: str=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…, compresslevel: int | None=…) -> TarFile → function open(name: StrOrBytesPath | None=…, mode: str=…, fileobj: IO[bytes] | None=…, bufsize: int=…, *, format: int | None=…, tarinfo: type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, errors: str=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…, compresslevel: int | None=…) -> TarFile - changed:
static method TarFile.bz2open(name: StrOrBytesPath | None, mode: Literal['w', 'x'], fileobj: _Bz2WritableFileobj | None=…, compresslevel: int=…, *, format: int | None=…, tarinfo: Type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…) -> _TF | (name: StrOrBytesP… → static method TarFile.bz2open(name: StrOrBytesPath | None, mode: Literal['w', 'x'], fileobj: _Bz2WritableFileobj | None=…, compresslevel: int=…, *, format: int | None=…, tarinfo: type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…) -> Self | (name: StrOrBytes… - changed:
static method TarFile.gzopen(name: StrOrBytesPath | None, mode: Literal['r']=…, fileobj: _GzipReadableFileobj | None=…, compresslevel: int=…, *, format: int | None=…, tarinfo: Type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…) -> _TF | (name: StrOrBytesPath… → static method TarFile.gzopen(name: StrOrBytesPath | None, mode: Literal['r']=…, fileobj: _GzipReadableFileobj | None=…, compresslevel: int=…, *, format: int | None=…, tarinfo: type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…) -> Self | (name: StrOrBytesPat… - changed:
static method TarFile.open(name: StrOrBytesPath | None=…, mode: str=…, fileobj: IO[bytes] | None=…, bufsize: int=…, *, format: int | None=…, tarinfo: Type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, errors: str=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…) -> _TF → static method TarFile.open(name: StrOrBytesPath | None=…, mode: str=…, fileobj: IO[bytes] | None=…, bufsize: int=…, *, format: int | None=…, tarinfo: type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, errors: str=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…) -> Self - changed:
static method TarFile.taropen(name: StrOrBytesPath | None, mode: Literal['r', 'a', 'w', 'x']=…, fileobj: _Fileobj | None=…, *, compresslevel: int=…, format: int | None=…, tarinfo: Type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…) -> _TF → static method TarFile.taropen(name: StrOrBytesPath | None, mode: Literal['r', 'a', 'w', 'x']=…, fileobj: _Fileobj | None=…, *, compresslevel: int=…, format: int | None=…, tarinfo: type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…) -> Self - changed:
static method TarFile.xzopen(name: StrOrBytesPath | None, mode: Literal['r', 'w', 'x']=…, fileobj: IO[bytes] | None=…, preset: int | None=…, *, format: int | None=…, tarinfo: Type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…) -> _TF → static method TarFile.xzopen(name: StrOrBytesPath | None, mode: Literal['r', 'w', 'x']=…, fileobj: IO[bytes] | None=…, preset: int | None=…, *, format: int | None=…, tarinfo: type[TarInfo] | None=…, dereference: bool | None=…, ignore_zeros: bool | None=…, encoding: str | None=…, pax_headers: Mapping[str, str] | None=…, debug: int | None=…, errorlevel: int | None=…) -> Self - changed:
static method TarInfo.frombuf(buf: bytes, encoding: str, errors: str) -> TarInfo → static method TarInfo.frombuf(buf: bytes, encoding: str, errors: str) -> Self - changed:
static method TarInfo.fromtarfile(tarfile: TarFile) -> TarInfo → static method TarInfo.fromtarfile(tarfile: TarFile) -> Self
- removed:
variable AO: bytes - removed:
variable AUTHENTICATION: bytes - removed:
variable AYT: bytes - removed:
variable BINARY: bytes - removed:
variable BM: bytes - removed:
variable BRK: bytes - removed:
variable CHARSET: bytes - removed:
variable COM_PORT_OPTION: bytes - removed:
variable DEBUGLEVEL: int - removed:
variable DET: bytes - removed:
variable DM: bytes - removed:
variable DO: bytes - removed:
variable DONT: bytes - removed:
variable EC: bytes - removed:
variable ECHO: bytes - removed:
variable EL: bytes - removed:
variable ENCRYPT: bytes - removed:
variable EOR: bytes - removed:
variable EXOPL: bytes - removed:
variable FORWARD_X: bytes - removed:
variable GA: bytes - removed:
variable IAC: bytes - removed:
variable IP: bytes - removed:
variable KERMIT: bytes - removed:
variable LFLOW: bytes - removed:
variable LINEMODE: bytes - removed:
variable LOGOUT: bytes - removed:
variable NAMS: bytes - removed:
variable NAOCRD: bytes - removed:
variable NAOFFD: bytes - removed:
variable NAOHTD: bytes - removed:
variable NAOHTS: bytes - removed:
variable NAOL: bytes - removed:
variable NAOLFD: bytes - removed:
variable NAOP: bytes - removed:
variable NAOVTD: bytes - removed:
variable NAOVTS: bytes - removed:
variable NAWS: bytes - removed:
variable NEW_ENVIRON: bytes - removed:
variable NOOPT: bytes - removed:
variable NOP: bytes - removed:
variable OLD_ENVIRON: bytes - removed:
variable OUTMRK: bytes - removed:
variable PRAGMA_HEARTBEAT: bytes - removed:
variable PRAGMA_LOGON: bytes - removed:
variable RCP: bytes - removed:
variable RCTE: bytes - removed:
variable RSP: bytes - removed:
variable SB: bytes - removed:
variable SE: bytes - removed:
variable SEND_URL: bytes - removed:
variable SGA: bytes - removed:
variable SNDLOC: bytes - removed:
variable SSPI_LOGON: bytes - removed:
variable STATUS: bytes - removed:
variable SUPDUP: bytes - removed:
variable SUPDUPOUTPUT: bytes - removed:
variable SUPPRESS_LOCAL_ECHO: bytes - removed:
variable TELNET_PORT: int - removed:
variable TLS: bytes - removed:
variable TM: bytes - removed:
variable TN3270E: bytes - removed:
variable TSPEED: bytes - removed:
variable TTYLOC: bytes - removed:
variable TTYPE: bytes - removed:
variable TUID: bytes - removed:
variable VT3270REGIME: bytes - removed:
variable WILL: bytes - removed:
variable WONT: bytes - removed:
variable X3PAD: bytes - removed:
variable XASCII: bytes - removed:
variable XAUTH: bytes - removed:
variable XDISPLOC: bytes - removed:
variable theNULL: bytes
- removed:
variable template: str - changed:
method SpooledTemporaryFile.truncate(size: int | None=…) -> int → method SpooledTemporaryFile.truncate(size: int | None=…) -> None
- removed:
field Barrier.broken: bool - removed:
field Barrier.n_waiting: int - removed:
field Barrier.parties: int - removed:
field Thread.ident: int | None - removed:
function activeCount() -> int - removed:
function currentThread() -> Thread - removed:
function getprofile() -> _PF | None - removed:
function gettrace() -> _TF | None - removed:
variable ExceptHookArgs - removed:
variable excepthook - added:
property Barrier.broken -> bool - added:
property Barrier.n_waiting -> int - added:
property Barrier.parties -> int - added:
property Thread.ident -> int | None
- changed:
class struct_time(structseq[Union[Any, int]], _TimeTuple) → class struct_time(structseq[Any | int], _TimeTuple) - changed:
function get_clock_info(name: str) -> SimpleNamespace → function get_clock_info(name: Literal['monotonic', 'perf_counter', 'process_time', 'time', 'thread_time']) -> _ClockInfo - added:
function pthread_getcpuclockid(thread_id: int) -> int
- removed:
function main(args: Sequence[str] | None=…, *, _wrap_timer: Callable[[_timerFunc], _timerFunc] | None=…) -> None
- removed:
field Tk.adderrorinfo: Any - removed:
field Tk.call: Callable[..., Any] - removed:
field Tk.createcommand: Any - removed:
field Tk.createfilehandler: Any - removed:
field Tk.createtimerhandler: Any - removed:
field Tk.deletecommand: Any - removed:
field Tk.deletefilehandler: Any - removed:
field Tk.dooneevent: Any - removed:
field Tk.evalfile: Any - removed:
field Tk.exprboolean: Any - removed:
field Tk.exprdouble: Any - removed:
field Tk.exprlong: Any - removed:
field Tk.exprstring: Any - removed:
field Tk.getboolean: Any - removed:
field Tk.getdouble: Any - removed:
field Tk.getint: Any - removed:
field Tk.getvar: Any - removed:
field Tk.globalgetvar: Any - removed:
field Tk.globalsetvar: Any - removed:
field Tk.globalunsetvar: Any - removed:
field Tk.interpaddr: Any - removed:
field Tk.mainloop: Any - removed:
field Tk.quit: Any - removed:
field Tk.record: Any - removed:
field Tk.setvar: Any - removed:
field Tk.split: Any - removed:
field Tk.splitlist: Any - removed:
field Tk.unsetvar: Any - removed:
field Tk.wantobjects: Any - removed:
field Tk.willdispatch: Any - removed:
variable wantobjects: int - changed:
constructor BaseWidget(master, widgetName, cnf=…, kw=…, extra=…) → constructor BaseWidget(master, widgetName, cnf=…, kw=…, extra=…) -> None - changed:
constructor CallWrapper(func, subst, widget) → constructor CallWrapper(func, subst, widget) -> None - changed:
constructor Image(imgtype, name: Any | None=…, cnf=…, master: Misc | _tkinter.TkappType | None=…, **kw) → constructor Image(imgtype, name: Any | None=…, cnf=…, master: Misc | _tkinter.TkappType | None=…, **kw) -> None - changed:
function NoDefaultRoot() → function NoDefaultRoot() -> None - changed:
function Tcl(screenName: Any | None=…, baseName: Any | None=…, className: str=…, useTk: bool=…) → function Tcl(screenName: str | None=…, baseName: str | None=…, className: str=…, useTk: bool=…) -> Tk - changed:
method Button.flash() → method Button.flash() -> None - changed:
method Canvas.coords() -> list[float] | (__args: list[int] | list[float] | tuple[float, ...]) -> None | (__x1: float, __y1: float, *args: float) -> None → method Canvas.coords(__tagOrId: str | _CanvasItemId) -> list[float] | (__tagOrId: str | _CanvasItemId, __args: list[int] | list[float] | tuple[float, ...]) -> None | (__tagOrId: str | _CanvasItemId, __x1: float, __y1: float, *args: float) -> None - changed:
method Canvas.dchars(*args) → method Canvas.dchars(*args) -> None - changed:
method Canvas.icursor(*args) → method Canvas.icursor(*args) -> None - changed:
method Canvas.insert(*args) → method Canvas.insert(*args) -> None - changed:
method Canvas.move(*args) → method Canvas.move(*args) -> None - changed:
method Canvas.scale(*args) → method Canvas.scale(*args) -> None - changed:
method Canvas.scan_dragto(x, y, gain: int=…) → method Canvas.scan_dragto(x, y, gain: int=…) -> None - changed:
method Canvas.scan_mark(x, y) → method Canvas.scan_mark(x, y) -> None - changed:
method Canvas.select_adjust(tagOrId, index) → method Canvas.select_adjust(tagOrId, index) -> None - changed:
method Canvas.select_clear() → method Canvas.select_clear() -> None - changed:
method Canvas.select_from(tagOrId, index) → method Canvas.select_from(tagOrId, index) -> None - changed:
method Canvas.select_to(tagOrId, index) → method Canvas.select_to(tagOrId, index) -> None - changed:
method Canvas.tag_bind(tagOrId: str | int, sequence: str | None=…, func: Callable[[Event[Canvas]], Any] | None=…, add: Literal['', '+'] | bool | None=…) -> str | (tagOrId: str | int, sequence: str | None, func: str, add: Literal['', '+'] | bool | None=…) -> None | (tagOrId: str | int, *, func: str, add: Literal['', '+'] | bool | None=…) -> None → method Canvas.tag_bind(tagOrId: str | _CanvasItemId, sequence: str | None=…, func: Callable[[Event[Canvas]], Any] | None=…, add: Literal['', '+'] | bool | None=…) -> str | (tagOrId: str | int, sequence: str | None, func: str, add: Literal['', '+'] | bool | None=…) -> None | (tagOrId: str | _CanvasItemId, *, func: str, add: Literal['', '+'] | bool | None=…) -> None - changed:
method Canvas.tag_unbind(tagOrId: str | int, sequence: str, funcid: str | None=…) -> None → method Canvas.tag_unbind(tagOrId: str | _CanvasItemId, sequence: str, funcid: str | None=…) -> None - changed:
method Checkbutton.deselect() → method Checkbutton.deselect() -> None - changed:
method Checkbutton.flash() → method Checkbutton.flash() -> None - changed:
method Checkbutton.select() → method Checkbutton.select() -> None - changed:
method Checkbutton.toggle() → method Checkbutton.toggle() -> None - changed:
method Entry.scan_dragto(x) → method Entry.scan_dragto(x) -> None - changed:
method Entry.scan_mark(x) → method Entry.scan_mark(x) -> None - changed:
method Listbox.activate(index) → method Listbox.activate(index) -> None - changed:
method Listbox.bbox(index) → method Listbox.bbox(index) -> tuple[int, int, int, int] | None - changed:
method Listbox.delete(first, last: Any | None=…) → method Listbox.delete(first, last: Any | None=…) -> None - changed:
method Listbox.insert(index, *elements) → method Listbox.insert(index, *elements) -> None - changed:
method Listbox.scan_dragto(x, y) → method Listbox.scan_dragto(x, y) -> None - changed:
method Listbox.scan_mark(x, y) → method Listbox.scan_mark(x, y) -> None - changed:
method Listbox.see(index) → method Listbox.see(index) -> None - changed:
method Listbox.selection_anchor(index) → method Listbox.selection_anchor(index) -> None - changed:
method Listbox.selection_clear(first, last: Any | None=…) → method Listbox.selection_clear(first, last: Any | None=…) -> None - changed:
method Listbox.selection_set(first, last: Any | None=…) → method Listbox.selection_set(first, last: Any | None=…) -> None - changed:
method Listbox.size() → method Listbox.size() -> int - changed:
method Misc.bell(displayof: Literal[0] | Misc | None=…) → method Misc.bell(displayof: Literal[0] | Misc | None=…) -> None - changed:
method Misc.bindtags(tagList: Any | None=…) → method Misc.bindtags(tagList: None=…) -> tuple[str, ...] | (tagList: list[str] | tuple[str, ...]) -> None - changed:
method Misc.clipboard_append(string: str, *, displayof: Misc=…, format: str=…, type: str=…) → method Misc.clipboard_append(string: str, *, displayof: Misc=…, format: str=…, type: str=…) -> None - changed:
method Misc.grab_release() → method Misc.grab_release() -> None - changed:
method Misc.grab_status() → method Misc.grab_status() -> Literal['local', 'global'] | None - changed:
method Misc.lower(belowThis: Any | None=…) → method Misc.lower(belowThis: Any | None=…) -> None - changed:
method Misc.option_add(pattern, value, priority: Any | None=…) → method Misc.option_add(pattern, value, priority: int | Literal['widgetDefault', 'startupFile', 'userDefault', 'interactive'] | None=…) -> None - changed:
method Misc.option_clear() → method Misc.option_clear() -> None - changed:
method Misc.option_readfile(fileName, priority: Any | None=…) → method Misc.option_readfile(fileName, priority: Any | None=…) -> None - changed:
method Misc.quit() → method Misc.quit() -> None - changed:
method Misc.selection_clear(**kw) → method Misc.selection_clear(**kw) -> None - changed:
method Misc.selection_handle(command, **kw) → method Misc.selection_handle(command, **kw) -> None - changed:
method Misc.selection_own(**kw) → method Misc.selection_own(**kw) -> None - changed:
method Misc.setvar(name: str=…, value: str=…) → method Misc.setvar(name: str=…, value: str=…) -> None - changed:
method Misc.tk_bisque() → method Misc.tk_bisque() -> None - changed:
method Misc.tk_setPalette(*args, **kw) → method Misc.tk_setPalette(*args, **kw) -> None - changed:
method Misc.tkraise(aboveThis: Any | None=…) → method Misc.tkraise(aboveThis: Any | None=…) -> None - changed:
method Misc.winfo_atom(name: str, displayof: Literal[0] | Misc | None=…) → method Misc.winfo_atom(name: str, displayof: Literal[0] | Misc | None=…) -> int - changed:
method Misc.winfo_atomname(id: int, displayof: Literal[0] | Misc | None=…) → method Misc.winfo_atomname(id: int, displayof: Literal[0] | Misc | None=…) -> str - changed:
method PanedWindow.add(child: Widget, **kw) → method PanedWindow.add(child: Widget, **kw) -> None - changed:
method PanedWindow.identify(x, y) → method PanedWindow.identify(x: int, y: int) - changed:
method PanedWindow.remove(child) → method PanedWindow.remove(child) -> None - changed:
method Radiobutton.deselect() → method Radiobutton.deselect() -> None - changed:
method Radiobutton.flash() → method Radiobutton.flash() -> None - changed:
method Radiobutton.select() → method Radiobutton.select() -> None - changed:
method Scale.coords(value: Any | None=…) → method Scale.coords(value: float | None=…) -> tuple[int, int] - changed:
method Scale.get() → method Scale.get() -> float - changed:
method Scale.identify(x, y) → method Scale.identify(x, y) -> Literal['', 'slider', 'trough1', 'trough2'] - changed:
method Scale.set(value) → method Scale.set(value) -> None - changed:
method Scrollbar.delta(deltax, deltay) → method Scrollbar.delta(deltax: int, deltay: int) -> float - changed:
method Scrollbar.fraction(x, y) → method Scrollbar.fraction(x: int, y: int) -> float - changed:
method Scrollbar.get() → method Scrollbar.get() -> tuple[float, float, float, float] | tuple[float, float] - changed:
method Scrollbar.identify(x, y) → method Scrollbar.identify(x: int, y: int) -> Literal['arrow1', 'arrow2', 'slider', 'trough1', 'trough2', ''] - changed:
method Scrollbar.set(first, last) → method Scrollbar.set(first: float, last: float) -> None - changed:
method Spinbox.bbox(index) → method Spinbox.bbox(index) -> tuple[int, int, int, int] | None - changed:
method Spinbox.delete(first, last: Any | None=…) → method Spinbox.delete(first, last: Any | None=…) -> Literal[''] - changed:
method Spinbox.get() → method Spinbox.get() -> str - changed:
method Spinbox.identify(x, y) → method Spinbox.identify(x: int, y: int) -> Literal['', 'buttondown', 'buttonup', 'entry'] - changed:
method Spinbox.index(index) → method Spinbox.index(index: _EntryIndex) -> int - changed:
method Spinbox.insert(index, s) → method Spinbox.insert(index: _EntryIndex, s: str) -> Literal[''] - changed:
method Text.window_create(index, cnf=…, **kw) → method Text.window_create(index, cnf=…, **kw) -> None - changed:
method Tk.eval(__code: str) -> str → method Tk.eval(__script: str) -> str - changed:
method Variable.trace_vdelete(mode, cbname) → method Variable.trace_vdelete(mode, cbname) -> None - changed:
method Wm.wm_focusmodel(model: Any | None=…) → method Wm.wm_focusmodel(model: Literal['active', 'passive'] | None=…) -> Literal['active', 'passive', ''] - changed:
method Wm.wm_frame() → method Wm.wm_frame() -> str - changed:
method Wm.wm_iconname(newName: Any | None=…) → method Wm.wm_iconname(newName: Any | None=…) -> str - changed:
method Wm.wm_iconposition(x: Any | None=…, y: Any | None=…) → method Wm.wm_iconposition(x: int | None=…, y: int | None=…) -> tuple[int, int] | None - changed:
method Wm.wm_manage(widget) → method Wm.wm_manage(widget) -> None - changed:
method Wm.wm_positionfrom(who: Any | None=…) → method Wm.wm_positionfrom(who: Literal['program', 'user'] | None=…) -> Literal['', 'program', 'user'] - changed:
method Wm.wm_sizefrom(who: Any | None=…) → method Wm.wm_sizefrom(who: Literal['program', 'user'] | None=…) -> Literal['', 'program', 'user'] - added:
method Tk.adderrorinfo(__msg) - added:
method Tk.call(__command: Any, *args: Any) -> Any - added:
method Tk.createcommand(__name, __func) - added:
method Tk.createfilehandler(__file, __mask, __func) - added:
method Tk.createtimerhandler(__milliseconds, __func) - added:
method Tk.deletefilehandler(__file) - added:
method Tk.dooneevent(__flags: int=…) - added:
method Tk.evalfile(__fileName) - added:
method Tk.exprboolean(__s) - added:
method Tk.exprdouble(__s) - added:
method Tk.exprlong(__s) - added:
method Tk.exprstring(__s) - added:
method Tk.globalgetvar(*args, **kwargs) - added:
method Tk.globalsetvar(*args, **kwargs) - added:
method Tk.globalunsetvar(*args, **kwargs) - added:
method Tk.interpaddr() - added:
method Tk.record(__script) - added:
method Tk.split(__arg) - added:
method Tk.splitlist(__arg) - added:
method Tk.unsetvar(*args, **kwargs) - added:
method Tk.wantobjects(*args, **kwargs) - added:
method Tk.willdispatch()
- removed:
variable DIALOG_ICON: str
- removed:
function test() -> None - removed:
variable dialogstates: dict[Any, tuple[Any, Any]] - changed:
method SaveFileDialog.ok_command() → method SaveFileDialog.ok_command() -> None
- removed:
class Message(Dialog) - removed:
field Message.command: ClassVar[str] - removed:
variable ABORT: str - removed:
variable ABORTRETRYIGNORE: str - removed:
variable CANCEL: str - removed:
variable ERROR: str - removed:
variable IGNORE: str - removed:
variable INFO: str - removed:
variable NO: str - removed:
variable OK: str - removed:
variable OKCANCEL: str - removed:
variable QUESTION: str - removed:
variable RETRY: str - removed:
variable RETRYCANCEL: str - removed:
variable WARNING: str - removed:
variable YES: str - removed:
variable YESNO: str - removed:
variable YESNOCANCEL: str
- changed:
function askfloat(title: str | None, prompt: str, **kwargs: Any) -> float → function askfloat(title: str | None, prompt: str, **kwargs: Any) -> float | None - changed:
function askinteger(title: str | None, prompt: str, **kwargs: Any) -> int → function askinteger(title: str | None, prompt: str, **kwargs: Any) -> int | None - changed:
function askstring(title: str | None, prompt: str, **kwargs: Any) -> str → function askstring(title: str | None, prompt: str, **kwargs: Any) -> str | None - changed:
method Dialog.buttonbox() → method Dialog.buttonbox() -> None
- changed:
constructor Tk(screenName: str | None=…, baseName: str | None=…, className: str=…) → constructor Tk(screenName: str | None=…, baseName: str | None=…, className: str=…) -> None
- removed:
class Spinbox(Entry) - removed:
class Widget(tkinter.Widget) - removed:
constructor Spinbox(master: tkinter.Misc | None=…, *, background: tkinter._Color=…, class_: str=…, command: Callable[[], Any] | str | list[str] | tuple[str, ...]=…, cursor: tkinter._Cursor=…, exportselection: bool=…, font: _FontDescription=…, foreground: tkinter._Color=…, format: str=…, from_: float=…, increment: float=…, invalidcommand: tkinter._EntryValidateCommand=…, justify: Literal['left', '… - removed:
constructor Widget(master: tkinter.Misc | None, widgetname, kw: Any | None=…) - removed:
field Spinbox.config - removed:
method Spinbox.configure(cnf: dict[str, Any] | None=…, *, background: tkinter._Color=…, command: Callable[[], Any] | str | list[str] | tuple[str, ...]=…, cursor: tkinter._Cursor=…, exportselection: bool=…, font: _FontDescription=…, foreground: tkinter._Color=…, format: str=…, from_: float=…, increment: float=…, invalidcommand: tkinter._EntryValidateCommand=…, justify: Literal['left', 'center', 'r… - removed:
method Spinbox.set(value: Any) -> None - removed:
method Widget.identify(x, y) - removed:
method Widget.instate(statespec, callback: Any | None=…, *args, **kw) - removed:
method Widget.state(statespec: Any | None=…) - changed:
constructor LabeledScale(master: tkinter.Misc | None=…, variable: tkinter.IntVar | tkinter.DoubleVar | None=…, from_: float=…, to: float=…, *, compound: Literal['top'] | Literal['bottom']=…, **kw: Any) -> None → constructor LabeledScale(master: tkinter.Misc | None=…, variable: tkinter.IntVar | tkinter.DoubleVar | None=…, from_: float=…, to: float=…, *, compound: Literal['top', 'bottom']=…, **kw: Any) -> None - changed:
constructor OptionMenu(master, variable, default: str | None=…, *values: str, style: str=…, direction: Literal['above'] | Literal['below'] | Literal['left'] | Literal['right'] | Literal['flush']=…, command: Callable[[tkinter.StringVar], Any] | None=…) -> None → constructor OptionMenu(master, variable, default: str | None=…, *values: str, style: str=…, direction: Literal['above', 'below', 'left', 'right', 'flush']=…, command: Callable[[tkinter.StringVar], Any] | None=…) -> None - changed:
constructor Style(master: tkinter.Misc | None=…) → constructor Style(master: tkinter.Misc | None=…) -> None - changed:
function tclobjs_to_py(adict) → function tclobjs_to_py(adict: dict[Any, Any]) -> dict[Any, Any] - changed:
method Combobox.current(newindex: Any | None=…) → method Combobox.current(newindex: int | None=…) -> int - changed:
method Combobox.set(value) → method Combobox.set(value: Any) -> None - changed:
method Entry.bbox(index) → method Entry.bbox(index) -> tuple[int, int, int, int] - changed:
method Entry.identify(x, y) → method Entry.identify(x: int, y: int) -> str - changed:
method Notebook.forget(tab_id) → method Notebook.forget(tab_id) -> None - changed:
method Notebook.hide(tab_id) → method Notebook.hide(tab_id) -> None - changed:
method Notebook.identify(x, y) → method Notebook.identify(x: int, y: int) -> str - changed:
method Notebook.insert(pos, child, **kw) → method Notebook.insert(pos, child, **kw) -> None - changed:
method OptionMenu.set_menu(default: Any | None=…, *values) → method OptionMenu.set_menu(default: Any | None=…, *values) -> None - changed:
method Panedwindow.insert(pos, child, **kw) → method Panedwindow.insert(pos, child, **kw) -> None - changed:
method Progressbar.start(interval: Any | None=…) → method Progressbar.start(interval: Literal['idle'] | int | None=…) -> None - changed:
method Progressbar.step(amount: Any | None=…) → method Progressbar.step(amount: float | None=…) -> None - changed:
method Progressbar.stop() → method Progressbar.stop() -> None - changed:
method Scale.get(x: Any | None=…, y: Any | None=…) → method Scale.get(x: int | None=…, y: int | None=…) -> float - changed:
method Style.element_create(elementname, etype, *args, **kw) → method Style.element_create(elementname, etype, *args, **kw) -> None - changed:
method Style.theme_create(themename, parent: Any | None=…, settings: Any | None=…) → method Style.theme_create(themename, parent: Any | None=…, settings: Any | None=…) -> None - changed:
method Style.theme_settings(themename, settings) → method Style.theme_settings(themename, settings) -> None - changed:
method Treeview.heading(column: _TreeviewColumnId, option: Literal['text']) -> str | (column: _TreeviewColumnId, option: Literal['image']) -> tuple[str] | (column: _TreeviewColumnId, option: Literal['anchor']) -> _tkinter.Tcl_Obj | (column: _TreeviewColumnId, option: Literal['command']) -> str | (column: _TreeviewColumnId, option: str) -> Any | (column: _TreeviewColumnId, option: None=…, *, text:… → method Treeview.heading(column: _TreeviewColumnId, option: Literal['text']) -> str | (column: _TreeviewColumnId, option: Literal['image']) -> tuple[str] | str | (column: _TreeviewColumnId, option: Literal['anchor']) -> _tkinter.Tcl_Obj | (column: _TreeviewColumnId, option: Literal['command']) -> str | (column: _TreeviewColumnId, option: str) -> Any | (column: _TreeviewColumnId, option: None=…) ->… - changed:
method Treeview.item(item: str, option: Literal['text']) -> str | (item: str, option: Literal['image']) -> tuple[str] | Literal[''] | (item: str, option: Literal['values']) -> tuple[Any, ...] | Literal[''] | (item: str, option: Literal['open']) -> bool | (item: str, option: Literal['tags']) -> tuple[str, ...] | Literal[''] | (item: str, option: str) -> Any | (item: str, option: None=…, *, text: s… → method Treeview.item(item: str, option: Literal['text']) -> str | (item: str, option: Literal['image']) -> tuple[str] | Literal[''] | (item: str, option: Literal['values']) -> tuple[Any, ...] | Literal[''] | (item: str, option: Literal['open']) -> bool | (item: str, option: Literal['tags']) -> tuple[str, ...] | Literal[''] | (item: str, option: str) -> Any | (item: str, option: None=…) -> _Treevi…
- removed:
variable COLONEQUAL: int - removed:
variable COMMENT: int - removed:
variable ENCODING: int - removed:
variable EXACT_TOKEN_TYPES: dict[str, int] - removed:
variable NL: int - removed:
variable SOFT_KEYWORD: int - removed:
variable TYPE_COMMENT: int - removed:
variable TYPE_IGNORE: int
- removed:
class StopTokenizing(Exception) - removed:
class TokenError(Exception) - removed:
class Untokenizer - removed:
constructor Untokenizer() -> None - removed:
field Untokenizer.encoding: str | None - removed:
field Untokenizer.prev_col: int - removed:
field Untokenizer.prev_row: int - removed:
field Untokenizer.tokens: list[str] - removed:
function any(*choices: str) -> str - removed:
function generate_tokens(readline: Callable[[], str]) -> Generator[TokenInfo, None, None] - removed:
function group(*choices: str) -> str - removed:
function maybe(*choices: str) -> str - removed:
function open(filename: StrOrBytesPath | int) -> TextIO - removed:
method Untokenizer.add_whitespace(start: _Position) -> None - removed:
method Untokenizer.compat(token: Sequence[int | str], iterable: Iterable[_Token]) -> None - removed:
method Untokenizer.untokenize(iterable: Iterable[_Token]) -> str - removed:
variable Binnumber: str - removed:
variable Bracket: str - removed:
variable Comment: str - removed:
variable ContStr: str - removed:
variable Decnumber: str - removed:
variable Double3: str - removed:
variable Double: str - removed:
variable Expfloat: str - removed:
variable Exponent: str - removed:
variable Floatnumber: str - removed:
variable Funny: str - removed:
variable Hexnumber: str - removed:
variable Ignore: str - removed:
variable Imagnumber: str - removed:
variable Intnumber: str - removed:
variable Name: str - removed:
variable Number: str - removed:
variable Octnumber: str - removed:
variable Operator: str - removed:
variable PlainToken: str - removed:
variable Pointfloat: str - removed:
variable PseudoExtras: str - removed:
variable PseudoToken: str - removed:
variable Single3: str - removed:
variable Single: str - removed:
variable Special: str - removed:
variable String: str - removed:
variable StringPrefix: str - removed:
variable Token: str - removed:
variable Triple: str - removed:
variable Whitespace: str - removed:
variable blank_re: Pattern[bytes] - removed:
variable cookie_re: Pattern[str] - removed:
variable endpats: dict[str, str] - removed:
variable single_quoted: set[str] - removed:
variable tabsize: int - removed:
variable triple_quoted: set[str]
- added:
class TOMLDecodeError(ValueError) - added:
function load(__fp: SupportsRead[bytes], *, parse_float: Callable[[str], Any]=…) -> dict[str, Any] - added:
function loads(__s: str, *, parse_float: Callable[[str], Any]=…) -> dict[str, Any]
- removed:
field FrameSummary.line: str - removed:
function print_list(extracted_list: list[FrameSummary], file: SupportsWrite[str] | None=…) -> None - changed:
constructor FrameSummary(filename: str, lineno: int, name: str, *, lookup_line: bool=…, locals: Mapping[str, str] | None=…, line: str | None=…) -> None → constructor FrameSummary(filename: str, lineno: int | None, name: str, *, lookup_line: bool=…, locals: Mapping[str, str] | None=…, line: str | None=…) -> None - changed:
constructor TracebackException(exc_type: Type[BaseException], exc_value: BaseException, exc_traceback: TracebackType | None, *, limit: int | None=…, lookup_lines: bool=…, capture_locals: bool=…, _seen: set[int] | None=…) -> None → constructor TracebackException(exc_type: type[BaseException], exc_value: BaseException, exc_traceback: TracebackType | None, *, limit: int | None=…, lookup_lines: bool=…, capture_locals: bool=…, _seen: set[int] | None=…) -> None - changed:
field FrameSummary.lineno: int → field FrameSummary.lineno: int | None - changed:
field TracebackException.exc_type: Type[BaseException] → field TracebackException.exc_type: type[BaseException] - changed:
function format_exception(__exc: Type[BaseException] | None, value: BaseException | None=…, tb: TracebackType | None=…, limit: int | None=…, chain: bool=…) -> list[str] | (__exc: BaseException, *, limit: int | None=…, chain: bool=…) -> list[str] → function format_exception(__exc: type[BaseException] | None, value: BaseException | None=…, tb: TracebackType | None=…, limit: int | None=…, chain: bool=…) -> list[str] | (__exc: BaseException, *, limit: int | None=…, chain: bool=…) -> list[str] - changed:
function format_exception_only(etype: Type[BaseException] | None, value: BaseException | None) -> list[str] → function format_exception_only(etype: type[BaseException] | None, value: BaseException | None) -> list[str] - changed:
function print_exception(__exc: Type[BaseException] | None, value: BaseException | None=…, tb: TracebackType | None=…, limit: int | None=…, file: IO[str] | None=…, chain: bool=…) -> None | (__exc: BaseException, *, limit: int | None=…, file: IO[str] | None=…, chain: bool=…) -> None → function print_exception(__exc: type[BaseException] | None, value: BaseException | None=…, tb: TracebackType | None=…, limit: int | None=…, file: IO[str] | None=…, chain: bool=…) -> None | (__exc: BaseException, *, limit: int | None=…, file: IO[str] | None=…, chain: bool=…) -> None - changed:
static method TracebackException.from_exception(exc: BaseException, *, limit: int | None=…, lookup_lines: bool=…, capture_locals: bool=…) -> TracebackException → static method TracebackException.from_exception(exc: BaseException, *, limit: int | None=…, lookup_lines: bool=…, capture_locals: bool=…) -> Self - added:
field FrameSummary.colno: int | None - added:
field FrameSummary.end_colno: int | None - added:
field FrameSummary.end_lineno: int | None - added:
property FrameSummary.line -> str | None
- removed:
field DomainFilter.domain: int - removed:
field DomainFilter.inclusive: bool - removed:
field Filter.filename_pattern: str - removed:
field Filter.inclusive: bool - removed:
field Frame.filename: str - removed:
field Frame.lineno: int - removed:
field Trace.domain: int - removed:
field Trace.size: int - removed:
field Trace.traceback: Traceback - removed:
field Traceback.total_nframe: int | None - changed:
class DomainFilter → class DomainFilter(BaseFilter) - changed:
class Filter → class Filter(BaseFilter) - added:
class BaseFilter - added:
constructor BaseFilter(inclusive: bool) -> None - added:
field BaseFilter.inclusive: bool - added:
property DomainFilter.domain -> int - added:
property Filter.filename_pattern -> str - added:
property Frame.filename -> str - added:
property Frame.lineno -> int - added:
property Trace.domain -> int - added:
property Trace.size -> int - added:
property Trace.traceback -> Traceback - added:
property Traceback.total_nframe -> int | None
- removed:
variable CC: int - removed:
variable CFLAG: int - removed:
variable IFLAG: int - removed:
variable ISPEED: int - removed:
variable LFLAG: int - removed:
variable OFLAG: int - removed:
variable OSPEED: int
- removed:
class TNavigator - removed:
class TPen - removed:
class TurtleGraphicsError(Exception) - removed:
class TurtleScreenBase - removed:
constructor TNavigator(mode: str=…) -> None - removed:
constructor TPen(resizemode: str=…) -> None - removed:
constructor TurtleScreenBase(cv: Canvas) -> None - removed:
field TNavigator.DEFAULT_ANGLEOFFSET: int - removed:
field TNavigator.DEFAULT_ANGLEORIENT: int - removed:
field TNavigator.DEFAULT_MODE: str - removed:
field TNavigator.START_ORIENTATION: dict[str, Vec2D] - removed:
field TNavigator.backward - removed:
field TNavigator.bk - removed:
field TNavigator.fd - removed:
field TNavigator.lt - removed:
field TNavigator.position - removed:
field TNavigator.rt - removed:
field TNavigator.seth - removed:
field TNavigator.setpos - removed:
field TNavigator.setposition - removed:
field TPen.down - removed:
field TPen.ht - removed:
field TPen.pd - removed:
field TPen.pu - removed:
field TPen.st - removed:
field TPen.up - removed:
field TPen.width - removed:
field TurtleScreenBase.canvheight: int - removed:
field TurtleScreenBase.canvwidth: int - removed:
field TurtleScreenBase.cv: Canvas - removed:
field TurtleScreenBase.xscale: float - removed:
field TurtleScreenBase.yscale: float - removed:
method TNavigator.back(distance: float) -> None - removed:
method TNavigator.circle(radius: float, extent: float | None=…, steps: int | None=…) -> None - removed:
method TNavigator.degrees(fullcircle: float=…) -> None - removed:
method TNavigator.distance(x: TNavigator | tuple[float, float], y: None=…) -> float | (x: float, y: float) -> float - removed:
method TNavigator.forward(distance: float) -> None - removed:
method TNavigator.goto(x: tuple[float, float], y: None=…) -> None | (x: float, y: float) -> None - removed:
method TNavigator.heading() -> float - removed:
method TNavigator.home() -> None - removed:
method TNavigator.left(angle: float) -> None - removed:
method TNavigator.pos() -> Vec2D - removed:
method TNavigator.radians() -> None - removed:
method TNavigator.reset() -> None - removed:
method TNavigator.right(angle: float) -> None - removed:
method TNavigator.setheading(to_angle: float) -> None - removed:
method TNavigator.setx(x: float) -> None - removed:
method TNavigator.sety(y: float) -> None - removed:
method TNavigator.towards(x: TNavigator | tuple[float, float], y: None=…) -> float | (x: float, y: float) -> float - removed:
method TNavigator.xcor() -> float - removed:
method TNavigator.ycor() -> float - removed:
method TPen.color() -> tuple[_AnyColor, _AnyColor] | (color: _Color) -> None | (r: float, g: float, b: float) -> None | (color1: _Color, color2: _Color) -> None - removed:
method TPen.fillcolor() -> _AnyColor | (color: _Color) -> None | (r: float, g: float, b: float) -> None - removed:
method TPen.hideturtle() -> None - removed:
method TPen.isdown() -> bool - removed:
method TPen.isvisible() -> bool - removed:
method TPen.pen() -> _PenState | (pen: _PenState | None=…, *, shown: bool=…, pendown: bool=…, pencolor: _Color=…, fillcolor: _Color=…, pensize: int=…, speed: int=…, resizemode: str=…, stretchfactor: tuple[float, float]=…, outline: int=…, tilt: float=…) -> None - removed:
method TPen.pencolor() -> _AnyColor | (color: _Color) -> None | (r: float, g: float, b: float) -> None - removed:
method TPen.pendown() -> None - removed:
method TPen.pensize(width: None=…) -> int | (width: int) -> None - removed:
method TPen.penup() -> None - removed:
method TPen.resizemode(rmode: None=…) -> str | (rmode: str) -> None - removed:
method TPen.showturtle() -> None - removed:
method TPen.speed(speed: None=…) -> int | (speed: _Speed) -> None - removed:
method TurtleScreenBase.mainloop() -> None - removed:
method TurtleScreenBase.numinput(title: str, prompt: str, default: float | None=…, minval: float | None=…, maxval: float | None=…) -> float | None - removed:
method TurtleScreenBase.textinput(title: str, prompt: str) -> str | None - changed:
class ScrolledCanvas(Frame) → class ScrolledCanvas(Canvas, Frame) - changed:
method RawTurtle.clone() -> _T → method RawTurtle.clone() -> Self - changed:
method RawTurtle.getturtle() -> _T → method RawTurtle.getturtle() -> Self - added:
constructor ScrolledCanvas(master: Misc | None, width: int=…, height: int=…, canvwidth: int=…, canvheight: int=…) -> None - added:
field ScrolledCanvas.bg: str - added:
field ScrolledCanvas.canvheight: int - added:
field ScrolledCanvas.canvwidth: int - added:
field ScrolledCanvas.hscroll: Scrollbar - added:
field ScrolledCanvas.vscroll: Scrollbar - added:
method ScrolledCanvas.reset(canvwidth: int | None=…, canvheight: int | None=…, bg: str | None=…) -> None
- removed:
class ClassMethodDescriptorType - removed:
class GenericAlias - removed:
class MethodDescriptorType - removed:
class MethodWrapperType - removed:
class NoneType - removed:
class UnionType - removed:
class WrapperDescriptorType - removed:
constructor GenericAlias(origin: type, args: Any) -> None - removed:
field AsyncGeneratorType.ag_await: Awaitable[Any] | None - removed:
field AsyncGeneratorType.ag_code: CodeType - removed:
field AsyncGeneratorType.ag_frame: FrameType - removed:
field AsyncGeneratorType.ag_running: bool - removed:
field CodeType.co_argcount: int - removed:
field CodeType.co_cellvars: tuple[str, ...] - removed:
field CodeType.co_code: bytes - removed:
field CodeType.co_consts: tuple[Any, ...] - removed:
field CodeType.co_filename: str - removed:
field CodeType.co_firstlineno: int - removed:
field CodeType.co_flags: int - removed:
field CodeType.co_freevars: tuple[str, ...] - removed:
field CodeType.co_kwonlyargcount: int - removed:
field CodeType.co_linetable: object - removed:
field CodeType.co_lnotab: bytes - removed:
field CodeType.co_name: str - removed:
field CodeType.co_names: tuple[str, ...] - removed:
field CodeType.co_nlocals: int - removed:
field CodeType.co_posonlyargcount: int - removed:
field CodeType.co_stacksize: int - removed:
field CodeType.co_varnames: tuple[str, ...] - removed:
field CoroutineType.cr_await: Any | None - removed:
field CoroutineType.cr_code: CodeType - removed:
field CoroutineType.cr_frame: FrameType - removed:
field CoroutineType.cr_running: bool - removed:
field FrameType.f_back: FrameType | None - removed:
field FrameType.f_builtins: dict[str, Any] - removed:
field FrameType.f_code: CodeType - removed:
field FrameType.f_globals: dict[str, Any] - removed:
field FrameType.f_lasti: int - removed:
field FrameType.f_lineno: int | Any - removed:
field FrameType.f_locals: dict[str, Any] - removed:
field GeneratorType.gi_code: CodeType - removed:
field GeneratorType.gi_frame: FrameType - removed:
field GeneratorType.gi_running: bool - removed:
field GeneratorType.gi_yieldfrom: GeneratorType[_T_co, _T_contra, Any] | None - removed:
function resolve_bases(bases: Iterable[object]) -> tuple[Any, ...] - removed:
variable BuiltinMethodType - removed:
variable CellType - removed:
variable EllipsisType - removed:
variable NotImplementedType - changed:
constructor MethodType(func: Callable[..., Any], obj: object) -> None → constructor MethodType(__func: Callable[..., Any], __obj: object) -> None - changed:
method AsyncGeneratorType.aclose() -> Awaitable[None] → method AsyncGeneratorType.aclose() -> Coroutine[Any, Any, None] - changed:
method AsyncGeneratorType.asend(__val: _T_contra) -> Awaitable[_T_co] → method AsyncGeneratorType.asend(__val: _T_contra) -> Coroutine[Any, Any, _T_co] - changed:
method AsyncGeneratorType.athrow(__typ: Type[BaseException], __val: BaseException | object=…, __tb: TracebackType | None=…) -> Awaitable[_T_co] | (__typ: BaseException, __val: None=…, __tb: TracebackType | None=…) -> Awaitable[_T_co] → async method AsyncGeneratorType.athrow(__typ: type[BaseException], __val: BaseException | object=…, __tb: TracebackType | None=…) -> _T_co | (__typ: BaseException, __val: None=…, __tb: TracebackType | None=…) -> _T_co - changed:
method CoroutineType.throw(__typ: Type[BaseException], __val: BaseException | object=…, __tb: TracebackType | None=…) -> _T_co | (__typ: BaseException, __val: None=…, __tb: TracebackType | None=…) -> _T_co → method CoroutineType.throw(__typ: type[BaseException], __val: BaseException | object=…, __tb: TracebackType | None=…) -> _T_co | (__typ: BaseException, __val: None=…, __tb: TracebackType | None=…) -> _T_co - changed:
method GeneratorType.throw(__typ: Type[BaseException], __val: BaseException | object=…, __tb: TracebackType | None=…) -> _T_co | (__typ: BaseException, __val: None=…, __tb: TracebackType | None=…) -> _T_co → method GeneratorType.throw(__typ: type[BaseException], __val: BaseException | object=…, __tb: TracebackType | None=…) -> _T_co | (__typ: BaseException, __val: None=…, __tb: TracebackType | None=…) -> _T_co - added:
property AsyncGeneratorType.ag_await -> Awaitable[Any] | None - added:
property AsyncGeneratorType.ag_code -> CodeType - added:
property AsyncGeneratorType.ag_frame -> FrameType - added:
property AsyncGeneratorType.ag_running -> bool - added:
property CodeType.co_argcount -> int - added:
property CodeType.co_cellvars -> tuple[str, ...] - added:
property CodeType.co_code -> bytes - added:
property CodeType.co_consts -> tuple[Any, ...] - added:
property CodeType.co_filename -> str - added:
property CodeType.co_firstlineno -> int - added:
property CodeType.co_flags -> int - added:
property CodeType.co_freevars -> tuple[str, ...] - added:
property CodeType.co_kwonlyargcount -> int - added:
property CodeType.co_linetable -> object - added:
property CodeType.co_lnotab -> bytes - added:
property CodeType.co_name -> str - added:
property CodeType.co_names -> tuple[str, ...] - added:
property CodeType.co_nlocals -> int - added:
property CodeType.co_posonlyargcount -> int - added:
property CodeType.co_stacksize -> int - added:
property CodeType.co_varnames -> tuple[str, ...] - added:
property CoroutineType.cr_await -> Any | None - added:
property CoroutineType.cr_code -> CodeType - added:
property CoroutineType.cr_frame -> FrameType - added:
property CoroutineType.cr_origin -> tuple[tuple[str, int, str], ...] | None - added:
property CoroutineType.cr_running -> bool - added:
property FrameType.f_back -> FrameType | None - added:
property FrameType.f_builtins -> dict[str, Any] - added:
property FrameType.f_code -> CodeType - added:
property FrameType.f_globals -> dict[str, Any] - added:
property FrameType.f_lasti -> int - added:
property FrameType.f_lineno -> int | Any - added:
property FrameType.f_locals -> dict[str, Any] - added:
property GeneratorType.gi_code -> CodeType - added:
property GeneratorType.gi_frame -> FrameType - added:
property GeneratorType.gi_running -> bool - added:
property GeneratorType.gi_yieldfrom -> GeneratorType[_T_co, _T_contra, Any] | None
- removed:
class AsyncContextManager(Protocol[_T_co]) - removed:
class AsyncGenerator(AsyncIterator[_T_co], Generic[_T_co, _T_contra]) - removed:
class AsyncIterable(Protocol[_T_co]) - removed:
class AsyncIterator(AsyncIterable[_T_co], Protocol[_T_co]) - removed:
class Awaitable(Protocol[_T_co]) - removed:
class AwaitableGenerator(Awaitable[_V_co], Generator[_T_co, _T_contra, _V_co], Generic[_T_co, _T_contra, _V_co, _S]) - removed:
class BinaryIO(IO[bytes]) - removed:
class Collection(Iterable[_T_co], Container[_T_co], Protocol[_T_co]) - removed:
class Coroutine(Awaitable[_V_co], Generic[_T_co, _T_contra, _V_co]) - removed:
class ForwardRef - removed:
class IO(Iterator[AnyStr], Generic[AnyStr]) - removed:
class Match(Generic[AnyStr]) - removed:
class ParamSpec - removed:
class ParamSpecArgs - removed:
class ParamSpecKwargs - removed:
class Pattern(Generic[AnyStr]) - removed:
class SupportsIndex(Protocol) - removed:
class TextIO(IO[str]) - removed:
constructor ForwardRef(arg: str, is_argument: bool=…) -> None - removed:
constructor ParamSpec(name: str, *, bound: None | Type[Any] | str=…, contravariant: bool=…, covariant: bool=…) -> None - removed:
constructor ParamSpecArgs(origin: ParamSpec) -> None - removed:
constructor ParamSpecKwargs(origin: ParamSpec) -> None - removed:
field Match.endpos: int - removed:
field Match.lastgroup: str | None - removed:
field Match.lastindex: int | None - removed:
field Match.pos: int - removed:
field Match.re: Pattern[AnyStr] - removed:
field Match.string: AnyStr - removed:
field Pattern.flags: int - removed:
field Pattern.groupindex: Mapping[str, int] - removed:
field Pattern.groups: int - removed:
field Pattern.pattern: AnyStr - removed:
function final(f: _T) -> _T - removed:
function get_args(tp: Any) -> Tuple[Any, ...] - removed:
function get_origin(tp: Any) -> Any | None - removed:
function is_typeddict(tp: object) -> bool - removed:
function runtime_checkable(cls: _TC) -> _TC - removed:
function type_check_only(func_or_cls: _F) -> _F - removed:
method AsyncGenerator.aclose() -> Awaitable[None] - removed:
method AsyncGenerator.asend(__value: _T_contra) -> Awaitable[_T_co] - removed:
method AsyncGenerator.athrow(__typ: Type[BaseException], __val: BaseException | object=…, __tb: TracebackType | None=…) -> Awaitable[_T_co] | (__typ: BaseException, __val: None=…, __tb: TracebackType | None=…) -> Awaitable[_T_co] - removed:
method Coroutine.close() -> None - removed:
method Coroutine.send(__value: _T_contra) -> _T_co - removed:
method Coroutine.throw(__typ: Type[BaseException], __val: BaseException | object=…, __tb: TracebackType | None=…) -> _T_co | (__typ: BaseException, __val: None=…, __tb: TracebackType | None=…) -> _T_co - removed:
method IO.close() -> None - removed:
method IO.fileno() -> int - removed:
method IO.flush() -> None - removed:
method IO.isatty() -> bool - removed:
method IO.read(n: int=…) -> AnyStr - removed:
method IO.readable() -> bool - removed:
method IO.readline(limit: int=…) -> AnyStr - removed:
method IO.readlines(hint: int=…) -> list[AnyStr] - removed:
method IO.seek(offset: int, whence: int=…) -> int - removed:
method IO.seekable() -> bool - removed:
method IO.tell() -> int - removed:
method IO.truncate(size: int | None=…) -> int - removed:
method IO.writable() -> bool - removed:
method IO.write(s: AnyStr) -> int - removed:
method IO.writelines(lines: Iterable[AnyStr]) -> None - removed:
method Match.end(__group: int | str=…) -> int - removed:
method Match.expand(template: AnyStr) -> AnyStr - removed:
method Match.group(__group: _Literal[0]=…) -> AnyStr | (__group: str | int) -> AnyStr | Any | (__group1: str | int, __group2: str | int, *groups: str | int) -> Tuple[AnyStr | Any, ...] - removed:
method Match.groupdict() -> dict[str, AnyStr | Any] | (default: _T) -> dict[str, AnyStr | _T] - removed:
method Match.groups() -> Tuple[AnyStr | Any, ...] | (default: _T) -> Tuple[AnyStr | _T, ...] - removed:
method Match.span(__group: int | str=…) -> tuple[int, int] - removed:
method Match.start(__group: int | str=…) -> int - removed:
method Pattern.findall(string: AnyStr, pos: int=…, endpos: int=…) -> list[Any] - removed:
method Pattern.finditer(string: AnyStr, pos: int=…, endpos: int=…) -> Iterator[Match[AnyStr]] - removed:
method Pattern.fullmatch(string: AnyStr, pos: int=…, endpos: int=…) -> Match[AnyStr] | None - removed:
method Pattern.match(string: AnyStr, pos: int=…, endpos: int=…) -> Match[AnyStr] | None - removed:
method Pattern.search(string: AnyStr, pos: int=…, endpos: int=…) -> Match[AnyStr] | None - removed:
method Pattern.split(string: AnyStr, maxsplit: int=…) -> list[AnyStr | Any] - removed:
method Pattern.sub(repl: AnyStr, string: AnyStr, count: int=…) -> AnyStr | (repl: Callable[[Match[AnyStr]], AnyStr], string: AnyStr, count: int=…) -> AnyStr - removed:
method Pattern.subn(repl: AnyStr, string: AnyStr, count: int=…) -> tuple[AnyStr, int] | (repl: Callable[[Match[AnyStr]], AnyStr], string: AnyStr, count: int=…) -> tuple[AnyStr, int] - removed:
property AsyncGenerator.ag_await -> Any - removed:
property AsyncGenerator.ag_code -> CodeType - removed:
property AsyncGenerator.ag_frame -> FrameType - removed:
property AsyncGenerator.ag_running -> bool - removed:
property Coroutine.cr_await -> Any | None - removed:
property Coroutine.cr_code -> CodeType - removed:
property Coroutine.cr_frame -> FrameType - removed:
property Coroutine.cr_running -> bool - removed:
property IO.closed -> bool - removed:
property IO.mode -> str - removed:
property IO.name -> str - removed:
property Match.regs -> Tuple[tuple[int, int], ...] - removed:
property ParamSpec.args -> ParamSpecArgs - removed:
property ParamSpec.kwargs -> ParamSpecKwargs - removed:
property TextIO.buffer -> BinaryIO - removed:
property TextIO.encoding -> str - removed:
property TextIO.errors -> str | None - removed:
property TextIO.line_buffering -> int - removed:
property TextIO.newlines -> Any - removed:
variable Annotated: _SpecialForm - removed:
variable ChainMap - removed:
variable Concatenate: _SpecialForm - removed:
variable Final: _SpecialForm - removed:
variable Literal: _SpecialForm - removed:
variable NoReturn: _SpecialForm - removed:
variable OrderedDict - removed:
variable Protocol: _SpecialForm - removed:
variable TypeAlias: _SpecialForm - removed:
variable TypeGuard: _SpecialForm - removed:
variable TypedDict: object - changed:
class ItemsView(MappingView, AbstractSet[Tuple[_KT_co, _VT_co]], Generic[_KT_co, _VT_co]) → class ItemsView(MappingView, AbstractSet[tuple[_KT_co, _VT_co]], Generic[_KT_co, _VT_co]) - changed:
class NamedTuple(Tuple[Any, ...]) → class NamedTuple(tuple[Any, ...]) - changed:
constructor NewType(name: str, tp: type) -> None → constructor NewType(name: str, tp: Any) -> None - changed:
constructor TypeVar(name: str, *constraints: Type[Any], bound: None | Type[Any] | str=…, covariant: bool=…, contravariant: bool=…) -> None → constructor TypeVar(name: str, *constraints: Any, bound: Any | None=…, covariant: bool=…, contravariant: bool=…) -> None - changed:
function NewType(name: str, tp: Type[_T]) -> Type[_T] → function NewType(name: str, tp: Any) -> Any - changed:
method Mapping.get(key: _KT) -> _VT_co | None | (__key: _KT, __default: _VT_co | _T) -> _VT_co | _T → method Mapping.get(__key: _KT) -> _VT_co | None | (__key: _KT, default: _VT_co | _T) -> _VT_co | _T - changed:
method MutableMapping.pop(__key: _KT) -> _VT | (__key: _KT, __default: _VT | _T=…) -> _VT | _T → method MutableMapping.pop(__key: _KT) -> _VT | (__key: _KT, default: _VT | _T) -> _VT | _T - changed:
method MutableMapping.setdefault(__key: _KT, __default: _VT=…) -> _VT → method MutableMapping.setdefault(__key: _KT) -> _T | None | (__key: _KT, __default: _VT) -> _VT - changed:
variable TYPE_CHECKING → variable TYPE_CHECKING: bool
- removed:
class ParamSpecArgs - removed:
class ParamSpecKwargs - removed:
constructor ParamSpecArgs(origin: ParamSpec) -> None - removed:
constructor ParamSpecKwargs(origin: ParamSpec) -> None - changed:
constructor ParamSpec(name: str, *, bound: None | Type[Any] | str=…, contravariant: bool=…, covariant: bool=…) -> None → constructor ParamSpec(name: str, *, bound: None | type[Any] | str=…, contravariant: bool=…, covariant: bool=…) -> None - added:
class TypeVarTuple - added:
constructor TypeVarTuple(name: str) -> None - added:
export AsyncContextManager - added:
export AsyncGenerator - added:
export AsyncIterable - added:
export AsyncIterator - added:
export Awaitable - added:
export ChainMap - added:
export ClassVar - added:
export Concatenate - added:
export ContextManager - added:
export Coroutine - added:
export Counter - added:
export DefaultDict - added:
export Deque - added:
export Never - added:
export NewType - added:
export NoReturn - added:
export ParamSpec - added:
export Self - added:
export TYPE_CHECKING - added:
export Text - added:
export Type - added:
export TypeAlias - added:
export TypeGuard - added:
export assert_never - added:
export assert_type - added:
export is_typeddict - added:
export overload - added:
export reveal_type - added:
function assert_never(__arg: NoReturn) -> NoReturn - added:
function assert_type(__val: _T, __typ: Any) -> _T - added:
function dataclass_transform(*, eq_default: bool=…, order_default: bool=…, kw_only_default: bool=…, field_descriptors: tuple[type[Any] | Callable[..., Any], ...]=…) -> Callable[[_T], _T] - added:
function is_typeddict(tp: object) -> bool - added:
function reveal_type(__obj: _T) -> _T - added:
variable LiteralString: _SpecialForm - added:
variable Never: _SpecialForm - added:
variable Unpack: _SpecialForm
- removed:
export BaseTestSuite - removed:
export TestProgram - removed:
export addModuleCleanup - removed:
function load_tests(loader: TestLoader, tests: TestSuite, pattern: str | None) -> TestSuite
- changed:
method IsolatedAsyncioTestCase.addAsyncCleanup(__func: Callable[..., Awaitable[Any]], *args: Any, **kwargs: Any) -> None → method IsolatedAsyncioTestCase.addAsyncCleanup(__func: Callable[_P, Awaitable[object]], *args: _P.args, **kwargs: _P.kwargs) -> None
- changed:
field TestCase.failureException: Type[BaseException] → field TestCase.failureException: type[BaseException] - changed:
function addModuleCleanup(__function: Callable[..., Any], *args: Any, **kwargs: Any) -> None → function addModuleCleanup(__function: Callable[_P, object], *args: _P.args, **kwargs: _P.kwargs) -> None - changed:
method TestCase.addCleanup(function: Callable[..., Any], *args: Any, **kwargs: Any) -> None → method TestCase.addCleanup(function: Callable[_P, object], *args: _P.args, **kwargs: _P.kwargs) -> None - changed:
method TestCase.addTypeEqualityFunc(typeobj: Type[Any], function: Callable[..., None]) -> None → method TestCase.addTypeEqualityFunc(typeobj: type[Any], function: Callable[..., None]) -> None - changed:
method TestCase.assertRaises(expected_exception: Type[BaseException] | tuple[Type[BaseException], ...], callable: Callable[..., Any], *args: Any, **kwargs: Any) -> None | (expected_exception: Type[_E] | tuple[Type[_E], ...], msg: Any=…) -> _AssertRaisesContext[_E] → method TestCase.assertRaises(expected_exception: type[BaseException] | tuple[type[BaseException], ...], callable: Callable[..., object], *args: Any, **kwargs: Any) -> None | (expected_exception: type[_E] | tuple[type[_E], ...], msg: Any=…) -> _AssertRaisesContext[_E] - changed:
method TestCase.assertRaisesRegex(expected_exception: Type[BaseException] | tuple[Type[BaseException], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], callable: Callable[..., Any], *args: Any, **kwargs: Any) -> None | (expected_exception: Type[_E] | tuple[Type[_E], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], msg: Any=…) -> _AssertRaisesContext[_E] → method TestCase.assertRaisesRegex(expected_exception: type[BaseException] | tuple[type[BaseException], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], callable: Callable[..., object], *args: Any, **kwargs: Any) -> None | (expected_exception: type[_E] | tuple[type[_E], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], msg: Any=…) -> _AssertRaisesContext[_E] - changed:
method TestCase.assertRaisesRegexp(exception: Type[BaseException] | tuple[Type[BaseException], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], callable: Callable[..., Any], *args: Any, **kwargs: Any) -> None | (exception: Type[_E] | tuple[Type[_E], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], msg: Any=…) -> _AssertRaisesContext[_E] → method TestCase.assertRaisesRegexp(exception: type[BaseException] | tuple[type[BaseException], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], callable: Callable[..., object], *args: Any, **kwargs: Any) -> None | (exception: type[_E] | tuple[type[_E], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], msg: Any=…) -> _AssertRaisesContext[_E] - changed:
method TestCase.assertSequenceEqual(seq1: Sequence[Any], seq2: Sequence[Any], msg: Any=…, seq_type: Type[Sequence[Any]] | None=…) -> None → method TestCase.assertSequenceEqual(seq1: Sequence[Any], seq2: Sequence[Any], msg: Any=…, seq_type: type[Sequence[Any]] | None=…) -> None - changed:
method TestCase.assertWarns(expected_warning: Type[Warning] | tuple[Type[Warning], ...], callable: Callable[..., Any], *args: Any, **kwargs: Any) -> None | (expected_warning: Type[Warning] | tuple[Type[Warning], ...], msg: Any=…) -> _AssertWarnsContext → method TestCase.assertWarns(expected_warning: type[Warning] | tuple[type[Warning], ...], callable: Callable[_P, object], *args: _P.args, **kwargs: _P.kwargs) -> None | (expected_warning: type[Warning] | tuple[type[Warning], ...], msg: Any=…) -> _AssertWarnsContext - changed:
method TestCase.assertWarnsRegex(expected_warning: Type[Warning] | tuple[Type[Warning], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], callable: Callable[..., Any], *args: Any, **kwargs: Any) -> None | (expected_warning: Type[Warning] | tuple[Type[Warning], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], msg: Any=…) -> _AssertWarnsContext → method TestCase.assertWarnsRegex(expected_warning: type[Warning] | tuple[type[Warning], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], callable: Callable[_P, object], *args: _P.args, **kwargs: _P.kwargs) -> None | (expected_warning: type[Warning] | tuple[type[Warning], ...], expected_regex: str | bytes | Pattern[str] | Pattern[bytes], msg: Any=…) -> _AssertWarnsContext - changed:
method TestCase.failUnlessRaises(exception: Type[BaseException] | tuple[Type[BaseException], ...], callable: Callable[..., Any]=…, *args: Any, **kwargs: Any) -> None | (exception: Type[_E] | tuple[Type[_E], ...], msg: Any=…) -> _AssertRaisesContext[_E] → method TestCase.failUnlessRaises(exception: type[BaseException] | tuple[type[BaseException], ...], callable: Callable[_P, object]=…, *args: _P.args, **kwargs: _P.kwargs) -> None | (exception: type[_E] | tuple[type[_E], ...], msg: Any=…) -> _AssertRaisesContext[_E] - changed:
static method TestCase.addClassCleanup(__function: Callable[..., Any], *args: Any, **kwargs: Any) -> None → static method TestCase.addClassCleanup(__function: Callable[_P, object], *args: _P.args, **kwargs: _P.kwargs) -> None
- changed:
field TestLoader.errors: list[Type[BaseException]] → field TestLoader.errors: list[type[BaseException]] - changed:
function getTestCaseNames(testCaseClass: Type[unittest.case.TestCase], prefix: str, sortUsing: _SortComparisonMethod=…) -> Sequence[str] → function getTestCaseNames(testCaseClass: type[unittest.case.TestCase], prefix: str, sortUsing: _SortComparisonMethod=…) -> Sequence[str] - changed:
function makeSuite(testCaseClass: Type[unittest.case.TestCase], prefix: str=…, sortUsing: _SortComparisonMethod=…, suiteClass: _SuiteClass=…) -> unittest.suite.TestSuite → function makeSuite(testCaseClass: type[unittest.case.TestCase], prefix: str=…, sortUsing: _SortComparisonMethod=…, suiteClass: _SuiteClass=…) -> unittest.suite.TestSuite - changed:
method TestLoader.getTestCaseNames(testCaseClass: Type[unittest.case.TestCase]) -> Sequence[str] → method TestLoader.getTestCaseNames(testCaseClass: type[unittest.case.TestCase]) -> Sequence[str] - changed:
method TestLoader.loadTestsFromTestCase(testCaseClass: Type[unittest.case.TestCase]) -> unittest.suite.TestSuite → method TestLoader.loadTestsFromTestCase(testCaseClass: type[unittest.case.TestCase]) -> unittest.suite.TestSuite
- changed:
constructor TestProgram(module: None | str | ModuleType=…, defaultTest: str | Iterable[str] | None=…, argv: list[str] | None=…, testRunner: Type[_TestRunner] | _TestRunner | None=…, testLoader: unittest.loader.TestLoader=…, exit: bool=…, verbosity: int=…, failfast: bool | None=…, catchbreak: bool | None=…, buffer: bool | None=…, warnings: str | None=…, *, tb_locals: bool=…) -> None → constructor TestProgram(module: None | str | ModuleType=…, defaultTest: str | Iterable[str] | None=…, argv: list[str] | None=…, testRunner: type[_TestRunner] | _TestRunner | None=…, testLoader: unittest.loader.TestLoader=…, exit: bool=…, verbosity: int=…, failfast: bool | None=…, catchbreak: bool | None=…, buffer: bool | None=…, warnings: str | None=…, *, tb_locals: bool=…) -> None
- changed:
constructor NonCallableMock(spec: list[str] | object | Type[object] | None=…, wraps: Any | None=…, name: str | None=…, spec_set: list[str] | object | Type[object] | None=…, parent: NonCallableMock | None=…, _spec_state: Any | None=…, _new_name: str=…, _new_parent: NonCallableMock | None=…, _spec_as_instance: bool=…, _eat_self: bool | None=…, unsafe: bool=…, **kwargs: Any) -> None → constructor NonCallableMock(spec: list[str] | object | type[object] | None=…, wraps: Any | None=…, name: str | None=…, spec_set: list[str] | object | type[object] | None=…, parent: NonCallableMock | None=…, _spec_state: Any | None=…, _new_name: str=…, _new_parent: NonCallableMock | None=…, _spec_as_instance: bool=…, _eat_self: bool | None=…, unsafe: bool=…, **kwargs: Any) -> None
- removed:
field TextTestResult.showall: bool - changed:
constructor TextTestRunner(stream: TextIO | None=…, descriptions: bool=…, verbosity: int=…, failfast: bool=…, buffer: bool=…, resultclass: _ResultClassType | None=…, warnings: Type[Warning] | None=…, *, tb_locals: bool=…) -> None → constructor TextTestRunner(stream: TextIO | None=…, descriptions: bool=…, verbosity: int=…, failfast: bool=…, buffer: bool=…, resultclass: _ResultClassType | None=…, warnings: type[Warning] | None=…, *, tb_locals: bool=…) -> None - changed:
method TextTestResult.printErrorList(flavour: str, errors: tuple[unittest.case.TestCase, str]) -> None → method TextTestResult.printErrorList(flavour: str, errors: Iterable[tuple[unittest.case.TestCase, str]]) -> None - added:
field TextTestResult.showAll: bool
- added:
property HTTPError.reason -> str
- removed:
variable MAX_CACHE_SIZE: int - removed:
variable non_hierarchical: list[str] - removed:
variable scheme_chars: str - removed:
variable uses_fragment: list[str] - removed:
variable uses_netloc: list[str] - removed:
variable uses_params: list[str] - removed:
variable uses_query: list[str] - removed:
variable uses_relative: list[str]
- removed:
class AbstractHTTPHandler(BaseHandler) - removed:
class ftpwrapper - removed:
constructor AbstractHTTPHandler(debuglevel: int=…) -> None - removed:
constructor ftpwrapper(user: str, passwd: str, host: str, port: int, dirs: str, timeout: float | None=…, persistent: bool=…) -> None - removed:
function parse_http_list(s: str) -> list[str] - removed:
function parse_keqv_list(l: list[str]) -> dict[str, str] - removed:
function proxy_bypass(host: str, proxies: Mapping[str, str] | None=…) -> Any - removed:
method AbstractHTTPHandler.do_open(http_class: _HTTPConnectionProtocol, req: Request, **http_conn_args: Any) -> HTTPResponse - removed:
method AbstractHTTPHandler.do_request_(request: Request) -> Request - removed:
method AbstractHTTPHandler.set_http_debuglevel(level: int) -> None - removed:
method ftpwrapper.close() -> None - removed:
method ftpwrapper.endtransfer() -> None - removed:
method ftpwrapper.file_close() -> None - removed:
method ftpwrapper.init() -> None - removed:
method ftpwrapper.real_close() -> None - removed:
method ftpwrapper.retrfile(file: str, type: str) -> tuple[addclosehook, int] - changed:
constructor Request(url: str, data: bytes | None=…, headers: dict[str, str]=…, origin_req_host: str | None=…, unverifiable: bool=…, method: str | None=…) -> None → constructor Request(url: str, data: _DataType=…, headers: MutableMapping[str, str]=…, origin_req_host: str | None=…, unverifiable: bool=…, method: str | None=…) -> None - changed:
field Request.data: bytes | None → field Request.data: _DataType - changed:
field Request.headers: dict[str, str] → field Request.headers: MutableMapping[str, str] - changed:
function urlopen(url: str | Request, data: bytes | None=…, timeout: float | None=…, *, cafile: str | None=…, capath: str | None=…, cadefault: bool=…, context: ssl.SSLContext | None=…) -> _UrlopenRet → function urlopen(url: str | Request, data: _DataType | None=…, timeout: float | None=…, *, cafile: str | None=…, capath: str | None=…, cadefault: bool=…, context: ssl.SSLContext | None=…) -> _UrlopenRet - changed:
function urlretrieve(url: str, filename: StrOrBytesPath | None=…, reporthook: Callable[[int, int, int], None] | None=…, data: bytes | None=…) -> tuple[str, HTTPMessage] → function urlretrieve(url: str, filename: StrOrBytesPath | None=…, reporthook: Callable[[int, int, int], None] | None=…, data: _DataType=…) -> tuple[str, HTTPMessage] - changed:
method OpenerDirector.open(fullurl: str | Request, data: bytes | None=…, timeout: float | None=…) -> _UrlopenRet → method OpenerDirector.open(fullurl: str | Request, data: _DataType=…, timeout: float | None=…) -> _UrlopenRet - added:
export pathname2url - added:
export url2pathname
- changed:
method RobotFileParser.request_rate(useragent: str) -> _RequestRate | None → method RobotFileParser.request_rate(useragent: str) -> RequestRate | None
- removed:
class WarningMessage - removed:
constructor WarningMessage(message: Warning | str, category: Type[Warning], filename: str, lineno: int, file: TextIO | None=…, line: str | None=…, source: Any | None=…) -> None - removed:
field WarningMessage.category: Type[Warning] - removed:
field WarningMessage.file: TextIO | None - removed:
field WarningMessage.filename: str - removed:
field WarningMessage.line: str | None - removed:
field WarningMessage.lineno: int - removed:
field WarningMessage.message: Warning | str - removed:
field WarningMessage.source: Any | None - removed:
variable filters: Sequence[tuple[str, str | None, Type[Warning], str | None, int]] - changed:
function filterwarnings(action: _ActionKind, message: str=…, category: Type[Warning]=…, module: str=…, lineno: int=…, append: bool=…) -> None → function filterwarnings(action: _ActionKind, message: str=…, category: type[Warning]=…, module: str=…, lineno: int=…, append: bool=…) -> None - changed:
function formatwarning(message: Warning | str, category: Type[Warning], filename: str, lineno: int, line: str | None=…) -> str → function formatwarning(message: Warning | str, category: type[Warning], filename: str, lineno: int, line: str | None=…) -> str - changed:
function showwarning(message: Warning | str, category: Type[Warning], filename: str, lineno: int, file: TextIO | None=…, line: str | None=…) -> None → function showwarning(message: Warning | str, category: type[Warning], filename: str, lineno: int, file: TextIO | None=…, line: str | None=…) -> None - changed:
function simplefilter(action: _ActionKind, category: Type[Warning]=…, lineno: int=…, append: bool=…) -> None → function simplefilter(action: _ActionKind, category: type[Warning]=…, lineno: int=…, append: bool=…) -> None - added:
export warn - added:
export warn_explicit
- removed:
variable WAVE_FORMAT_PCM: int - changed:
function open(f: _File, mode: str | None=…) -> Any → function open(f: _File, mode: Literal['r', 'rb']) -> Wave_read | (f: _File, mode: Literal['w', 'wb']) -> Wave_write | (f: _File, mode: str | None=…) -> Any - changed:
method Wave_write.writeframes(data: bytes) -> None → method Wave_write.writeframes(data: ReadableBuffer) -> None - changed:
method Wave_write.writeframesraw(data: bytes) -> None → method Wave_write.writeframesraw(data: ReadableBuffer) -> None
- removed:
class KeyedRef(ref[_T], Generic[_KT, _T]) - removed:
constructor KeyedRef(ob: _T, callback: Callable[[_T], Any], key: _KT) -> None - removed:
field KeyedRef.key: _KT - removed:
field finalize.alive: bool - changed:
constructor WeakValueDictionary() -> None | (__other: Mapping[_KT, _VT] | Iterable[tuple[_KT, _VT]], **kwargs: _VT) -> None → constructor WeakValueDictionary() -> None | (__other: Mapping[_KT, _VT] | Iterable[tuple[_KT, _VT]]) -> None | (__other: Mapping[str, _VT] | Iterable[tuple[str, _VT]]=…, **kwargs: _VT) -> None - changed:
constructor finalize(__obj: object, __func: Callable[..., Any], *args: Any, **kwargs: Any) -> None → constructor finalize(__obj: object, __func: Callable[_P, Any], *args: _P.args, **kwargs: _P.kwargs) -> None - changed:
variable ProxyTypes: tuple[Type[Any], ...] → variable ProxyTypes: tuple[type[Any], ...] - added:
export CallableProxyType - added:
export ProxyType - added:
export ReferenceType - added:
export WeakSet - added:
export getweakrefcount - added:
export getweakrefs - added:
export proxy - added:
export ref - added:
property finalize.alive -> bool
- removed:
class BackgroundBrowser(GenericBrowser) - removed:
class BaseBrowser - removed:
class Chrome(UnixBrowser) - removed:
class Elinks(UnixBrowser) - removed:
class Galeon(UnixBrowser) - removed:
class GenericBrowser(BaseBrowser) - removed:
class Grail(BaseBrowser) - removed:
class Konqueror(BaseBrowser) - removed:
class MacOSX(BaseBrowser) - removed:
class MacOSXOSAScript(BaseBrowser) - removed:
class Mozilla(UnixBrowser) - removed:
class Opera(UnixBrowser) - removed:
class UnixBrowser(BaseBrowser) - removed:
class WindowsDefault(BaseBrowser) - removed:
constructor BaseBrowser(name: str=…) -> None - removed:
constructor GenericBrowser(name: str | Sequence[str]) -> None - removed:
field BaseBrowser.args: list[str] - removed:
field BaseBrowser.basename: str - removed:
field BaseBrowser.name: str - removed:
field Galeon.raise_opts: list[str] - removed:
field UnixBrowser.background: bool - removed:
field UnixBrowser.raise_opts: list[str] | None - removed:
field UnixBrowser.redirect_stdout: bool - removed:
field UnixBrowser.remote_action: str - removed:
field UnixBrowser.remote_action_newtab: str - removed:
field UnixBrowser.remote_action_newwin: str - removed:
field UnixBrowser.remote_args: list[str] - removed:
method BaseBrowser.open(url: str, new: int=…, autoraise: bool=…) -> bool - removed:
method BaseBrowser.open_new(url: str) -> bool - removed:
method BaseBrowser.open_new_tab(url: str) -> bool
- changed:
variable MB_ICONASTERISK: int → variable MB_ICONASTERISK: Literal[64] - changed:
variable MB_ICONEXCLAMATION: int → variable MB_ICONEXCLAMATION: Literal[48] - changed:
variable MB_ICONHAND: int → variable MB_ICONHAND: Literal[16] - changed:
variable MB_ICONQUESTION: int → variable MB_ICONQUESTION: Literal[32] - changed:
variable MB_OK: int → variable MB_OK: Literal[0] - changed:
variable SND_ALIAS: int → variable SND_ALIAS: Literal[65536] - changed:
variable SND_ASYNC: int → variable SND_ASYNC: Literal[1] - changed:
variable SND_FILENAME: int → variable SND_FILENAME: Literal[131072] - changed:
variable SND_LOOP: int → variable SND_LOOP: Literal[8] - changed:
variable SND_MEMORY: int → variable SND_MEMORY: Literal[4] - changed:
variable SND_NODEFAULT: int → variable SND_NODEFAULT: Literal[2] - changed:
variable SND_NOSTOP: int → variable SND_NOSTOP: Literal[16] - changed:
variable SND_NOWAIT: int → variable SND_NOWAIT: Literal[8192] - changed:
variable SND_PURGE: int → variable SND_PURGE: Literal[64]
- removed:
function format_date_time(timestamp: float | None) -> str - changed:
field BaseHandler.headers_class: Type[Headers] → field BaseHandler.headers_class: type[Headers] - changed:
field BaseHandler.wsgi_file_wrapper: Type[FileWrapper] | None → field BaseHandler.wsgi_file_wrapper: type[FileWrapper] | None
- removed:
class ServerHandler(SimpleHandler) - removed:
field ServerHandler.server_software: str - removed:
method ServerHandler.close() -> None - removed:
variable server_version: str - removed:
variable software_version: str - removed:
variable sys_version: str - changed:
function make_server(host: str, port: int, app: WSGIApplication, *, handler_class: Type[WSGIRequestHandler]=…) -> WSGIServer | (host: str, port: int, app: WSGIApplication, server_class: Type[_S], handler_class: Type[WSGIRequestHandler]=…) -> _S → function make_server(host: str, port: int, app: WSGIApplication, *, handler_class: type[WSGIRequestHandler]=…) -> WSGIServer | (host: str, port: int, app: WSGIApplication, server_class: type[_S], handler_class: type[WSGIRequestHandler]=…) -> _S
- removed:
function is_hop_by_hop(header_name: str) -> bool
- removed:
class ErrorWrapper - removed:
class InputWrapper - removed:
class IteratorWrapper - removed:
class PartialIteratorWrapper - removed:
class WSGIWarning(Warning) - removed:
class WriteWrapper - removed:
constructor ErrorWrapper(wsgi_errors: ErrorStream) -> None - removed:
constructor InputWrapper(wsgi_input: InputStream) -> None - removed:
constructor IteratorWrapper(wsgi_iterator: Iterator[bytes], check_start_response: bool | None) -> None - removed:
constructor PartialIteratorWrapper(wsgi_iterator: Iterator[bytes]) -> None - removed:
constructor WriteWrapper(wsgi_writer: Callable[[bytes], Any]) -> None - removed:
field ErrorWrapper.errors: ErrorStream - removed:
field InputWrapper.input: InputStream - removed:
field IteratorWrapper.check_start_response: bool | None - removed:
field IteratorWrapper.closed: bool - removed:
field IteratorWrapper.iterator: Iterator[bytes] - removed:
field IteratorWrapper.original_iterator: Iterator[bytes] - removed:
field PartialIteratorWrapper.iterator: Iterator[bytes] - removed:
field WriteWrapper.writer: Callable[[bytes], Any] - removed:
method ErrorWrapper.close() -> NoReturn - removed:
method ErrorWrapper.flush() -> None - removed:
method ErrorWrapper.write(s: str) -> None - removed:
method ErrorWrapper.writelines(seq: Iterable[str]) -> None - removed:
method InputWrapper.close() -> NoReturn - removed:
method InputWrapper.read(size: int) -> bytes - removed:
method InputWrapper.readline(size: int=…) -> bytes - removed:
method InputWrapper.readlines(hint: int=…) -> bytes - removed:
method IteratorWrapper.close() -> None
- changed:
function defproperty(klass: Type[Any], name: str, doc: str) -> None → function defproperty(klass: type[Any], name: str, doc: str) -> None - changed:
variable StringTypes: tuple[Type[str]] → variable StringTypes: tuple[type[str]]
- changed:
function parse(file: str | IO[Any], parser: XMLReader | None=…, bufsize: int | None=…) → function parse(file: str | SupportsRead[bytes] | SupportsRead[str], parser: XMLReader | None=…, bufsize: int | None=…)
- changed:
constructor DOMEventStream(stream: IO[bytes], parser: XMLReader, bufsize: int) -> None → constructor DOMEventStream(stream: SupportsRead[bytes] | SupportsRead[str], parser: XMLReader, bufsize: int) -> None - changed:
field DOMEventStream.stream: IO[bytes] → field DOMEventStream.stream: SupportsRead[bytes] | SupportsRead[str] - changed:
function parse(stream_or_string: str | IO[bytes], parser: XMLReader | None=…, bufsize: int | None=…) -> DOMEventStream → function parse(stream_or_string: str | SupportsRead[bytes] | SupportsRead[str], parser: XMLReader | None=…, bufsize: int | None=…) -> DOMEventStream
- removed:
class DOMBuilderFilter - removed:
class DOMImplementationLS - removed:
class DocumentLS - removed:
class Options - removed:
field DOMBuilderFilter.FILTER_ACCEPT: Literal[1] - removed:
field DOMBuilderFilter.FILTER_INTERRUPT: Literal[4] - removed:
field DOMBuilderFilter.FILTER_REJECT: Literal[2] - removed:
field DOMBuilderFilter.FILTER_SKIP: Literal[3] - removed:
field DOMBuilderFilter.whatToShow: int - removed:
field DOMImplementationLS.MODE_ASYNCHRONOUS: Literal[2] - removed:
field DOMImplementationLS.MODE_SYNCHRONOUS: Literal[1] - removed:
field DocumentLS.async_: bool - removed:
field Options.cdata_sections: bool - removed:
field Options.charset_overrides_xml_encoding: bool - removed:
field Options.comments: bool - removed:
field Options.create_entity_ref_nodes: bool - removed:
field Options.datatype_normalization: bool - removed:
field Options.entities: bool - removed:
field Options.errorHandler: Any | None - removed:
field Options.external_dtd_subset: bool - removed:
field Options.external_general_entities: bool - removed:
field Options.external_parameter_entities: bool - removed:
field Options.filter: DOMBuilderFilter | None - removed:
field Options.infoset: bool - removed:
field Options.namespace_declarations: bool - removed:
field Options.namespaces: int - removed:
field Options.supported_mediatypes_only: bool - removed:
field Options.validate: bool - removed:
field Options.validate_if_schema: bool - removed:
field Options.validation: bool - removed:
field Options.whitespace_in_element_content: bool - removed:
method DOMBuilderFilter.acceptNode(element: object) -> Literal[1] - removed:
method DOMBuilderFilter.startContainer(element: object) -> Literal[1] - removed:
method DOMImplementationLS.createDOMBuilder(mode: Literal[1], schemaType: None) -> DOMBuilder - removed:
method DOMImplementationLS.createDOMInputSource() -> DOMInputSource - removed:
method DOMImplementationLS.createDOMWriter() -> NoReturn - removed:
method DocumentLS.abort() -> NoReturn - removed:
method DocumentLS.load(uri: object) -> NoReturn - removed:
method DocumentLS.loadXML(source: object) -> NoReturn - removed:
method DocumentLS.saveXML(snode: Node | None) -> str
- removed:
class C14NWriterTarget - removed:
constructor C14NWriterTarget(write: Callable[[str], Any], *, with_comments: bool=…, strip_text: bool=…, rewrite_prefixes: bool=…, qname_aware_tags: Iterable[str] | None=…, qname_aware_attrs: Iterable[str] | None=…, exclude_attrs: Iterable[str] | None=…, exclude_tags: Iterable[str] | None=…) -> None - removed:
function canonicalize(xml_data: str | bytes | None=…, *, out: None=…, from_file: _File | None=…, with_comments: bool=…, strip_text: bool=…, rewrite_prefixes: bool=…, qname_aware_tags: Iterable[str] | None=…, qname_aware_attrs: Iterable[str] | None=…, exclude_attrs: Iterable[str] | None=…, exclude_tags: Iterable[str] | None=…) -> str | (xml_data: str | bytes | None=…, *, out: SupportsWrite[str], f… - removed:
function indent(tree: Element | ElementTree, space: str=…, level: int=…) -> None - removed:
method C14NWriterTarget.comment(text: str) -> None - removed:
method C14NWriterTarget.data(data: str) -> None - removed:
method C14NWriterTarget.end(tag: str) -> None - removed:
method C14NWriterTarget.pi(target: str, data: str) -> None - removed:
method C14NWriterTarget.start(tag: str, attrs: Mapping[str, str]) -> None - removed:
method C14NWriterTarget.start_ns(prefix: str, uri: str) -> None - changed:
constructor ElementTree(element: Element | None=…, file: _File | None=…) -> None → constructor ElementTree(element: Element | None=…, file: _FileRead | None=…) -> None - changed:
function iselement(element: object) -> bool → function iselement(element: object) -> TypeGuard[Element] - changed:
function iterparse(source: _File, events: Sequence[str] | None=…, parser: XMLParser | None=…) -> Iterator[tuple[str, Any]] → function iterparse(source: _FileRead, events: Sequence[str] | None=…, parser: XMLParser | None=…) -> Iterator[tuple[str, Any]] - changed:
function parse(source: _File, parser: XMLParser | None=…) -> ElementTree → function parse(source: _FileRead, parser: XMLParser | None=…) -> ElementTree - changed:
method ElementTree.parse(source: _File, parser: XMLParser | None=…) -> Element → method ElementTree.parse(source: _FileRead, parser: XMLParser | None=…) -> Element - changed:
method ElementTree.write(file_or_filename: _File, encoding: str | None=…, xml_declaration: bool | None=…, default_namespace: str | None=…, method: str | None=…, *, short_empty_elements: bool=…) -> None → method ElementTree.write(file_or_filename: _FileWrite, encoding: str | None=…, xml_declaration: bool | None=…, default_namespace: str | None=…, method: str | None=…, *, short_empty_elements: bool=…) -> None - changed:
method ElementTree.write_c14n(file: _File) -> None → method ElementTree.write_c14n(file: _FileWriteC14N) -> None
- changed:
function parse(source: str | IO[str] | IO[bytes], handler: ContentHandler, errorHandler: ErrorHandler=…) -> None → function parse(source: str | _SupportsReadClose[bytes] | _SupportsReadClose[str], handler: ContentHandler, errorHandler: ErrorHandler=…) -> None
- changed:
field Marshaller.dispatch: dict[Type[Any], Callable[[Marshaller, Any, Callable[[str], Any]], None]] → field Marshaller.dispatch: dict[type[Any], Callable[[Marshaller, Any, Callable[[str], Any]], None]] - changed:
variable WRAPPERS: tuple[Type[DateTime], Type[Binary]] → variable WRAPPERS: tuple[type[DateTime], type[Binary]]
- changed:
constructor DocXMLRPCServer(addr: tuple[str, int], requestHandler: Type[SimpleXMLRPCRequestHandler]=…, logRequests: bool=…, allow_none: bool=…, encoding: str | None=…, bind_and_activate: bool=…, use_builtin_types: bool=…) -> None → constructor DocXMLRPCServer(addr: tuple[str, int], requestHandler: type[SimpleXMLRPCRequestHandler]=…, logRequests: bool=…, allow_none: bool=…, encoding: str | None=…, bind_and_activate: bool=…, use_builtin_types: bool=…) -> None - changed:
constructor MultiPathXMLRPCServer(addr: tuple[str, int], requestHandler: Type[SimpleXMLRPCRequestHandler]=…, logRequests: bool=…, allow_none: bool=…, encoding: str | None=…, bind_and_activate: bool=…, use_builtin_types: bool=…) -> None → constructor MultiPathXMLRPCServer(addr: tuple[str, int], requestHandler: type[SimpleXMLRPCRequestHandler]=…, logRequests: bool=…, allow_none: bool=…, encoding: str | None=…, bind_and_activate: bool=…, use_builtin_types: bool=…) -> None - changed:
constructor SimpleXMLRPCServer(addr: tuple[str, int], requestHandler: Type[SimpleXMLRPCRequestHandler]=…, logRequests: bool=…, allow_none: bool=…, encoding: str | None=…, bind_and_activate: bool=…, use_builtin_types: bool=…) -> None → constructor SimpleXMLRPCServer(addr: tuple[str, int], requestHandler: type[SimpleXMLRPCRequestHandler]=…, logRequests: bool=…, allow_none: bool=…, encoding: str | None=…, bind_and_activate: bool=…, use_builtin_types: bool=…) -> None
- removed:
class Path - removed:
class ZipExtFile(io.BufferedIOBase) - removed:
constructor Path(root: ZipFile | StrPath | IO[bytes], at: str=…) -> None - removed:
constructor ZipExtFile(fileobj: _ClosableZipStream, mode: _ReadWriteMode, zipinfo: ZipInfo, pwd: bytes | None, close_fileobj: Literal[True]) -> None | (fileobj: _ClosableZipStream, mode: _ReadWriteMode, zipinfo: ZipInfo, pwd: bytes | None=…, *, close_fileobj: Literal[True]) -> None | (fileobj: _ZipStream, mode: _ReadWriteMode, zipinfo: ZipInfo, pwd: bytes | None=…, close_fileobj: Literal[False]=…… - removed:
field ZipExtFile.MAX_N: int - removed:
field ZipExtFile.MAX_SEEK_READ: int - removed:
field ZipExtFile.MIN_READ_SIZE: int - removed:
field ZipExtFile.mode: _ReadWriteMode - removed:
field ZipExtFile.name: str - removed:
field ZipExtFile.newlines: list[bytes] | None - removed:
method Path.exists() -> bool - removed:
method Path.is_dir() -> bool - removed:
method Path.is_file() -> bool - removed:
method Path.iterdir() -> Iterator[Path] - removed:
method Path.joinpath(add: StrPath) -> Path - removed:
method Path.read_bytes() -> bytes - removed:
method Path.read_text(encoding: str | None=…, errors: str | None=…, newline: str | None=…, line_buffering: bool=…, write_through: bool=…) -> str - removed:
method ZipExtFile.peek(n: int=…) -> bytes - removed:
method ZipExtFile.read(n: int | None=…) -> bytes - removed:
method ZipExtFile.read1(n: int | None) -> bytes - removed:
method ZipExtFile.readline(limit: int=…) -> bytes - removed:
method ZipExtFile.seek(offset: int, whence: int=…) -> int - removed:
property Path.filename -> PathLike[str] - removed:
property Path.name -> str - removed:
property Path.open -> _PathOpenProtocol - removed:
property Path.parent -> PathLike[str] - removed:
variable ZIP64_LIMIT: int - removed:
variable ZIP_FILECOUNT_LIMIT: int - removed:
variable ZIP_MAX_COMMENT: int - changed:
function is_zipfile(filename: StrPath | IO[bytes]) -> bool → function is_zipfile(filename: StrOrBytesPath | _SupportsReadSeekTell) -> bool - changed:
static method ZipInfo.from_file(filename: StrPath, arcname: StrPath | None=…) -> ZipInfo → static method ZipInfo.from_file(filename: StrPath, arcname: StrPath | None=…) -> Self
- changed:
variable DEFLATED: int → variable DEFLATED: Literal[8] - changed:
variable DEF_BUF_SIZE: int → variable DEF_BUF_SIZE: Literal[16384] - changed:
variable Z_BEST_COMPRESSION: int → variable Z_BEST_COMPRESSION: Literal[9] - changed:
variable Z_BEST_SPEED: int → variable Z_BEST_SPEED: Literal[1] - changed:
variable Z_DEFAULT_COMPRESSION: int → variable Z_DEFAULT_COMPRESSION: Literal[-1] - changed:
variable Z_DEFAULT_STRATEGY: int → variable Z_DEFAULT_STRATEGY: Literal[0] - changed:
variable Z_FILTERED: int → variable Z_FILTERED: Literal[1] - changed:
variable Z_FINISH: int → variable Z_FINISH: Literal[4] - changed:
variable Z_FIXED: int → variable Z_FIXED: Literal[4] - changed:
variable Z_FULL_FLUSH: int → variable Z_FULL_FLUSH: Literal[3] - changed:
variable Z_HUFFMAN_ONLY: int → variable Z_HUFFMAN_ONLY: Literal[2] - changed:
variable Z_NO_FLUSH: int → variable Z_NO_FLUSH: Literal[0] - changed:
variable Z_RLE: int → variable Z_RLE: Literal[3] - changed:
variable Z_SYNC_FLUSH: int → variable Z_SYNC_FLUSH: Literal[2]
- changed:
static method ZoneInfo.from_file(__fobj: _IOBytes, key: str | None=…) -> _T → static method ZoneInfo.from_file(__fobj: _IOBytes, key: str | None=…) -> Self - changed:
static method ZoneInfo.no_cache(key: str) -> _T → static method ZoneInfo.no_cache(key: str) -> Self
- added:
method TypeTraverserVisitor.visit_parameters(t: Parameters) -> None - added:
method TypeTraverserVisitor.visit_unpack_type(t: UnpackType) -> None
- changed:
function count_stats(errors: List[str]) -> Tuple[int, int] → function count_stats(messages: List[str]) -> Tuple[int, int, int]
- added:
method ExpressionVisitor.visit_assert_type_expr(o: mypy.nodes.AssertTypeExpr) -> T - added:
method NodeVisitor.visit_assert_type_expr(o: mypy.nodes.AssertTypeExpr) -> T
- added:
method FunctionEmitterVisitor.emit_attribute_error(op: Branch, class_name: str, attr: str) -> None - added:
method FunctionEmitterVisitor.next_branch() -> Optional[Branch]
- added:
method IRBuilderVisitor.visit_assert_type_expr(o: AssertTypeExpr) -> Value