aq_acquire on u'aq_parent'
Bug #143358 reported by
Florent Guillaume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Acquisition |
Fix Released
|
Medium
|
Tres Seaver |
Bug Description
aq_acquire fails if it is passed a unicode u'aq_parent'.
>>> from Acquisition import Implicit, aq_acquire
>>> class C(Implicit):
... pass
...
>>> ob1 = C()
>>> ob2 = C()
>>> a = ob1.__of__(ob2)
>>> getattr(a, u'aq_parent')
<C instance at 40fc1790>
>>> aq_acquire(a, u'aq_parent')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: aq_parent
Changed in acquisition: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
This is still true. aq_get has the same behavior.