You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried out returns, because I was looking for typesafe curry implementation, but I hit a problem with my Generic / Protocol implementing attrs classes.
Bug report
I tried out returns, because I was looking for typesafe curry implementation, but I hit a problem with my Generic / Protocol implementing attrs classes.
What's wrong
How is that should be
The above code should simply print
Pair(_a=2, _b=1)
This seems to be due to python-attrs/attrs#374
A fix I hacked together could be something like this.
If you are interested in support this admittedly special use case, I could submit a PR.
System information
python
version: 3.7returns
version: 0.17.0mypy
version: 0.910The text was updated successfully, but these errors were encountered: