Python's super() considered super!

sturlamolden sturlamolden at yahoo.no
Fri May 27 11:31:40 EDT 2011


On 27 Mai, 17:05, Duncan Booth <duncan.bo... at invalid.invalid> wrote:

> Oops. There's a reason why Python 2 requires you to be explicit about
> the class; you simply cannot work it out automatically at run time.
> Python 3 fixes this by working it out at compile time, but for Python 2
> there is no way around it.

Then it should be a keyword, not a function.

Sturla



More information about the Python-list mailing list