[Python-3000] PEP for Metaclasses in Python 3000 (original) (raw)
Terry Reedy tjreedy at udel.edu
Tue Mar 13 03:58:24 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 ]
"Guido van Rossum" <guido at python.org> wrote in message news:ca471dc20703121730r244f0314j38e8ffe9ebb5efcf at mail.gmail.com...
FWIW, I agree that class definition meta-information should go in the header rather that the body. To me, metaclass=mymeta at the top is much prettier than metaclass = mymeta in the body. It will also make it obvious to the reader immediately that something different is going to happen. I always understood the module level assignment to be a temporary kludge until the new class transition was completed.
tjr
- 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 ]