grok.provides should be renamed
Bug #301980 reported by
Thomas Lotze
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grok |
Invalid
|
Undecided
|
Jan Wijbrand Kolman | ||
1.0 |
Invalid
|
Undecided
|
Jan Wijbrand Kolman | ||
1.1 |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The grok.provides directive is used to declare which single interface of those a utility provides it should be registered for. This is different terminology than used with Zope interfaces in general where an object may provide any number of interfaces without regard to registration.
To avoid confusion, the directive should be renamed. There was a discussion on the developers mailing list in October 2008 (starting with <http://
Changed in grok: | |
assignee: | nobody → janwijbrand |
milestone: | none → 1.0 |
To post a comment you must log in.
The discussion stopped at grok.register_for() indeed.
However, grok.provides() is implemented in grokcore.component which is far beyond 1.0. In order to rename this directive, we should do proper deprecation.
I'm postponing this issue until after 1.0.