[Python-Dev] PEP 557: Data Classes (original) (raw)
Barry Warsaw barry at python.org
Mon Sep 11 18:39:20 EDT 2017
- Previous message (by thread): [Python-Dev] PEP 557: Data Classes
- Next message (by thread): [Python-Dev] PEP 557: Data Classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sep 11, 2017, at 15:16, Ethan Furman <ethan at stoneleaf.us> wrote:
enum Compare(enum.Enum): none = 1 unordered = 2 ordered = 3 I like the enum idea (suprise! ;) but I would suggest "equal" or "equivalent" instead of "unordered"; better to say what they are rather than what they are not.
The language reference calls them “equality” comparisons, so maybe that’s the term we should use.
-Barry
-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 273 bytes Desc: Message signed with OpenPGP URL: <http://mail.python.org/pipermail/python-dev/attachments/20170911/6d62aa80/attachment.sig>
- Previous message (by thread): [Python-Dev] PEP 557: Data Classes
- Next message (by thread): [Python-Dev] PEP 557: Data Classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]