Edward Loper wrote:
> Otherwise, it seems like people might write code that relies on the
> current behavior, which will then break if we eg turn __context__ into
> a slot. (It sounds like you want to reserve the right to change this.)
> Well, of course, people may rely on the current behavior anyway, but
> at least they'll have been warned. :)
Yep - I thought "the instance dictionary has no effect" was an actual rule,
but it turns out the rules are slightly looser than that (specifically, that
fact that the effect of having a slot name in the instance dictionary is
undefined).
Cheers,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com