On Wed, Jun 6, 2012 at 5:40 AM, nick.coghlan <python-check...@python.org> wrote: > + > +Alternatives > +============ > +
Would it be worth also (briefly) rehashing why the class instance couldn't be created before the class body is executed*? It might seem like a viable alternative if you haven't looked at how classes get created. -eric * i.e. meta.__new__() would have to be called before the class body is executed for the class to exist during that execution. Perhaps in an alternate universe classes get created like modules do... _______________________________________________ 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