Access to static members from inside a method decorator?
__peter__ at web.de
Mon Oct 9 08:53:31 CEST 2006
glen.coates.bigworld at gmail.com wrote:
> Thanks Peter. Yeah I had thought of that earlier, but wasn't sure if
> this is a standard design pattern for what I'm trying to achieve. It
> seems ugly to me to use 2 classes when you are essentially describing a
> single type.
To me both Exposed and ExposedType look more idiomatic than your combined
> Is the Splat/SplatType pairing really a common design
> pattern when trying to use metaclasses in this way?
I think so, but look for yourself:
Refinements to that query welcome...
More information about the Python-list