[Python-3000] PEP 3124 - Overloading, Generic Functions, Interfaces, etc.

James Y Knight foom at fuhm.net
Mon May 14 22:44:54 CEST 2007

On May 14, 2007, at 12:41 PM, Guido van Rossum wrote:
> OK, let me repeat this request than: real use cases! Point me to code
> that uses or could be dramatically simplified by adding all this.
> Until, then, before/after and everything beyond it is solidly in
> YAGNI-land.

Excerpted from a recent post to scons-dev by Maciej Pasternacki :

> Automake uses -local and -hook rules to allow software author to
> customize generated Makefile's behaviour without overriding it.  Some
> way of hinting what should be done before/after/around node is built
> should be provided to make it possible also in SCons.  API for this
> might be slightly based on how Common Lisp Object System's method
> combinations work
> (http://www.lispworks.com/documentation/HyperSpec/Body/07_ffb.htm).
> General solution would allow -local/-hook-type customization for all
> nodes, not just a few selected ones like Automake does.

I'm not sure if the poster had seen this PEP already or not, but I  
pointed him towards it. (Note: this is regarding a proposal, not  
existing code).


More information about the Python-3000 mailing list