A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-April/072867.html below:

[Python-Dev] New Super PEP

[Python-Dev] New Super PEP [Python-Dev] New Super PEPJames Y Knight foom at fuhm.net
Mon Apr 30 05:41:56 CEST 2007
On Apr 29, 2007, at 9:07 PM, Greg Ewing wrote:
> Guido van Rossum wrote:
>
>> Nearly always wrong? You must be kidding. There are tons of  
>> reasons to
>> call your super method with modified arguments. E.g. clipping,
>> transforming, ...
>
> That's a good point. Just because the *signature* is the
> same doesn't mean the *values* of the parameters need
> to be the same.

This is quite true, and is indeed one case where it can be right to  
pass different arguments. Just in case there was confusion, I did not  
intend to imply that it should be impossible to pass different  
arguments, only that passing the same ones should be foolproof and  
not require repeating yourself.

James
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4