1.1 --- a/micropython/rsvp.py Sun Mar 11 01:49:53 2012 +0100
1.2 +++ b/micropython/rsvp.py Mon Mar 26 23:24:38 2012 +0200
1.3 @@ -197,7 +197,7 @@
1.4 if type_name in ("__builtins__.tuple", "__builtins__.list"):
1.5 return [len(value)] + list(value)
1.6 elif type_name == "__builtins__._accessor":
1.7 - return [value, objtable.get_index(value)]
1.8 + return [value, objtable.get_index("#" + value)]
1.9 else:
1.10 return [value]
1.11
1.12 @@ -244,7 +244,7 @@
1.13 return [
1.14 DataObject(
1.15 objtable.as_list().get_code("__builtins__.function"),
1.16 - objtable.get_index("__builtins__.function"), # is instance
1.17 + objtable.get_index("#__builtins__.function"), # is instance
1.18 item.code_location,
1.19 "__builtins__.function",
1.20 len(item.defaults) + 1, # size (not accurate for lambda functions before instantiation)