"providedBy/Acquisition" bug: acquisition wrappers do not provide "IAcquisitionWrapper"
Bug #251040 reported by
Dieter Maurer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Acquisition |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
One would expect that (without special measures) an instance "i" of
a type "t" provides interface "I", if "t" implements it.
This is not the case for acquisition wrappers:
((Pdb)) p type(n_object)
<type 'ImplicitAcquir
((Pdb)) p IAcquisitionWra
False
((Pdb)) p IAcquisitionWra
True
Im am not sure whether this is a bug in "providedBy" or in
"Acquisition". Therefore, I report it here (being sure, that Jim reads these
bug reports).
affects: | zope2 → acquisition |
Changed in acquisition: | |
status: | New → Confirmed |
Changed in acquisition: | |
status: | Confirmed → Invalid |
status: | Invalid → Confirmed |
To post a comment you must log in.
Acquisition is part of zope2, so redirecting report there.