💾 Archived View for radia.bortzmeyer.org › fosdem › event-11489.gmi captured on 2023-12-28 at 20:15:27. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-06-14)
-=-=-=-=-=-=-
Sebastiaan Zeeff and Matteo Bertucci and Xithrius
Type devroom
An accessible introduction to descriptors
Starts on day 2 (2021-02-07) at 14:00 (Brussels time, UTC+1) in room Python (duration 00:30)
Matrix room #python:fosdem.org
When someone starts learning about classes in Python, one of the first things they'll come across is "self" in the parameter list of a method. To keep it simple, it's usually explained that Python will automatically pass the current instance as the first argument to the method: "self" will refer to the instance the method was called on. This high-level explanation really helps with keeping the focus on learning the basics of classes, but it also side-steps what is really going on: It makes it sound like process of inserting "self" is something
In this intermediate level talk, Sebastiaan Zeeff will take you down into the heart of the Python data model to explain how the mechanism behind inserting "self" works. He will talk about the