On Mon, Jun 4, 2012 at 6:10 PM, PJ Eby <p...@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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to