-
Notifications
You must be signed in to change notification settings - Fork 158
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
Decorator namespace key #627
Decorator namespace key #627
Conversation
Tests are failing. |
Noted. Changes are in progress now...I'm planning to push the corrections within the next hour. |
ee57395
to
54e0142
Compare
Nope, still failing. You're not testing on 3.7 are you? Because only half the tests run on 3.7. |
I've now updated all decorators to use the namespace if provided. To make this work, I updated This is the intended behavior after the changes I made in this branch to the I made similar changes in tests/ut/ so that |
Looks like we have what we need to make a new release now. Think you can finish this off in the next couple of days? |
Yes, I can make that work. |
In reference to this comment in Issue #569, here is a summary of the responses included in this PR.
|
@Dreamsorcerer I think this is ready to go, but let me know if you see additional changes needed. |
More comments will get resolved in an upcoming push to this branch. Co-authored-by: Sam Bull <aa6bs0@sambull.org>
906d151
to
8f33f9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All comments appear to be resolved
@Dreamsorcerer Please have another look, and let me know if all is good. |
69e9c59
to
7615cfb
Compare
…e alias takes precedence
7615cfb
to
4a57e8b
Compare
Now, if you're happy to do some more, it would be great if you can create a PR which reverts all the extra namespace conversions in here and does it something like this:
Then we can do it like this for v1 and introduce some backwards incompatible changes. Should also be able to fold in the In other words, the key_builder should not need to know about any of these edge cases, it should just receive a |
Nice! I like those ideas. I should have some time over the next couple weeks to give this a try. |
@pshafer-als Any chance you'll get round to that soon? |
That's a fair question. Realistically, I think it will be ~2 weeks before I can secure sufficient time to work on this in earnest. I think it will be a few hours of work, but probably spread over a 1-2 week period. If you need to move on, I understand. Otherwise, I'm still interested. |
That's good, just making sure the task doesn't get lost. |
Started a branch for this work, and a new thread for discussion. |
What do these changes do?
Keys with namespaces now work for decorators get/set
Are there changes in behavior for the user?
Related issue number
build_key(key, namespace)
is missing from some modules/classes #569Checklist
CHANGES
folder<issue_id>.<type>
(e.g.588.bugfix
)issue_id
change it to the pr id after creating the PR.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.Fix issue with non-ascii contents in doctest text files.