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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com