~/talk

But... How Does Python Work?

TalkinSpanishat PyCon Latam 2021 · 2021-08-27..08-28· [python, compilers-and-language-design]
links:none on file
slides:none on file

An explanation of what happens internally when running Python code, focusing on the standard implementation (CPython). Covers the execution steps behind a simple program — parsing, bytecode, the interpreter loop and related internals — to show how Python actually works under the hood.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Speaker background
  3. 2:35Python inspiration
  4. 4:02Python implementations
  5. 5:47Python source code
  6. 7:31Breathing exercise
  7. 8:12Python vs C basics
  8. 10:19Simple Python code
  9. 11:24Python execution flow
  10. 13:30Five execution steps
  11. 14:13Decoding and tokenization
  12. 14:56Parsing and AST
  13. 17:03Compilation and bytecode
  14. 17:45CPython internals
  15. 19:48Frame objects
  16. 21:36Generic structures
  17. 22:18Hidden methods
  18. 23:22Lists and methods
  19. 25:16Unexpected features
  20. 26:19Python 3.10 errors
  21. 27:42Fun features
  22. 28:24Reference counting
  23. 30:08Object lifecycle
  24. 31:52Extending Python
  25. 32:54Explore internals
  26. 33:36Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.