Adapters registered for * (wildcard) do not adapt to base types (str, int etc.)
Bug #139690 reported by
Malthe Borch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Medium
|
Unassigned | ||
zope.component |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Register an adapt like so:
<adapter
for="*"
provides=
factory=".test" />
def test(obj): pass
Observe that IMyInterface(
Changed in zope.component: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in zope3: | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
I can confirm this.
I mailed this zope3-dev mailing about this some time ago: mail.zope. org/pipermail/ zope3-dev/ 2007-January/ 021576. html
http://
I seem to remember the problem is with the underlying adapter machinery and not the zcml...