[Python-Dev] Community buildbots (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jul 14 07:27:57 CEST 2006


Bob Ippolito wrote:

"from future import newclasses" exists, but the syntax is different:

metaclass = type

Although it's not a very obvious spelling, particularly to the casual reader who may not be familiar with the intricacies of classes and metaclasses. I don't think it would hurt to have it available as a future import as well.

There's also the advantage that all of a module's future assumptions could then be documented uniformly in one place, i.e. in a future import at the top.

-- Greg



More information about the Python-Dev mailing list