~/talk

How Python inserts 'self' into methods

Talkat FOSDEM 2021 · on Sunday, 2021-02-07· at 14:00· D.python· [python]
links:none on file
name:Xithrius
links:none on file

Explains how Python binds the instance as the first argument to methods by unpacking the descriptor protocol inside the Python data model. Covers descriptors and how they let you customize attribute access, assignment, and deletion so you can reproduce or alter the behavior that inserts the ordinary ‘self’ parameter.

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.