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

Merged
merged 2 commits into from Jan 4, 2017

Projects

None yet

1 participant

@mmerickel
Member
mmerickel commented Jan 2, 2017 edited

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 added some commits Jan 2, 2017
@mmerickel mmerickel improve the registry documentation to cover usage as a dictionary
fixes #2891
5e20f9c
@mmerickel mmerickel changelog for #2893
bdb8e0a
@mmerickel mmerickel merged commit 9d99d04 into Pylons:master Jan 4, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment