[Python-3000] PEP for Metaclasses in Python 3000 (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Mar 10 23:51:04 CET 2007
- Previous message: [Python-3000] PEP for Metaclasses in Python 3000
- Next message: [Python-3000] PEP for Metaclasses in Python 3000
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Some more metaclass syntax ideas:
class FooMeta: ...
Meta class Foo(bases): ...
although I don't like the way the latter moves the 'class' keyword away from the beginning.
Another thought: It's not strictly necessary to allow for arguments to the metaclass, since the same effect can be achieved with a factory function, like we do for decorators.
-- Greg
- Previous message: [Python-3000] PEP for Metaclasses in Python 3000
- Next message: [Python-3000] PEP for Metaclasses in Python 3000
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]