[Python-ideas] Super, Hooks, and Aspect Oriented Programming

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 25 21:53:40 CET 2009

Guido van Rossum wrote:

> I think no exploration of super() can be complete without considering
> the difference between overriding a constructor (__init__ or __new__)
> and overriding a regular method. Another thing to include is the use
> of keyword arguments.

I'm not a big fan of @before and @after kinds of things.
They gain little over writing out the equivalent code
in full, and add more mental baggage to the language
to keep in your head.


More information about the Python-ideas mailing list