[Python-Dev] PEP 557: Data Classes (original) (raw)
Mike Miller python-dev at mgmiller.net
Fri Sep 15 19:21:42 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 2017-09-15 05:08, Michel Desmoulin wrote:
Because given how convenient it is, it will most probably becomes the default way to write classes in Python. Not just for record.
Yes, would have been great if this was how the original object worked and the current barebones object was a base(object) or something like that. Too late however.
Another option was "bag" which is more generic and brief, and might seem to fit better, but the discussion went towards record.
-Mike
- 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 ]