-
Notifications
You must be signed in to change notification settings - Fork 887
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
Restore the Registry(*args, **kw) API #2916
Comments
How were you using the API? |
It looks like you can configure the registry to delegate lookup to another registry (probably the global one). I will patch this for 1.8.1. I should have done more research on what the https://docs.zope.org/zope.component/api/utility.html#delegated-utility-lookup |
I'm using code like this to make Pyramid use the global ZCA registry:
There are documented ways to do something similiar without using the In addition to this technical reason for wanting the |
Thank you! |
@mmerickel you rock, thank you for resolving this so quickly. |
In the course of #2891, the Registry API was changed in a backwards-incompatible way. While the author of the change (PR 2893) couldn't imagine anyone using the keywords API, I immediately ran into the incompatibility with a number of customer projects. Since the change back to the old API shouldn't introduce another backwards incompatibility, I suggest reverting that change as soon as possible.
The text was updated successfully, but these errors were encountered: