Porting 3.0 to 2.6 - from __future__ import super missing?

andrew cooke andrew at acooke.org
Sat Jan 24 13:58:18 EST 2009


On Jan 24, 2:32 pm, Benjamin Peterson <benja... at python.org> wrote:
> I would suggest that you use the 2.6 syntax, and run "2to3 -f metaclass" on your
> code. (ABCs have been backported to 2.6.)

Thanks - with that hint I found this -
http://mikewatkins.ca/2008/11/29/python-2-and-3-metaclasses/#using-the-metaclass-in-python-2-x-and-3-x

Andrew



More information about the Python-list mailing list