PEP318 alternate syntax idea
ville at spammers.com
Tue Mar 23 12:12:39 CET 2004
>>>>> "Stephen" == Stephen Horne <steve at ninereeds.fsnet.co.uk> writes:
Stephen> Do we really want people writing...
Stephen> d = lambda x : staticmethod (someotherdecoration (whateverdeco (x))
Probably not - but the 'as' syntax should accept any iterable, so it
d = [d1, d2, d3]
or with currently proposed syntax
d = functional.compose([d1,d2,d3])
Which just needs the not-yet-implemented 'functional' module :-).
Ville Vainio http://tinyurl.com/2prnb
More information about the Python-list