[Python-3000] Changing order of class creation
Terry Reedy
tjreedy at udel.edu
Mon Apr 24 22:36:12 CEST 2006
"Ian Bicking" <ianb at colorstudy.com> wrote in message
news:444CF483.6030603 at colorstudy.com...
metaclass using a couple rules. Then it does:
>
> X = metaclass('X', (base,), {'y': 'z'})
>
> What if instead it did:
>
> X = metaclass('X', (base,))
> X.y = 'z'
What if X is inmutable, or intended to be so, either by inheritance or by
method overriding?
tjr
More information about the Python-3000
mailing list