1. 25 Ock, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      Add ast.Constant · f2c1aa16
      Victor Stinner yazdı
      Issue #26146: Add a new kind of AST node: ast.Constant. It can be used by
      external AST optimizers, but the compiler does not emit directly such node.
      
      An optimizer can replace the following AST nodes with ast.Constant:
      
      * ast.NameConstant: None, False, True
      * ast.Num: int, float, complex
      * ast.Str: str
      * ast.Bytes: bytes
      * ast.Tuple if items are constants too: tuple
      * frozenset
      
      Update code to accept ast.Constant instead of ast.Num and/or ast.Str:
      
      * compiler
      * docstrings
      * ast.literal_eval()
      * Tools/parser/unparse.py
      f2c1aa16
  2. 15 Kas, 2013 1 kayıt (commit)
  3. 12 Eki, 2013 1 kayıt (commit)
  4. 06 Ara, 2012 1 kayıt (commit)
  5. 15 May, 2012 1 kayıt (commit)
  6. 09 Agu, 2011 1 kayıt (commit)
  7. 26 Şub, 2007 1 kayıt (commit)
  8. 21 Nis, 2006 1 kayıt (commit)
  9. 13 Nis, 2006 3 kayıt (commit)
  10. 11 Nis, 2006 1 kayıt (commit)
  11. 28 Şub, 2006 1 kayıt (commit)
  12. 17 Ara, 2005 1 kayıt (commit)
  13. 13 Kas, 2005 1 kayıt (commit)
  14. 20 Eki, 2005 1 kayıt (commit)
    • Jeremy Hylton's avatar
      Merge ast-branch to head · 3e0055f8
      Jeremy Hylton yazdı
      This change implements a new bytecode compiler, based on a
      transformation of the parse tree to an abstract syntax defined in
      Parser/Python.asdl.
      
      The compiler implementation is not complete, but it is in stable
      enough shape to run the entire test suite excepting two disabled
      tests.
      3e0055f8