| layout | home | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| hero |
|
||||||||||||||||||||||
| features |
|
Core idea: this is not a release-note archive. It is a topic-driven handbook that uses Python 3.14 as the baseline and connects language design, runtime behavior, and backend engineering.
Start with the data model, descriptors, decorators, context managers, and metaclasses before touching framework internals.
Treat modern typing as a way to shape APIs and boundaries, not as decorative syntax.
Frames, bytecode, specialization, the GIL, and GC explain many performance and architecture tradeoffs.
- Intro for the map of the handbook.
- Execution Model for how Python code actually runs.
- Metaclasses for class creation hooks and alternatives.
- FastAPI Project Structure for a pragmatic service layout.
- Quick takeaway: one sentence you should remember after reading.
- Diagram: a visual model before implementation details.
- Code: practical examples you can run or adapt.
- Checklist: when to use the technique and where it goes wrong.