01
Context managers encode cleanup
Make resource lifetime visible, exception-safe, and reusable with the context management protocol.
Independent field notes / Vol. 01
Precise explanations of the machinery, patterns, and tradeoffs that make Python feel deceptively simple.
Read the cover storyThe index
2 notes, edited for signal.
Make resource lifetime visible, exception-safe, and reusable with the context management protocol.
Stop asking where the whole collection is and start asking for the next useful value.
Editorial policy
No listicles. No folklore. No just trust me abstractions.
Every note should leave you with a better model of the system, not just another snippet to paste.