[Python-Dev] PEP 557 Data Classes 5th posting

Antoine Pitrou solipsis at pitrou.net
Sun Dec 3 15:33:32 EST 2017


On Sat, 2 Dec 2017 09:02:37 -0500
"Eric V. Smith" <eric at trueblade.com> wrote:
> I've pushed another version of PEP 557. The only difference is changing 
> the default value of "order" to False instead of True. This matches 
> regular classes: instances can be tested for equality, but are unordered.
> 
> Discussion at https://github.com/ericvsmith/dataclasses/issues/104
> 
> It's already available at https://www.python.org/dev/peps/pep-0557/

Thanks.  I have to ask: why don't "asdict" and "astuple" respect PEP 8
naming?

Regards

Antoine.




More information about the Python-Dev mailing list