[Python-ideas] Providing a guarantee that instances of user-defined classes have distinct identities
Mike Meyer
mwm at mired.org
Thu Apr 19 14:58:28 CEST 2012
On Thu, 19 Apr 2012 11:35:13 +0100
Sven Marnach <sven at marnach.net> wrote:
> It wouldn't be completely unthinkable that a Python implementation
> chooses to extend this behaviour to immutable subclasses of immutable
> types. I don't think there is any reason to disallow such an
> implementation either.
How would the implementation determine that the subclass was
immutable?
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/
Independent Software developer/SCM consultant, email for more information.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
More information about the Python-ideas
mailing list