functions, list, default parameters

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Wed Nov 3 10:58:27 EDT 2010


Lawrence D'Oliveiro a écrit :
> In message <20101021235138.609fe668 at geekmail.INVALID>, Andreas Waldenburger 
> wrote:
> 
>> While not very commonly needed, why should a shared default argument be
>> forbidden?
> 
> Because it’s safer to disallow it than to allow it.

Then there are quite a few python features (or misfeatures depending on 
your personal tastes and whatnot) that should be "disabled" too. What 
about rebinding some_object.__class__ ?-)




More information about the Python-list mailing list