Media Summary: today I talk about typing the two types of starargs and why it's tricky / impossible to get correct - intro to typing / mypy: ... today I talk about currying, show an example with pure today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ...
Python What Are Splat Args Intermediate Anthony Explains 233 - Detailed Analysis & Overview
today I talk about typing the two types of starargs and why it's tricky / impossible to get correct - intro to typing / mypy: ... today I talk about currying, show an example with pure today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ... oops spoiler in the thumbnail it's str.partition, oh well -- I today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today I talk about one of my favorite additions to typing: Protocol! in this we extend from a previous example where we used ...
today we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic ... today I show how to easily make classes comparable in today we talk about GNU long opts and prefix matching as well as how to disable it in today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts - today I talk about why it's necessary to set `__slots__ = ()` when inheriting from namedtuple classes - namedtuples: ... today I talk about the `assert` statement, what it is, how it works, and why some will flag it as a "security" issue. playlist: ...
today I talk about insertion ordered dictionaries and when you can rely on them (cpython3.6+) and the differences between ... today we talk about parameter defaults in today I talk about how I consider which pythons to support for libraries and applications that I maintain. playlist: ...