Decorators Demystified
summary
PyCon US 2025 tutorial explains what @ actually does, walks through decorator call mechanics, and builds function and class decorators from scratch. It runs live coding with laptops, demonstrates wrapping, preserving signatures with functools, and measures behavior on real examples so you see whether each pattern actually works. Attendees write decorators from scratch and get over a dozen exercises plus course site access for follow‑up practice.
AI-written summary · about
related talks
38mDecorators demystified
01mTutorial Sneak Peak: "All about decorators"
02h 15mAll about decorators
29mHow Decorators Function
02h 21mIntroduction to Decorators: Power Up Your Python Code
02h 32mIntroduction to Decorators: Power UP Your Python Code
29mOn the Use and Misuse of Decorators
03h 21mIntroduction to Decorators: Power Up Your Python Code
