Archive for April 30, 2008

Wednesday, April 30, 2008

How super() in Python 3 Works

Armin Ronacher:

In the last weeks something remarkable happened in the Python3 sources: self kinda became implicit. Not in function definitions, but in super calls. But not only self: also the class passed to super. That’s remarkable because it means that the language shifts into a completely different direction.

I’m generally not a fan of magic, but I don’t really see the problem with adding an abbreviated form for the most common uses of super. That it was so verbose before always seemed to me to be a wart on an otherwise clean language.

TaskPaper 2.0 Toolbar Location

Jesse Grosjean:

I spent a lot of time this week and then all this morning playing with different toolbar placements and options. I appreciate all the feedback, but I’ve just decided that for 2.0 the placement will stay at the bottom.