STINNER Victor <vstin...@python.org> added the comment:

Lumír Balhar:
> Do you think it's a good idea to start a PR with a copy of the implementation 
> from attrs for Python 3.11? We can then add tests for the new function and 
> also some for dataclasses where this new function is needed and try to find 
> all corner cases.

I'm worried that attrs license is MIT with an "advertisement clause" (the MIT 
license must be mentioned), whereas Python has a different license. I'm 
planning to contact the 3 authors of the code to ask their permission.

Also, I expect more feedback on this "idea" first:

> I would like to implement this function, but first I would like to discuss if 
> it makes sense to add such function and check if it's the right abstraction.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue47143>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to