[Python-Dev] Immutability vs. hashability
Guido van Rossum
guido at python.org
Sun Feb 4 17:31:06 EST 2018
More information about the Python-Dev mailing list
Sun Feb 4 17:31:06 EST 2018
- Previous message (by thread): [Python-Dev] [python-committers] [RELEASE] Python 3.7.0b1 is now available for testing
- Next message (by thread): [Python-Dev] Immutability vs. hashability
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. -- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20180204/a5057caa/attachment.html>
- Previous message (by thread): [Python-Dev] [python-committers] [RELEASE] Python 3.7.0b1 is now available for testing
- Next message (by thread): [Python-Dev] Immutability vs. hashability
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list