Skip to content
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

improve the registry documentation to cover usage as a dictionary #2893

Merged
merged 2 commits into from
Jan 4, 2017

Conversation

mmerickel
Copy link
Member

@mmerickel mmerickel commented Jan 2, 2017

I also got annoyed with the Registry(*args, **kw) api and so I simplified it to just accept the package name. This is an incompatible change to the api but I can't imagine anyone was relying on the original version.

I tried to take this further and define an IRegistry that documented both the IDict and the zope.interface.interfaces.IComponents but unfortunately zope.interface does not provide any documentation of the component registry API. If zopefoundation/zope.interface#70 goes anywhere then we may revisit that to improve the registry documentation.

fixes #2891

@mmerickel mmerickel merged commit 9d99d04 into Pylons:master Jan 4, 2017
@mmerickel mmerickel deleted the document-registry-as-dict branch November 29, 2020 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document that registry can be used as dictionary
1 participant