[Python-Dev] Possible rough edges in Python 3 metaclasses (was Re: Language reference updated for metaclasses)
Eric Snow
ericsnowcurrently at gmail.com
Tue Jun 5 04:43:09 CEST 2012
On Mon, Jun 4, 2012 at 6:10 PM, PJ Eby <pje at telecommunity.com> wrote:
> I mean that class-level __metaclass__ is no longer supported as of PEP 3115,
> so I can't use that as a way to non-invasively obtain the enclosing class at
> class creation time.
Depends on what you mean by non-invasive:
* http://code.activestate.com/recipes/577813/
* http://code.activestate.com/recipes/577867/
-eric
More information about the Python-Dev
mailing list