Past Meetup

OPAG Monthly Meeting: What does bar.foo do?

This Meetup is past

18 people went

Location visible to members

Details

Speaker: Ian Ward

Topic: What does bar.foo do? An exploration of Python assignment, objects, attributes and descriptors

This is an intermediate level talk that unearths Python's surprisingly rich (read: frighteningly complicated) protocol for determining what gets returned when you access an object attribute. This is useful for understanding existing Python code and for writing code that will be used by other Python developers.

Lots of examples of good and bad uses of the language will be presented, along with the presenter's strongly held opinions on those examples. Arguments from the audience are encouraged.