-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keyword-only attrs #335
Comments
Theere is a half-finished PR for this #281 but nobody came around to fix it into a mergeable shape. |
Looks like we are in opposite situation. |
Heh exactly. 😂 I didn’t mean it accusingly, just wanted to point out there’s some work. |
Anyway thank you for raising issues. We have client tracing support by aiohttp client finally for example. |
It would be nice to support keyword-only constructor parameters, e.g.
Should be allowed for Python 3 only.
Well, attrs should have no Python 3 specific code -- compilation of
__init__
function with keyword-only arguments generatesSyntaxError
on Python 2, maybe enough.I don't know what name is better:
keyword
,kw_only
,keyword_only
.The text was updated successfully, but these errors were encountered: