[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
- Previous message: [Python-3000] let's get rid of unbound super methods
- Next message: [Python-3000] Ambiguity in PEP 3115 and the args to __prepare__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] let's get rid of unbound super methods
- Next message: [Python-3000] Ambiguity in PEP 3115 and the args to __prepare__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]