1.1 --- a/deducer.py Sat Oct 08 00:43:13 2016 +0200
1.2 +++ b/deducer.py Tue Oct 11 16:27:24 2016 +0200
1.3 @@ -384,7 +384,13 @@
1.4
1.5 def write_access_plans(self):
1.6
1.7 - "Each attribute access is written out as a plan."
1.8 + """
1.9 + Each attribute access is written out as a plan of the following form:
1.10 +
1.11 + location " " name " " test " " test type " " base " " traversed attributes
1.12 + " " attributes to traverse " " context " " access method
1.13 + " " static attribute
1.14 + """
1.15
1.16 f_attrs = open(join(self.output, "attribute_plans"), "w")
1.17
1.18 @@ -1339,12 +1345,10 @@
1.19 'accessor_locations'.
1.20 """
1.21
1.22 - path, name, attrnames, version = access_location
1.23 - if not attrnames:
1.24 + attrname = get_attrname_from_location(access_location)
1.25 + if not attrname:
1.26 return
1.27
1.28 - attrname = get_attrnames(attrnames)[0]
1.29 -
1.30 # Collect all suggested types for the accessors. Accesses may
1.31 # require accessors from of a subset of the complete set of types.
1.32