Lichen

Change of compiler/ast.py

869:ef74fed1f5c4
compiler/ast.py
     1.1 --- a/compiler/ast.py	Thu Jan 24 19:12:29 2019 +0100
     1.2 +++ b/compiler/ast.py	Thu Jan 24 19:16:30 2019 +0100
     1.3 @@ -868,11 +868,15 @@
     1.4          return "%s %s" % (self.expr, " ".join(map(str, self.quals)))
     1.5  
     1.6  class Getattr(Node):
     1.7 -    def __init__(self, expr, attrname, lineno=None):
     1.8 +    def __init__(self, expr, attrname, lineno=None, privileged=False):
     1.9          self.expr = expr
    1.10          self.attrname = attrname
    1.11          self.lineno = lineno
    1.12  
    1.13 +        # Support privileged internal accesses.
    1.14 +
    1.15 +        self.privileged = privileged
    1.16 +
    1.17      def getChildren(self):
    1.18          return self.expr, self.attrname
    1.19