[Python-3000] Ambiguity in PEP 3115 and the args to prepare (original) (raw)

Brett Cannon brett at python.org
Sun Sep 2 09:17:07 CEST 2007


PEP 3115 says a metaclass' prepare takes two positional arguments, name and bases. But the example has it actually accept an arbitrary number of arguments: name and then everything else is bound to bases.

Which happens to be true? I'm too tired to even fully trust that I am reading the PEP correctly, so I am not about to try to write an example to see which is correct and come up with a coherent rewording if I am right about what is wrong. =)

-Brett



More information about the Python-3000 mailing list