Global Master Index & Architectural Taxonomy Map

The complete curriculum taxonomy map: cross-module mental models, architectural indexing, and full curriculum navigation reference.

06. Master Technical Interview Guide, Decision Matrices & Global Master Index7 min read

Congratulations on reaching the conclusion of the Python Zero to Hero Master Curriculum.

This master index provides a structural taxonomy map of the entire curriculum, connecting cross-module mental models and serving as your persistent reference roadmap for systems engineering in Python.

Master CurriculumTaxonomy
6 Modules

Complete end-to-end coverage from CPython bytecode internals to production async systems architecture.

1. Cross-Module Architectural Mental Model#

The entire CPython runtime can be understood as an interconnected hierarchy of four fundamental pillars:

Architecture Diagram
Rendering diagram...

2. Complete Curriculum Taxonomy Map#

content/modules/
01-cpython-architecture-object-model/
01-interpreter-execution-pipeline.mdPEGen, AST, Bytecode, PVM, Adaptive Specialization
02-uniform-object-architecture.mdPyObject, PyVarObject, ob_refcnt, Type Slots
03-primitive-scalar-representation.mdSmall Ints, PyLong 30-bit Digits, PEP 393 Strings
04-sequences-and-mappings-internals.mdList Over-Allocation, Dict Hash Table Probing
05-namespaces-scope-and-frames.mdLEGB Hierarchy, PyFrameObject, fastlocals Array
06-module-system-and-import-hooks.mdsys.modules, sys.meta_path, ModuleSpec, Finders
07-tradeoffs-and-interview-qa.mdMutable Defaults, Closure Late Binding, Interview Q&A
02-control-flow-iterators-coroutines/
01-branching-and-jump-bytecodes.mdBasic Blocks, Control Flow Graphs, POP_JUMP_IF_FALSE
02-structural-pattern-matching.mdPEP 634 Pattern Engine, Match Bytecodes, Guard Rules
03-iteration-protocol-and-generators.mdtp_iter, tp_iternext, StopIteration, Streams
04-generator-architecture-and-frame-suspension.mdPyGenObject, YIELD_VALUE, Frame Freezing
05-advanced-coroutines-and-delegation.mdsend, throw, close, yield from Tunneling
06-closures-and-cell-objects.mdPyCellObject Heap Boxing, LOAD_DEREF, nonlocal
07-recursion-limits-and-interview-qa.mdRecursion Limits, Generator Traps, Interview Q&A
03-oop-descriptors-metaprogramming/
01-class-mechanics-and-instantiation.md__new__ vs __init__, Type Allocation, __dict__
02-inheritance-and-c3-linearization.mdC3 Merge Algorithm, Diamond Problem, super()
03-descriptor-protocol-and-attributes.mdData vs Non-Data, 6-Stage Resolution Pipeline
04-slots-memory-optimization.mdPyMemberDescrObject, Struct Offsets, 85% Savings
05-metaclass-architecture-runtime-types.md__prepare__, type.__new__, PEP 487 __init_subclass__
06-decorators-abcs-and-protocols.mdfunctools.wraps, ABCMeta, PEP 544 Protocols
07-oop-traps-and-interview-qa.mdInconsistent MRO, Metaclass Conflicts, Interview Q&A
04-memory-gc-c-api/
01-pymalloc-memory-allocator-hierarchy.mdArenas, Pools, Blocks, 64 Size Classes, usedpools
02-reference-counting-and-deallocation.mdPy_INCREF, Py_DECREF, tp_dealloc, Free-Threading
03-generational-cyclic-garbage-collection.mdPyGC_Head, G0/G1/G2, Generational Hypothesis
04-cyclic-gc-algorithm-and-tri-color-marking.mdtp_traverse, Tri-Color Graph Subtraction
05-cpython-c-api-and-reference-ownership.mdOwned vs Borrowed References, C Extensions
06-buffer-protocol-and-zero-copy-views.mdPy_buffer, memoryview, Strides, Zero-Copy
07-memory-traps-and-interview-qa.mdArena Fragmentation, Disabling GC, Interview Q&A
05-concurrency-gil-async-reactor/
01-concurrency-models-and-paradigms.mdAmdahl's Law, Threading vs MP vs Asyncio
02-global-interpreter-lock-mechanics.mdGIL Mutex, eval_breaker, Py_BEGIN_ALLOW_THREADS
03-thread-synchronization-and-memory.mdBytecode Races, Lock, RLock, Condition, Semaphore
04-multiprocessing-and-shared-memory.mdFork vs Spawn, multiprocessing.shared_memory
05-asyncio-coroutine-state-machine.mdPyCoroObject, Future State Machine, Task._step
06-reactor-pattern-and-event-loop.mdOS Multiplexing, epoll/kqueue, Non-blocking Sockets
07-concurrency-traps-and-interview-qa.mdGIL Convoy Effect, TaskGroup, Interview Q&A
06-interview-matrices-master-index/
01-systems-architecture-decision-matrices.mdData Structures, Concurrency & Typing Matrices
02-cpython-formal-derivations-matrix.mdMemory Footprints, Math Formulas & Identites
03-comprehensive-interview-flashcard-bank.mdHigh-Density Senior Technical Interview Bank
04-global-master-curriculum-index.mdMaster Taxonomy Map & Architectural Navigation
  1. Inspect Your Live Code: Use Python's built-in standard introspection tools (dis, sys.getrefcount, ctypes, gc, importlib) to inspect live objects in your daily work.
  2. Profile Real Memory Footprints: Measure object overheads with sys.getsizeof and test __slots__ memory compression on high-volume production models.
  3. Audit Async Pipelines: Ensure that CPU-intensive algorithms and blocking I/O calls are properly isolated into executors (loop.run_in_executor) to keep your event loops responsive.
  4. Leverage Modern Primitives: Adopt Python 3.11+ TaskGroup for structured concurrency, and explore typing.Protocol for decoupled, modern interfaces.

4. Concept Verification#

Final comprehension check across the master curriculum:

Concept check

Which core mechanism enables Python's asyncio event loop to multiplex thousands of network connections efficiently on a single thread?

Concept check

Why do Python classes specifying __slots__ consume up to 85% less memory per instance than standard classes?

Finished reading this lesson?