Query the archive

Find the right depth.

Filter the notebook by what you know, how much time you have, and where you want to go next.

49 matching notes
The fastest operation is the one your algorithm avoidsintermediate32 min3.10+Performance, Algorithms
Allocation is work: object churn and memory localityadvanced31 min3.10+Performance, Internals
Asyncio cancellation is part of your APIadvanced30 min3.11+Concurrency, API Design
Attribute lookup, from dot to descriptoradvanced31 min3.10+Internals, Object Model
How to benchmark Python without lying to yourselfintermediate28 min3.10+Performance, Tooling
Callable objects and function-like behavioradvanced26 min3.10+Object Model, Functions
Circular imports are partially initialized modulesadvanced32 min3.14Internals, Architecture
Closures capture cells, not frozen valuesadvanced30 min3.10+Internals, Functions
What compile() actually producesadvanced31 min3.10+Internals, Language
Containers are bundles of protocolsadvanced26 min3.10+Object Model, Data Structures
Context managers encode cleanupintermediate25 min3.10+Object Model, Standard Library
super() is a cooperative MRO machineadvanced30 min3.10+Internals, Object Model
Inside CPython's allocatoradvanced32 min3.10+Internals, Memory
Crossing the Python boundaryadvanced33 min3.10+Performance, Internals
Deque, heap, and bisect: choosing the non-obvious containeradvanced31 min3.10+ (3.14+ for max-heaps)Internals, Data Structures
Exceptions are control flow with machineryadvanced33 min3.14Internals, Language
Finalization is where simple models failadvanced31 min3.10+Internals, Memory
Finders, loaders, module specs, and import hooksadvanced34 min3.14Internals, Tooling
Fixtures are a dependency graphintermediate32 min3.10+Testing
Frames, locals, globals, and builtinsadvanced32 min3.14Internals, Language
Function calls and vectorcalladvanced31 min3.14Internals, Performance
Reference counting and cyclic garbage collectionadvanced33 min3.10+Internals, Memory
How classes are builtadvanced32 min3.10+Internals, Object Model
Import state, module caches, and test isolationadvanced32 min3.10+Testing, Internals
Lists are dynamic arrays, not generic sequencesadvanced32 min3.10+Internals, Data Structures
Names are part of the designintermediate25 min3.10+Craft, API Design
Names are references, but that slogan is not enoughadvanced30 min3.10+Internals, Memory
Patch where the name is looked upintermediate31 min3.10+Testing, Object Model
Building plugin discovery without directory-scanning hacksadvanced33 min3.14Architecture, Packaging
Processes make serialization part of the designadvanced32 min3.11+Concurrency, Architecture
Profile first: finding where the time actually wentintermediate30 min3.10+Performance, Tooling
Protocols beat inheritanceadvanced29 min3.10+Architecture, Object Model
Reading bytecode without cargo culting itadvanced31 min3.14Internals, Tooling
Sets: dictionaries with different tradeoffsadvanced33 min3.10+Internals, Data Structures
What __slots__ really changesadvanced29 min3.10+Internals, Object Model
What CPython's specializing interpreter optimizes for youadvanced30 min3.14Performance, Internals
Strings are Unicode storage strategiesadvanced35 min3.10+Internals, Data Structures
Structural typing meets runtime protocolsadvanced27 min3.10+Typing, Object Model
sys.modules and the truth about import cachingadvanced31 min3.10+Internals, Language
Task groups and failure propagationadvanced31 min3.11+Concurrency, Error Handling
Testing concurrency and cancellation without timing rouletteadvanced32 min3.11+Testing, Concurrency
Threads, tasks, and processes solve different waitsadvanced31 min3.11+Concurrency, Architecture
Stop writing loops when a transformation says moreintermediate25 min3.10+Craft, Data Processing
Tuples, records, and the cost of shapeadvanced36 min3.10+Internals, Data Structures
Weak references and caches that can let goadvanced30 min3.10+Internals, Memory
How Python dictionaries actually rememberadvanced34 min3.10+Internals, Data Structures
Escape the nested-if pyramidbeginner15 min3.10+Craft
The GIL, without the folkloreadvanced32 min3.13+Internals, Concurrency
Iterators change the questionintermediate24 min3.10+Object Model, Standard Library