Message6596

Author luizribeiro
Recipients luizribeiro, pjenvey
Date 2011-08-02.03:09:34
SpamBayes Score 0.037198372
Marked as misclassified No
Message-id <1312254574.57.0.24521491124.issue1764@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks Philip, I didn't thought of that. :)

Looks like my guessing was correct, here's the output with CPython for the same script:
('Module',
 ('body',
  ('Assign (1,0)',
   ('targets', ('Name (1,0)', ('id', 'a'), ('ctx', ('Store',)))),
   ('value', ('Num (1,4)', ('n', 1)))),
  ('Assign (2,0)',
   ('targets', ('Name (2,0)', ('id', 'b'), ('ctx', ('Store',)))),
   ('value', ('Num (2,4)', ('n', 2)))),
  ('Expr (3,0)',
   ('value',
    ('BinOp (3,1)',
     ('left', ('Name (3,1)', ('id', 'a'), ('ctx', ('Load',)))),
     ('op', ('Add',)),
     ('right', ('Name (3,5)', ('id', 'b'), ('ctx', ('Load',))))))),
  ('Assign (4,0)',
   ('targets',
    ('Attribute (4,1)',
     ('value',
      ('BinOp (4,1)',
       ('left', ('Name (4,1)', ('id', 'a'), ('ctx', ('Load',)))),
       ('op', ('Add',)),
       ('right', ('Name (4,5)', ('id', 'b'), ('ctx', ('Load',)))))),
     ('attr', 'c'),
     ('ctx', ('Store',)))),
   ('value', ('Num (4,12)', ('n', 3))))))
History
Date User Action Args
2011-08-02 03:09:34luizribeirosetmessageid: <1312254574.57.0.24521491124.issue1764@psf.upfronthosting.co.za>
2011-08-02 03:09:34luizribeirosetrecipients: + luizribeiro, pjenvey
2011-08-02 03:09:34luizribeirolinkissue1764 messages
2011-08-02 03:09:34luizribeirocreate