PEP 318

Ville Vainio ville at spammers.com
Mon Mar 22 01:58:06 EST 2004


>>>>> "David" == David M Wilson <dw-google.com at botanicus.net> writes:

    David> Personally, I think for the meager benefit this new syntax
    David> brings, it appears to be a rather large and incompatible
    David> waste of time. With the exception of syntactic beauty, does
    David> this really add anything to

The current foo=staticmethod(foo) makes the Python 'staticmethod' seem
like a hack. Many users of staticmethod won't even need to know that
wrapping takes place. It certainly discourages people from using the
feature in the first place.

And when did syntactic beauty stop mattering?

-- 
Ville Vainio   http://tinyurl.com/2prnb



More information about the Python-list mailing list