1.1 --- a/common.py Thu Jul 05 23:41:16 2018 +0200
1.2 +++ b/common.py Mon Jul 09 17:32:35 2018 +0200
1.3 @@ -462,7 +462,9 @@
1.4 for i, node in enumerate(n.nodes):
1.5 statements.append(
1.6 compiler.ast.Assign([node], compiler.ast.CallFunc(
1.7 - compiler.ast.Getattr(compiler.ast.Name(temp), "__get_single_item_unchecked__"),
1.8 + compiler.ast.Getattr(compiler.ast.Name(temp),
1.9 + "__get_single_item_unchecked__",
1.10 + privileged=True),
1.11 [compiler.ast.Const(i, str(i))]))
1.12 )
1.13
1.14 @@ -1591,6 +1593,10 @@
1.15
1.16 predefined_constants = "False", "None", "NotImplemented", "True"
1.17
1.18 +privileged_attributes = [
1.19 + "__get_single_item_unchecked__",
1.20 + ]
1.21 +
1.22 unary_operator_functions = {
1.23
1.24 # Unary operations.