[Python-Dev] Submitting PEP 422 (Simple class initialization hook) for pronouncement

Barry Warsaw barry at python.org
Mon Feb 11 16:13:07 CET 2013


On Feb 10, 2013, at 02:34 PM, Antoine Pitrou wrote:

>zope.interface has been ported to Python 3, so the annoyance can't be
>very blocking.

The syntax is different, but I actually prefer the Python 3-compatible syntax
better.  It uses a class decorator instead of a magic class attribute, so it's
much clearer IMHO.

Works in Python 2, too, fsvo.

-Barry


More information about the Python-Dev mailing list