Changes between Version 1 and Version 2 of Ticket #18538
- Timestamp:
- Jun 28, 2012, 4:19:33 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18538 – Description
v1 v2 5 5 type(obj1)._meta fails because type(obj1) returns SimpleLazyObject. 6 6 7 I've worked around by calling obj1.__class__ (which is specifically proxied), but I'm not hing the leakage here. I think there's nothing to be done (type is implemented in C (PyObject_Type) and reaches into the python object structure) but I am noting in here in case someone else has a bright idea for fixing it.7 I've worked around by calling obj1.__class__ (which is specifically proxied), but I'm noting the leakage here. I think there's nothing to be done (type is implemented in C (PyObject_Type) and reaches into the python object structure) but I am noting in here in case someone else has a bright idea for fixing it. 8 8 9 9 At least this ticket can serve as a workaround to others coming across this surprise. :)