Page Summary: today I talk about the addition of `typing.Self` in python3.11 and why it's useful as well as several workarounds for older today I talk about gradual typing, what that means for mypy, and the settings I tend to use when I'm adding types to a codebase ...

Python Typeguard Pep 647 Intermediate Anthony Explains 439 -

today I talk about the addition of `typing.Self` in python3.11 and why it's useful as well as several workarounds for older today I talk about gradual typing, what that means for mypy, and the settings I tend to use when I'm adding types to a codebase ... today we go over the brand new variadic generics and how they change the type system (finally type-able `*args`!) - generics: ...

Important details found

  • today I talk about the addition of `typing.Self` in python3.11 and why it's useful as well as several workarounds for older
  • today I talk about gradual typing, what that means for mypy, and the settings I tend to use when I'm adding types to a codebase ...
  • today we go over the brand new variadic generics and how they change the type system (finally type-able `*args`!) - generics: ...
  • today I talk about __slots__ and __dict__ and how they relate to objects!
  • I show a few examples of how to write generic functions and generic ...

Why this topic is useful

This topic is useful when readers need a quick overview first, then want to move into supporting details and related references.

Sponsored

Frequently Asked Questions

Why are related topics included?

Related topics help readers compare nearby references and understand the broader subject.

What is this page about?

This page summarizes Python Typeguard Pep 647 Intermediate Anthony Explains 439 and connects it with related entries, references, and supporting context.

Is the information always complete?

Not always. Some topics may need verification from official or primary sources.

Reference Gallery

python TypeGuard (PEP 647) (intermediate) anthony explains #439
python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365
python variadic generics (PEP 646) (intermediate - advanced) anthony explains #433
I don't need `__init__.py`? PEP 420 and namespace packages (intermediate) anthony explains #420
python Generics (intermediate) anthony explains #430
typing Self (PEP 673) (intermediate) anthony explains #418
python: what is __slots__ and __dict__ (intermediate) anthony explains #122
gradual typing python (and my approach) (beginner - intermediate) anthony explains #308
don't run `python my/script.py`! (beginner - intermediate) anthony explains #407
is python with types faster? (intermediate) anthony explains #126
Sponsored
View Full Details
python TypeGuard (PEP 647) (intermediate) anthony explains #439

python TypeGuard (PEP 647) (intermediate) anthony explains #439

Read more details and related context about python TypeGuard (PEP 647) (intermediate) anthony explains #439.

python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365

python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365

Read more details and related context about python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365.

python variadic generics (PEP 646) (intermediate - advanced) anthony explains #433

python variadic generics (PEP 646) (intermediate - advanced) anthony explains #433

today we go over the brand new variadic generics and how they change the type system (finally type-able `*args`!) - generics: ...

I don't need `__init__.py`? PEP 420 and namespace packages (intermediate) anthony explains #420

I don't need `__init__.py`? PEP 420 and namespace packages (intermediate) anthony explains #420

Read more details and related context about I don't need `__init__.py`? PEP 420 and namespace packages (intermediate) anthony explains #420.

python Generics (intermediate) anthony explains #430

python Generics (intermediate) anthony explains #430

today we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic ...

typing Self (PEP 673) (intermediate) anthony explains #418

typing Self (PEP 673) (intermediate) anthony explains #418

today I talk about the addition of `typing.Self` in python3.11 and why it's useful as well as several workarounds for older

python: what is __slots__ and __dict__ (intermediate) anthony explains #122

python: what is __slots__ and __dict__ (intermediate) anthony explains #122

today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ...

gradual typing python (and my approach) (beginner - intermediate) anthony explains #308

gradual typing python (and my approach) (beginner - intermediate) anthony explains #308

today I talk about gradual typing, what that means for mypy, and the settings I tend to use when I'm adding types to a codebase ...

don't run `python my/script.py`! (beginner - intermediate) anthony explains #407

don't run `python my/script.py`! (beginner - intermediate) anthony explains #407

Read more details and related context about don't run `python my/script.py`! (beginner - intermediate) anthony explains #407.

is python with types faster? (intermediate) anthony explains #126

is python with types faster? (intermediate) anthony explains #126

Read more details and related context about is python with types faster? (intermediate) anthony explains #126.