re: syntactic sugar idea for {static,class}methods
Feb. 12, 2002
9:38 p.m.
I would think that specifying a list (as in [staticmethod]) would be very desirable so that you could do a sequence of transformations, not just one. Michael's examples seem to suggest elements of an Aspect-oriented approach to things. If you have several relevant "Aspect wrappers", then you might want to apply each cascaded in sequence. If, using previous examples, I want a "static" method that is also "memoized" and "SOAPed" I could write: def mymethod(arg) [staticmethod,memoize,webmethod]: or some such combination that is presumably well-defined. Jim
8881
Age (days ago)
8881
Last active (days ago)
0 comments
1 participants
participants (1)
-
James_Althoff@i2.com