hasattr_unacquired
Bug #142399 reported by
Dieter Maurer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Low
|
Christian Theune |
Bug Description
Zope is lacking an easy way to check whether
an object has an unacquired attribute.
The "aq.explicit" is not safe (for this purpose)
and is not documented.
The attached patch provides a "hasattr_
function.
To post a comment you must log in.
Sorry!
Of course, this is not a bug but a feature+solution.