Media Summary: probably the most asked question on my channel -- what are those funny @ signs! I today I talk about `ExitStack` and a few uses of it: conditional contexts, variable contexts - context managers the hard way: ... today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ...
Python Decorator Stacking Intermediate Anthony Explains 213 - Detailed Analysis & Overview
probably the most asked question on my channel -- what are those funny @ signs! I today I talk about `ExitStack` and a few uses of it: conditional contexts, variable contexts - context managers the hard way: ... today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ... today I show off `nullcontext` as well as a few popular usecases for conditional context managers and one for pytest! - conditional ... today I go over all the options and use cases for fixtures in pytest! - testing a commandline with pytest: ... Review code better and faster with my 3-Factor Framework:
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 talk about how to type annotate a -- fortunately it's really easy! - what is ... Resources & Further Learning - *args vs **kwargs - Visually today I go over the much much easier way to handle binary search! I've found this is much better than trying to implement it on the ... today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today I talk about how .contextmanager works - with + context managers (part 1: the hard way): ...