[Python-ideas] PEP 3156 / Tulip: Remove 'when' from Handler

Saúl Ibarra Corretgé saghul at gmail.com
Tue Feb 5 17:20:15 CET 2013


Guido van Rossum wrote:
> I think both suggestions are good ones. The when field has bothered me
> for a while, although it did not come to the surface. Adding the
> call/catch/log logic on the Handler seems nice too, but I think I
> would rather not use handler() -- I would rather use handler.call().
> I.e. make the method name 'call', not '__call__'. (The latter almost
> always makes APIs more confusing IMO.)
>
> Can you contribute code?
>

Sure, I've never used the codereview thing nor mercurial , but I guess 
this a good time to start :-)

-- 
Saúl Ibarra Corretgé
http://saghul.net/blog | http://about.me/saghul



More information about the Python-ideas mailing list