[Python-Dev] PEP 318 - posting draft
Skip Montanaro
skip at pobox.com
Wed Mar 24 10:59:10 EST 2004
Bob> For example, ZopeX3 interfaces and PyProtocols interfaces both use
Bob> sys._getframe() introspection to add a temporary metaclass so that
Bob> they can ...
Guido> But the use cases are certainly very *different* than those for
Guido> function/method decorators, and should be spelled out separately.
Guido> For example, I'd like to see you show in much more detail how
Guido> class decorators could be used to replace those Zope3 hacks.
Bob, if you can come up with an example or two that won't consume infinite
space, I'd be happy to add it/them to the Examples section of the PEP.
Skip
More information about the Python-Dev
mailing list