1.1 --- a/docs/syspython.txt Fri Jul 05 18:03:54 2013 +0200
1.2 +++ b/docs/syspython.txt Fri Jul 05 22:35:43 2013 +0200
1.3 @@ -188,18 +188,33 @@
1.4 In general, attribute access must use an explicit function indicating the
1.5 kind of access operation being performed. For example:
1.6
1.7 - # context effect
1.8 + # Instance-related operations:
1.9 +
1.10 + loadattr(obj, attrname) # preserve context
1.11 +
1.12 + # Static attribute operations:
1.13
1.14 - loadattr(obj, attrname) # preserve context
1.15 - loadattrcontext(parent, attrname, obj) # replace context with obj
1.16 - loadattrcontextcond(parent, attrname, obj) # run-time context decision
1.17 + loadaddress(obj, attrname) # preserve context
1.18 + loadaddresscontext(parent, attrname, obj) # replace context with obj
1.19 + loadaddresscontextcond(parent, attrname, obj) # run-time context decision
1.20 +
1.21 + # Unoptimised operations:
1.22
1.23 - loadattrindex(obj, attrname) # preserve context
1.24 - loadattrindexcontextcond(obj, attrname) # run-time context decision
1.25 + loadattrindex(obj, attrname) # preserve context
1.26 + loadattrindexcontextcond(obj, attrname) # run-time context decision
1.27 +
1.28 + # Instance-related operations:
1.29 +
1.30 + storeattr(obj, attrname, value) # preserve context
1.31
1.32 - storeattr(obj, attrname, value) # preserve context
1.33 - storeattrcontext(parent, attrname, value, obj) # replace context with obj
1.34 - storeattrindex(obj, attrname, value)
1.35 + # Static attribute operations:
1.36 +
1.37 + storeaddress(parent, attrname, value) # preserve context
1.38 + storeaddresscontext(parent, attrname, value, obj) # replace context with obj
1.39 +
1.40 + # Unoptimised operations:
1.41 +
1.42 + storeattrindex(obj, attrname, value) # preserve context
1.43
1.44 Recall that for loadattrindex family functions, the location of the attribute
1.45 is obtained from the object table and the nature of the attribute is