>Interesting, but this seems to be purely for decorating method definitions, >not method calls, and I'm not sure how any similar syntax would help. This is not completely true. The way decorators work is that they wrap the decorated object (either the function or another decorator if you cascade them). The decorator is a Python object by itself, that can override __call__ to implement its own behaviour, allowing you to route the call to the proper method for instance. The decorator object can also contain its own attributes that would help it take the right decision...
>The only thing I could think of would be to hint the parser, which may be >what you had in mind. This is also a possibility as it would respect the Python syntax but would allow you to introduce new attributes... Morgan _______________________________________________ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com