"Ian Bicking" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
 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



_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to