Media Summary: today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ... today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today I show you what the `TYPE_CHECKING` constant is in the typing module and why you would ever use it! - circular imports ...

Is Python With Types Faster Intermediate Anthony Explains 126 - Detailed Analysis & Overview

today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ... today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... 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 show the tools and processes I used to improve today we go over the brand new variadic generics and how they change the today I talk about how to package up typed code -- either inline

and I actually went a bit further after recording! (it now can reorder all of pre-commit today I answer an interesting question which surprised me -- why today I follow up to the video about Protocol and show for doing some light structural

Photo Gallery

is python with types faster? (intermediate) anthony explains #126
python typing: Generator[T, S, R] (intermediate) anthony explains #297
the fastest python startup with `python -S` (intermediate) anthony explains #411
python TypeGuard (PEP 647) (intermediate) anthony explains #439
python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365
python typing: object vs Any (intermediate) anthony explains #275
python typing: TYPE_CHECKING (intermediate) anthony explains #312
how I sped up python by 20ms (intermediate) anthony explains #417
python variadic generics (PEP 646) (intermediate - advanced) anthony explains #433
packaging python typed code (intermediate) anthony explains #252
how I made my import sorter 7x faster (intermediate) anthony explains #457
python: why is -c faster than -m? (intermediate) anthony explains #222
Sponsored
Sponsored
View Detailed Profile
is python with types faster? (intermediate) anthony explains #126

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

today I talk about whether adding

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

Sponsored
the fastest python startup with `python -S` (intermediate) anthony explains #411

the fastest python startup with `python -S` (intermediate) anthony explains #411

today I talk about the absolutely-

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

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

today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ...

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

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

how I sped up python by 20ms (intermediate) anthony explains #417

how I sped up python by 20ms (intermediate) anthony explains #417

today I show the tools and processes I used to improve

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

packaging python typed code (intermediate) anthony explains #252

packaging python typed code (intermediate) anthony explains #252

today I talk about how to package up typed code -- either inline

how I made my import sorter 7x faster (intermediate) anthony explains #457

how I made my import sorter 7x faster (intermediate) anthony explains #457

and I actually went a bit further after recording! (it now can reorder all of pre-commit

python: why is -c faster than -m? (intermediate) anthony explains #222

python: why is -c faster than -m? (intermediate) anthony explains #222

today I answer an interesting question which surprised me -- why

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