[Python-Dev] PEP 557: Data Classes

Mike Miller python-dev at mgmiller.net
Sun Sep 10 17:48:50 EDT 2017


On 2017-09-10 14:23, Ivan Levkivskyi wrote:
> This is not the case, static support for dataclasses is an import point of 
> motivation.

I've needed this functionality a decade before types became cool again.  ;-)


> It is hard to support static typing for many third party packages like attrs, 
> since they use a lot of "magic".
Believe that attrs has its own validators.

As mentioned, nothing against static typing, would simply like an example 
without, to show that it is not required.

-Mike


More information about the Python-Dev mailing list