Author: Colin Valliant
Branch: pep526
Changeset: r93920:509be3f27434
Date: 2018-02-14 22:08 -0800
http://bitbucket.org/pypy/pypy/changeset/509be3f27434/
Log:Make symtable handle non-Name targets properly in variable
annotation.
diff --git a/pypy/interpreter/astcompiler/symtable.py
b
Author: Colin Valliant
Branch: pep526
Changeset: r93921:c9cec4aab2cc
Date: 2018-02-14 22:09 -0800
http://bitbucket.org/pypy/pypy/changeset/c9cec4aab2cc/
Log:Catch expected exception in test_annotations.
diff --git a/pypy/interpreter/test/test_annotations.py
b/pypy/interpreter/test/test_anno
Author: Colin Valliant
Branch: pep526
Changeset: r93916:e3f0d3b1a562
Date: 2018-02-13 23:25 -0800
http://bitbucket.org/pypy/pypy/changeset/e3f0d3b1a562/
Log:Handle AnnAssign in symtable building (WIP).
diff --git a/pypy/interpreter/astcompiler/symtable.py
b/pypy/interpreter/astcompiler/symt
Author: Colin Valliant
Branch: pep526
Changeset: r93917:8d9b6685e41e
Date: 2018-02-13 23:27 -0800
http://bitbucket.org/pypy/pypy/changeset/8d9b6685e41e/
Log:Add some app-level test for variable annotations.
diff --git a/pypy/interpreter/test/test_annotations.py
b/pypy/interpreter/test/test_
Author: Colin Valliant
Branch: pep526
Changeset: r93924:2588a45dab22
Date: 2018-02-14 22:14 -0800
http://bitbucket.org/pypy/pypy/changeset/2588a45dab22/
Log:Support code generation with variable annotations.
diff --git a/pypy/interpreter/astcompiler/codegen.py
b/pypy/interpreter/astcompiler
Author: Colin Valliant
Branch: pep526
Changeset: r93925:37e249a9c04b
Date: 2018-02-14 22:53 -0800
http://bitbucket.org/pypy/pypy/changeset/37e249a9c04b/
Log:Add test to ensure repeated calls to SETUP_ANNOTATIONS work.
diff --git a/pypy/interpreter/test/test_annotations.py
b/pypy/interpreter
Author: Colin Valliant
Branch: pep526
Changeset: r93927:250a545b5734
Date: 2018-02-18 10:42 -0800
http://bitbucket.org/pypy/pypy/changeset/250a545b5734/
Log:Improve annotation tests.
diff --git a/pypy/interpreter/test/test_annotations.py
b/pypy/interpreter/test/test_annotations.py
--- a/pyp
Author: Colin Valliant
Branch: pep526
Changeset: r93915:9bfa5258df88
Date: 2018-02-13 23:24 -0800
http://bitbucket.org/pypy/pypy/changeset/9bfa5258df88/
Log:Add AST validator for AnnAssign.
diff --git a/pypy/interpreter/astcompiler/validate.py
b/pypy/interpreter/astcompiler/validate.py
---
Author: Colin Valliant
Branch: pep526
Changeset: r93922:59ecffe9844c
Date: 2018-02-14 22:12 -0800
http://bitbucket.org/pypy/pypy/changeset/59ecffe9844c/
Log:Add new instructions to opcode.py.
diff --git a/lib-python/3/opcode.py b/lib-python/3/opcode.py
--- a/lib-python/3/opcode.py
+++ b/lib-
Author: Colin Valliant
Branch: pep526
Changeset: r93918:d6987b09241a
Date: 2018-02-14 07:14 -0800
http://bitbucket.org/pypy/pypy/changeset/d6987b09241a/
Log:Stack effect values for new annotation opcodes.
diff --git a/pypy/interpreter/astcompiler/assemble.py
b/pypy/interpreter/astcompiler/a
Author: Colin Valliant
Branch: pep526
Changeset: r93911:2ddcba2e06c4
Date: 2018-02-13 23:21 -0800
http://bitbucket.org/pypy/pypy/changeset/2ddcba2e06c4/
Log:Add WIP test for variable annotation in symtable.
diff --git a/pypy/interpreter/astcompiler/test/test_symtable.py
b/pypy/interpreter/a
Author: Colin Valliant
Branch: pep526
Changeset: r93910:89c267ae1715
Date: 2018-02-12 23:29 -0800
http://bitbucket.org/pypy/pypy/changeset/89c267ae1715/
Log:Add minimal update to comprehensions to produce valid AST nodes for
new asdl.
diff --git a/pypy/interpreter/astcompiler/astbuil
Author: Colin Valliant
Branch: pep526
Changeset: r93908:8a37c2a3ef7c
Date: 2018-02-10 14:40 -0800
http://bitbucket.org/pypy/pypy/changeset/8a37c2a3ef7c/
Log:Update grammer to 3.6
diff --git a/pypy/interpreter/pyparser/data/Grammar3.6
b/pypy/interpreter/pyparser/data/Grammar3.6
new file mode
Author: Colin Valliant
Branch: pep526
Changeset: r93926:103116c17ec7
Date: 2018-02-18 09:24 -0800
http://bitbucket.org/pypy/pypy/changeset/103116c17ec7/
Log:Set __annotations__ to an empty dict in __main__.
diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py
--- a/pypy/i
Author: Colin Valliant
Branch: pep526
Changeset: r93923:52cd5d8635c2
Date: 2018-02-14 22:13 -0800
http://bitbucket.org/pypy/pypy/changeset/52cd5d8635c2/
Log:Implement the variable annotation bytecodes.
diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interp
Author: Colin Valliant
Branch: pep526
Changeset: r93919:7a50e0c20060
Date: 2018-02-14 22:04 -0800
http://bitbucket.org/pypy/pypy/changeset/7a50e0c20060/
Log:Add another symtable test to ensure proper scoping of non-Name
targets.
diff --git a/pypy/interpreter/astcompiler/test/test_sym
Author: Colin Valliant
Branch: pep526
Changeset: r93914:61124ea0a2b7
Date: 2018-02-13 23:23 -0800
http://bitbucket.org/pypy/pypy/changeset/61124ea0a2b7/
Log:Make astbuilder produce AnnAssign nodes for variable annotations.
diff --git a/pypy/interpreter/astcompiler/astbuilder.py
b/pypy/inter
Author: Colin Valliant
Branch: pep526
Changeset: r93913:8cf248660bb4
Date: 2018-02-13 23:22 -0800
http://bitbucket.org/pypy/pypy/changeset/8cf248660bb4/
Log:Update ast.py, generated from Python.asdl.
diff --git a/pypy/interpreter/astcompiler/ast.py
b/pypy/interpreter/astcompiler/ast.py
---
Author: Colin Valliant
Branch: pep526
Changeset: r93912:27758040aaa8
Date: 2018-02-13 23:21 -0800
http://bitbucket.org/pypy/pypy/changeset/27758040aaa8/
Log:Add test for parsing variable annotations.
diff --git a/pypy/interpreter/astcompiler/test/test_astbuilder.py
b/pypy/interpreter/astcom
Author: Colin Valliant
Branch: pep526
Changeset: r93909:031ac5343b06
Date: 2018-02-12 23:28 -0800
http://bitbucket.org/pypy/pypy/changeset/031ac5343b06/
Log:Update Python.asdl to 3.6.
diff --git a/pypy/interpreter/astcompiler/tools/Python.asdl
b/pypy/interpreter/astcompiler/tools/Python.asd
20 matches
Mail list logo