Media 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 we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic ... today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ...

Python Newtype Vs Aliases Intermediate Anthony Explains 368 - Detailed Analysis & Overview

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 we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic ... today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today I talk about the three generic types of `typing.Generator` and what send / return type mean. - generator basics: ... today I talk about the approach I take to gradual typing in today I show you what the `TYPE_CHECKING` constant is in the typing module and why you would ever use it! - circular imports ...

today I talk about the decorator for typing and how it can be used to signal typed-dispatch to a type checker! today I talk more about type annotations and the difference between : X and : Type[X]! - intro to mypy: ... today I follow up to the video about Protocol and show for doing some light structural type checking at ... today I talk about tracebacks! how to read them, why today I talk about whether adding type annotations to In todays video we will be looking at another uncommon typing feature provided by the typing module in

Photo Gallery

python: NewType vs aliases (intermediate) anthony explains #368
python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365
NEW generic / alias syntax for python 3.12 (PEP 695) (intermediate) anthony explains #561
python typing: aliases (beginner - intermediate) anthony explains #180
typing Self (PEP 673) (intermediate) anthony explains #418
python Generics (intermediate) anthony explains #430
python typing: object vs Any (intermediate) anthony explains #275
python typing: Generator[T, S, R] (intermediate) anthony explains #297
why does id(float(1)) == id(float(2)) ??? (intermediate) anthony explains #343
opinion: don't bother typing tests (intermediate) anthony explains #347
python typing: TYPE_CHECKING (intermediate) anthony explains #312
python typing: @overload (intermediate) anthony explains #163
View Detailed Profile
python: NewType vs aliases (intermediate) anthony explains #368

python: NewType vs aliases (intermediate) anthony explains #368

today is another

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

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

today I talk about explicit type

NEW generic / alias syntax for python 3.12 (PEP 695) (intermediate) anthony explains #561

NEW generic / alias syntax for python 3.12 (PEP 695) (intermediate) anthony explains #561

today we go over the new syntax added in

python typing: aliases (beginner - intermediate) anthony explains #180

python typing: aliases (beginner - intermediate) anthony explains #180

today we talk about type

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 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 ...

python typing: object vs Any (intermediate) anthony explains #275

python typing: object vs Any (intermediate) anthony explains #275

today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ...

python typing: Generator[T, S, R] (intermediate) anthony explains #297

python typing: Generator[T, S, R] (intermediate) anthony explains #297

today I talk about the three generic types of `typing.Generator` and what send / return type mean. - generator basics: ...

why does id(float(1)) == id(float(2)) ??? (intermediate) anthony explains #343

why does id(float(1)) == id(float(2)) ??? (intermediate) anthony explains #343

today we

opinion: don't bother typing tests (intermediate) anthony explains #347

opinion: don't bother typing tests (intermediate) anthony explains #347

today I talk about the approach I take to gradual typing in

python typing: TYPE_CHECKING (intermediate) anthony explains #312

python typing: TYPE_CHECKING (intermediate) anthony explains #312

today I show you what the `TYPE_CHECKING` constant is in the typing module and why you would ever use it! - circular imports ...

python typing: @overload (intermediate) anthony explains #163

python typing: @overload (intermediate) anthony explains #163

today I talk about the @overload decorator for typing and how it can be used to signal typed-dispatch to a type checker!

typing: what is Type[X]? (intermediate) anthony explains #096

typing: what is Type[X]? (intermediate) anthony explains #096

today I talk more about type annotations and the difference between : X and : Type[X]! - intro to mypy: ...

typing: Protocol + @runtime_checkable (intermediate) anthony explains #187

typing: Protocol + @runtime_checkable (intermediate) anthony explains #187

today I follow up to the video about Protocol and show @runtime_checkable for doing some light structural type checking at ...

python: traceback basics + raise from (beginner - intermediate) anthony explains #283

python: traceback basics + raise from (beginner - intermediate) anthony explains #283

today I talk about tracebacks! how to read them, why

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

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

today I talk about whether adding type annotations to

"TypeAlias" Solves A VERY Common Problem In Python

"TypeAlias" Solves A VERY Common Problem In Python

Learn how you can use TypeAlias in

Python Has A NewType That No One Is Using?

Python Has A NewType That No One Is Using?

In todays video we will be looking at another uncommon typing feature provided by the typing module in