Media Summary: today I talk about a little trick utilizing object() and why you might also need the same thing! playlist: ... today I talk about the shlex module -- "shell lexing" -- and how it can be useful to parse / unparse unix command lines playlist: ... today I go over all of the various argument/parameter types for
Python What Is Hashability Intermediate Anthony Explains 242 - Detailed Analysis & Overview
today I talk about a little trick utilizing object() and why you might also need the same thing! playlist: ... today I talk about the shlex module -- "shell lexing" -- and how it can be useful to parse / unparse unix command lines playlist: ... today I go over all of the various argument/parameter types for today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ... today I talk about the concept of immutability and all the things that are immutable in today I to into detail about data descriptors, non-data descriptors, what the point of them is, as well as a quick example! playlist: ...
today I go over the easily confusable NotImplemented and NotImplementedError -- as well as covering functools.total_ordering ... today I go over the brand-new and controversial `match` statement 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 a boolean trap, how you can spot one in code review, and how you can fix the problem using a few today I talk about how it's easy to get confused when installing packages and how to fix that with a different command! (as well as ... today I talk about currying, show an example with pure
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 the difference between object and Any when typing things! - intro to typing / mypy: ...