~/lightning

Lightning Talk: Python Decorators

Lightningat PyCon Singapore 2016 · on Thursday, 2016-06-23· [python]
slides:none on file

Decorators commonly break introspection lost — name and __doc__ are not preserved — and simple wrappers fail for methods, classmethods and staticmethods. The concrete fix is the wrapt library, which provides a wrapper decorator that handles functions methods classmethods staticmethods and supports robust monkey patching support. Author reports a 12‑post deep dive, ready‑made docs on Read the Docs, endorsement from core contributors, and real use where it preserves metadata and behavior reliably.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.