Apology -- ignore previous message
Sorry -- too big a brain blip this morning.. my experiments were'n't
actually creating dataclasses properly.
Though it does show why the reliance on type hinting in troubling!!
IGNORE that message!
Sorry for the noise.
-CHB
On Mon, Feb 5, 2018 at 3:37 PM, Steven D'Aprano
On Sun, Feb 04, 2018 at 09:18:25PM -0800, Guido van Rossum wrote:
The way I think of it generally is that immutability is a property of types, while hashability is a property of values.
That's a great way to look at it, thanks.
-- Steve _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/ chris.barker%40noaa.gov
-- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker@noaa.gov
participants (1)
-
Chris Barker