1.1 --- a/rsvp.py Mon Apr 27 02:20:22 2009 +0200
1.2 +++ b/rsvp.py Fri May 01 01:02:20 2009 +0200
1.3 @@ -481,7 +481,7 @@
1.4 context, ref = self.value
1.5 # NOTE: Should improve the representation and permit direct saving.
1.6 data = self.load(ref)
1.7 - self.save(ref, (data.classcode, data.attrcode) + self.callable + (data.instance,))
1.8 + self.save(ref, (data.classcode, data.attrcode) + self.callable)
1.9
1.10 def LoadContext(self):
1.11 context, ref = self.value
1.12 @@ -500,7 +500,7 @@
1.13 operand -= 1
1.14 else:
1.15 context_data = self.load(context)
1.16 - if not context_data.instance:
1.17 + if context_data.attrcode is None: # absent attrcode == class
1.18 self.invocation_sp_stack[-1] += 1
1.19 operand -= 1
1.20
1.21 @@ -611,7 +611,7 @@
1.22
1.23 # Insist on a class.
1.24
1.25 - if target_data.instance:
1.26 + if target_data.attrcode is not None: # present attrcode == instance
1.27 return 0
1.28
1.29 # Find the table entry for the descendant.