-
-
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
ENH: query attributes through private API to speed up validate. #29
Conversation
the public API ``fields`` is at least one order of magnitude slower than accessing the __attrs_attr__ field because of the deepcopy use in ``fields``.
Current coverage is
|
Thanks! So since the tests didn’t use to cover the error before (it came thru But since the ValueError wasn’t documented before, but OTOH the docs explicitly ask for a decorated instance, I’m tending to not handle that special case at all. |
you may want to use the delay I explained in the other ticket to add yourself to AUTHORS.rst and add the change to the changelog. Thanks! |
I did, though it seems a bit of a steal given the trivial contribution :) |
I have a simple “every change is sacred” policy. :) Also not the code alone counts but also the way there. A good bug report is +Inf times better than a half-assed patch. That said, you forgot the changelog entry. :D ( |
here we go. Hope you had a good time in Tokyo ! |
It was…intense. :) Thanks! |
ENH: query attributes through private API to speed up validate.
@hynek is there something I can help w/ to make |
I’m doing some repo janitoring right now and will release afterwards. |
Proposal fix for #28