Commit e25ad306 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Existing bug I ran into earlier

parent a88c74ba
# expected: fail
# - dict-backed objects don't keep track of their attrwrapper if they had one already.
class C(object):
pass
c = C()
aw = c.__dict__
# Convert the object to be dict-backed:
aw[1] = 2
# __dict__ might return something else now:
print c.__dict__ is aw
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment