[Python-3000] super() PEP (original) (raw)

Brett Cannon brett at python.org
Tue May 1 00:57:10 CEST 2007


On 4/30/07, Lino Mastrodomenico <l.mastrodomenico at gmail.com> wrote:

2007/4/30, Tim Delaney <tcdelaney at optusnet.com.au>: > Fine with me. Calvin - want to send me your latest draft, and I'll do some > modifications? I think we've got to the point now where we can take this > off-list.

One more thing: what do people think of modifying super so that when it doesn't find a method instead of raising AttributeError it returns something like "lambda *args, **kwargs: None"?

Yuck. That just smacks of JavaScript and its lax error detection. There is a reason they are adding a strict pragma in JS 2.0.

-∞.

-Brett -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-3000/attachments/20070430/f6d91370/attachment.html



More information about the Python-3000 mailing list