[pypy-commit] pypy py3.6: Merged in alcarithemad/pypy/pep526 (pull request #595)

2018-03-01 Thread arigo
Author: Armin Rigo Branch: py3.6 Changeset: r93928:552eccd54e83 Date: 2018-03-01 10:06 + http://bitbucket.org/pypy/pypy/changeset/552eccd54e83/ Log:Merged in alcarithemad/pypy/pep526 (pull request #595) PEP 526: Type annotations for variables Approved-by: Armin Rigo App

[pypy-commit] pypy pep526: Update Python.asdl to 3.6.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Make astbuilder produce AnnAssign nodes for variable annotations.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Add test for parsing variable annotations.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Update ast.py, generated from Python.asdl.

2018-03-01 Thread alcarithemad
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 ---

[pypy-commit] pypy pep526: Add another symtable test to ensure proper scoping of non-Name targets.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Add minimal update to comprehensions to produce valid AST nodes for new asdl.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Update grammer to 3.6

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Set __annotations__ to an empty dict in __main__.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Implement the variable annotation bytecodes.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Add AST validator for AnnAssign.

2018-03-01 Thread alcarithemad
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 ---

[pypy-commit] pypy pep526: Add new instructions to opcode.py.

2018-03-01 Thread alcarithemad
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-

[pypy-commit] pypy pep526: Stack effect values for new annotation opcodes.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Add WIP test for variable annotation in symtable.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Add test to ensure repeated calls to SETUP_ANNOTATIONS work.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Support code generation with variable annotations.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Catch expected exception in test_annotations.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Improve annotation tests.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Handle AnnAssign in symtable building (WIP).

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy pep526: Add some app-level test for variable annotations.

2018-03-01 Thread alcarithemad
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_

[pypy-commit] pypy pep526: Make symtable handle non-Name targets properly in variable annotation.

2018-03-01 Thread alcarithemad
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

[pypy-commit] pypy py3.5: trivial test fixes for win

2018-03-01 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r93930:934b5f719f0d Date: 2018-03-01 05:36 -0500 http://bitbucket.org/pypy/pypy/changeset/934b5f719f0d/ Log:trivial test fixes for win diff --git a/pypy/module/imp/test/test_app.py b/pypy/module/imp/test/test_app.py --- a/pypy/module/imp/test/test

[pypy-commit] pypy py3.5: generalize win Reg* calls for A and W variants, use and fix tests

2018-03-01 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r93929:0684dbb33360 Date: 2018-03-01 05:35 -0500 http://bitbucket.org/pypy/pypy/changeset/0684dbb33360/ Log:generalize win Reg* calls for A and W variants, use and fix tests diff --git a/pypy/module/_winreg/interp_winreg.py b/pypy/module/_winreg/

[pypy-commit] pypy py3.6: CPython Issue #14711: os.stat_float_times() has been deprecated.

2018-03-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93933:1297ffb4dd1a Date: 2018-02-26 01:57 +0100 http://bitbucket.org/pypy/pypy/changeset/1297ffb4dd1a/ Log:CPython Issue #14711: os.stat_float_times() has been deprecated. diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/pos

[pypy-commit] pypy py3.6: CPython Issue #26129: grp.getgrgid() sends a DeprecationWarning when passing non-integers

2018-03-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93932:0ebac2fc9fb1 Date: 2018-02-26 01:13 +0100 http://bitbucket.org/pypy/pypy/changeset/0ebac2fc9fb1/ Log:CPython Issue #26129: grp.getgrgid() sends a DeprecationWarning when passing non-integers diff --git a/lib_pypy/grp.py b/l

[pypy-commit] pypy py3.6: hg merge py3.5

2018-03-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93931:eb5abc38e4b2 Date: 2018-02-25 23:09 +0100 http://bitbucket.org/pypy/pypy/changeset/eb5abc38e4b2/ Log:hg merge py3.5 diff too long, truncating to 2000 out of 5407 lines diff --git a/extra_tests/test_pyrepl/__init__.py b/extra_test

[pypy-commit] pypy py3.5: Cleanup duplication between setup_buffer_procs() and make_bf_getbuffer() by killing the former

2018-03-01 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93934:235304efbb73 Date: 2018-03-01 21:10 + http://bitbucket.org/pypy/pypy/changeset/235304efbb73/ Log:Cleanup duplication between setup_buffer_procs() and make_bf_getbuffer() by killing the former diff --git a/pypy/module/cpyext/buffe

[pypy-commit] extradoc extradoc: utf8-ization

2018-03-01 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5872:b41ddb578d82 Date: 2018-03-01 22:41 +0100 http://bitbucket.org/pypy/extradoc/changeset/b41ddb578d82/ Log:utf8-ization diff --git a/sprintinfo/leysin-winter-2018/people.txt b/sprintinfo/leysin-winter-2018/people.txt --- a/sprintinfo/leysin

[pypy-commit] pypy default: port winreg changes from 0684dbb33360

2018-03-01 Thread mattip
Author: Matti Picus Branch: Changeset: r93935:645bfc512f05 Date: 2018-03-01 16:17 -0800 http://bitbucket.org/pypy/pypy/changeset/645bfc512f05/ Log:port winreg changes from 0684dbb33360 diff --git a/pypy/module/_winreg/interp_winreg.py b/pypy/module/_winreg/interp_winreg.py --- a/pypy/modul

[pypy-commit] pypy py3.5: cleanup

2018-03-01 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r93937:8e1fc4f86361 Date: 2018-03-01 16:22 -0800 http://bitbucket.org/pypy/pypy/changeset/8e1fc4f86361/ Log:cleanup diff --git a/rpython/rlib/rwinreg.py b/rpython/rlib/rwinreg.py --- a/rpython/rlib/rwinreg.py +++ b/rpython/rlib/rwinreg.py @@ -47,7

[pypy-commit] pypy py3.5: merge default into py3.5

2018-03-01 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r93936:bd80880bbcdc Date: 2018-03-01 16:21 -0800 http://bitbucket.org/pypy/pypy/changeset/bd80880bbcdc/ Log:merge default into py3.5 ___ pypy-commit mailing list pypy-commit@python.org https://mail.pytho