[Python-Dev] PEP 557: Data Classes

Mike Miller python-dev at mgmiller.net
Fri Sep 15 19:21:42 EDT 2017


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


More information about the Python-Dev mailing list