Rev 150: TODO comments in http://bazaar.launchpad.net/~jameinel/meliae/mem-object-collection
John Arbash Meinel
john at arbash-meinel.com
Tue Dec 29 04:16:46 GMT 2009
At http://bazaar.launchpad.net/~jameinel/meliae/mem-object-collection
------------------------------------------------------------
revno: 150
revision-id: john at arbash-meinel.com-20091229041627-mdyt3j1qx0graikx
parent: john at arbash-meinel.com-20091229041329-it4qa9cdvebo2sad
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: mem-object-collection
timestamp: Mon 2009-12-28 22:16:27 -0600
message:
TODO comments
-------------- next part --------------
=== modified file 'meliae/loader.py'
--- a/meliae/loader.py 2009-12-29 04:07:13 +0000
+++ b/meliae/loader.py 2009-12-29 04:16:27 +0000
@@ -366,6 +366,9 @@
# instance has 2 pointers. The first is to __dict__, and the second is
# to the 'type' object whose name matches the type of the instance.
# Also __dict__ has only 1 referrer, and that is *this* object
+
+ # TODO: Handle old style classes. They seem to have type 'instanceobj',
+ # and reference a 'classobj' with the actual type name
collapsed = 0
total = len(self.objs)
for item_idx, (address, obj) in enumerate(self.objs.items()):
More information about the bazaar-commits
mailing list