[Python-Dev] Immutability vs. hashability
Antoine Pitrou
solipsis at pitrou.net
Mon Feb 5 08:48:37 EST 2018
More information about the Python-Dev mailing list
Mon Feb 5 08:48:37 EST 2018
- Previous message (by thread): [Python-Dev] Immutability vs. hashability
- Next message (by thread): [Python-Dev] [RELEASED] Python 3.4.8 and Python 3.5.5 are now available
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 4 Feb 2018 14:31:06 -0800 Guido van Rossum <guido at python.org> wrote: > On Sun, Feb 4, 2018 at 11:59 AM, Chris Barker - NOAA Federal < > chris.barker at noaa.gov> wrote: > > > I think the folks that are concerned about this issue are quite right > > — most Python users equate immutable and hashable—so the dataclass API > > should reflect that. > > > > Since they are *not* equivalent (consider a tuple containing a list) I'm > not at all convinced that any API in the core language should "reflect" > this misconception, depending on how you meant that. +1 from me. Regards Antoine.
- Previous message (by thread): [Python-Dev] Immutability vs. hashability
- Next message (by thread): [Python-Dev] [RELEASED] Python 3.4.8 and Python 3.5.5 are now available
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list