[pypy-commit] pypy py3.5-fstring-pep498: Split the logic into its own file

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5-fstring-pep498 Changeset: r89721:9f329ca0b48f Date: 2017-01-24 08:50 +0100 http://bitbucket.org/pypy/pypy/changeset/9f329ca0b48f/ Log:Split the logic into its own file diff --git a/pypy/interpreter/astcompiler/astbuilder.py b/pypy/interpreter/astcompiler/ast

[pypy-commit] pypy py3.5-fstring-pep498: This version sticks to CPython more closely

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5-fstring-pep498 Changeset: r89722:d4206d15e05e Date: 2017-01-24 10:41 +0100 http://bitbucket.org/pypy/pypy/changeset/d4206d15e05e/ Log:This version sticks to CPython more closely diff --git a/pypy/interpreter/astcompiler/consts.py b/pypy/interpreter/astcompil

[pypy-commit] pypy real-mode-translator-driver: More explicit arrangement of tasks

2017-01-24 Thread william_ml_leslie
Author: William ML Leslie Branch: real-mode-translator-driver Changeset: r89723:b36e251c762f Date: 2017-01-24 21:19 +1100 http://bitbucket.org/pypy/pypy/changeset/b36e251c762f/ Log:More explicit arrangement of tasks diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py ---

[pypy-commit] pypy real-mode-translator-driver: Remove taskengine

2017-01-24 Thread william_ml_leslie
Author: William ML Leslie Branch: real-mode-translator-driver Changeset: r89724:aa48dbd8e0e2 Date: 2017-01-24 21:30 +1100 http://bitbucket.org/pypy/pypy/changeset/aa48dbd8e0e2/ Log:Remove taskengine diff --git a/rpython/translator/tool/taskengine.py b/rpython/translator/tool/taskengine.py d

[pypy-commit] pypy real-mode-translator-driver: Quit early if there is nothing to do

2017-01-24 Thread william_ml_leslie
Author: William ML Leslie Branch: real-mode-translator-driver Changeset: r89725:6429b253dfd2 Date: 2017-01-24 21:45 +1100 http://bitbucket.org/pypy/pypy/changeset/6429b253dfd2/ Log:Quit early if there is nothing to do diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py -

[pypy-commit] extradoc extradoc: Leysin 2017

2017-01-24 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5764:7a0473301e83 Date: 2017-01-24 11:54 +0100 http://bitbucket.org/pypy/extradoc/changeset/7a0473301e83/ Log:Leysin 2017 diff --git a/sprintinfo/leysin-winter-2017/announcement.txt b/sprintinfo/leysin-winter-2017/announcement.txt new file mod

[pypy-commit] extradoc extradoc: typo

2017-01-24 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5765:fcf6157938b6 Date: 2017-01-24 11:56 +0100 http://bitbucket.org/pypy/extradoc/changeset/fcf6157938b6/ Log:typo diff --git a/sprintinfo/leysin-winter-2017/announcement.txt b/sprintinfo/leysin-winter-2017/announcement.txt --- a/sprintinfo/le

[pypy-commit] extradoc extradoc: update link

2017-01-24 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5766:37959844c889 Date: 2017-01-24 12:03 +0100 http://bitbucket.org/pypy/extradoc/changeset/37959844c889/ Log:update link diff --git a/sprintinfo/leysin-winter-2017/announcement.txt b/sprintinfo/leysin-winter-2017/announcement.txt --- a/sprint

[pypy-commit] pypy py3.5-fstring-pep498: test and fix + tweaks

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5-fstring-pep498 Changeset: r89726:086cef12dead Date: 2017-01-24 12:19 +0100 http://bitbucket.org/pypy/pypy/changeset/086cef12dead/ Log:test and fix + tweaks diff --git a/pypy/interpreter/astcompiler/fstring.py b/pypy/interpreter/astcompiler/fstring.py --- a/p

[pypy-commit] pypy real-mode-translator-driver: Call the dependent function before running your task. Straightforward.

2017-01-24 Thread william_ml_leslie
Author: William ML Leslie Branch: real-mode-translator-driver Changeset: r89728:8ffe9002f13b Date: 2017-01-24 22:50 +1100 http://bitbucket.org/pypy/pypy/changeset/8ffe9002f13b/ Log:Call the dependent function before running your task. Straightforward. diff --git a/rpython/translator/

[pypy-commit] pypy real-mode-translator-driver: Remove unused methods

2017-01-24 Thread william_ml_leslie
Author: William ML Leslie Branch: real-mode-translator-driver Changeset: r89727:7cff1328be02 Date: 2017-01-24 21:59 +1100 http://bitbucket.org/pypy/pypy/changeset/7cff1328be02/ Log:Remove unused methods diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py --- a/rpython/tr

[pypy-commit] pypy real-mode-translator-driver: Move backend_select_goals up near get_backend_and_type_system to be less confusing

2017-01-24 Thread william_ml_leslie
Author: William ML Leslie Branch: real-mode-translator-driver Changeset: r89729:fa9749741225 Date: 2017-01-24 22:56 +1100 http://bitbucket.org/pypy/pypy/changeset/fa9749741225/ Log:Move backend_select_goals up near get_backend_and_type_system to be less confusing diff --git a/rpython

[pypy-commit] pypy default: Update to cffi/b0204d9d8b96

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r89730:c30204eb6247 Date: 2017-01-24 13:04 +0100 http://bitbucket.org/pypy/pypy/changeset/c30204eb6247/ Log:Update to cffi/b0204d9d8b96 diff --git a/lib_pypy/cffi.egg-info/PKG-INFO b/lib_pypy/cffi.egg-info/PKG-INFO --- a/lib_pypy/cffi.egg-info/PKG-INFO

[pypy-commit] pypy default: cffi issue300: return _Bool as Python booleans; related fixes

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r89731:b07132257e83 Date: 2017-01-24 13:32 +0100 http://bitbucket.org/pypy/pypy/changeset/b07132257e83/ Log:cffi issue300: return _Bool as Python booleans; related fixes diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ct

[pypy-commit] cffi default: reintroduce a fast case for ffi.unpack(arrays of _Bool)

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r2872:19591d33fdb2 Date: 2017-01-24 13:56 +0100 http://bitbucket.org/cffi/cffi/changeset/19591d33fdb2/ Log:reintroduce a fast case for ffi.unpack(arrays of _Bool) diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_b

[pypy-commit] pypy py3.5: fix tests

2017-01-24 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89732:321e73239593 Date: 2017-01-24 14:02 + http://bitbucket.org/pypy/pypy/changeset/321e73239593/ Log:fix tests diff --git a/pypy/module/cpyext/test/test_memoryobject.py b/pypy/module/cpyext/test/test_memoryobject.py --- a/pypy/module/cpyext

[pypy-commit] pypy py3.5: Fix type creation in test

2017-01-24 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89733:0e5a44ac25a3 Date: 2017-01-24 14:11 + http://bitbucket.org/pypy/pypy/changeset/0e5a44ac25a3/ Log:Fix type creation in test diff --git a/pypy/module/cpyext/test/test_userslots.py b/pypy/module/cpyext/test/test_userslots.py --- a/pypy/mod

[pypy-commit] pypy default: Fix type creation in test

2017-01-24 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89734:4dbc89b22496 Date: 2017-01-24 14:11 + http://bitbucket.org/pypy/pypy/changeset/4dbc89b22496/ Log:Fix type creation in test (grafted from 0e5a44ac25a3501025d3198b7d6806672182aff0) diff --git a/pypy/module/cpyext/test/test_userslots.py

[pypy-commit] pypy py3.5-fstring-pep498: test and fix

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5-fstring-pep498 Changeset: r89735:9069e5841365 Date: 2017-01-24 15:20 +0100 http://bitbucket.org/pypy/pypy/changeset/9069e5841365/ Log:test and fix diff --git a/pypy/interpreter/astcompiler/fstring.py b/pypy/interpreter/astcompiler/fstring.py --- a/pypy/inter

[pypy-commit] pypy default: merge heads

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r89738:2a1d5f7642dc Date: 2017-01-24 15:41 +0100 http://bitbucket.org/pypy/pypy/changeset/2a1d5f7642dc/ Log:merge heads diff --git a/pypy/module/cpyext/test/test_userslots.py b/pypy/module/cpyext/test/test_userslots.py --- a/pypy/module/cpyext/test/tes

[pypy-commit] pypy default: test and fix

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r89736:ad54ed3f27d2 Date: 2017-01-24 15:31 +0100 http://bitbucket.org/pypy/pypy/changeset/ad54ed3f27d2/ Log:test and fix diff --git a/pypy/interpreter/astcompiler/astbuilder.py b/pypy/interpreter/astcompiler/astbuilder.py --- a/pypy/interpreter/astcomp

[pypy-commit] pypy default: OperationError.errorstr() gave results depending on whether the exception

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r89737:a6f3468a583e Date: 2017-01-24 15:40 +0100 http://bitbucket.org/pypy/pypy/changeset/a6f3468a583e/ Log:OperationError.errorstr() gave results depending on whether the exception was already normalized or not. Fix diff --git a/pypy/interprete

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

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89739:a0364a1c7f67 Date: 2017-01-24 15:46 +0100 http://bitbucket.org/pypy/pypy/changeset/a0364a1c7f67/ Log:hg merge default diff --git a/lib_pypy/cffi.egg-info/PKG-INFO b/lib_pypy/cffi.egg-info/PKG-INFO --- a/lib_pypy/cffi.egg-info/PKG-INFO +++ b/

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

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89741:40f6115fdf6d Date: 2017-01-24 15:49 +0100 http://bitbucket.org/pypy/pypy/changeset/40f6115fdf6d/ Log:hg merge default diff --git a/lib_pypy/cffi/error.py b/lib_pypy/cffi/error.py new file mode 100644 --- /dev/null +++ b/lib_pypy/cffi/error.p

[pypy-commit] pypy py3.5-fstring-pep498: hg merge py3.5

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5-fstring-pep498 Changeset: r89742:3d484dcb6db5 Date: 2017-01-24 15:51 +0100 http://bitbucket.org/pypy/pypy/changeset/3d484dcb6db5/ Log:hg merge py3.5 diff too long, truncating to 2000 out of 3413 lines diff --git a/lib-python/3/test/test_asyncio/test_events.p

[pypy-commit] pypy default: forgot to check in this file

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r89740:e80e3f733c30 Date: 2017-01-24 15:49 +0100 http://bitbucket.org/pypy/pypy/changeset/e80e3f733c30/ Log:forgot to check in this file diff --git a/lib_pypy/cffi/error.py b/lib_pypy/cffi/error.py new file mode 100644 --- /dev/null +++ b/lib_pypy/cffi/

[pypy-commit] pypy py3.5-fstring-pep498: Add test file from CPython 3.6.0, unmodified so far

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5-fstring-pep498 Changeset: r89743:7d80e3347a86 Date: 2017-01-24 15:58 +0100 http://bitbucket.org/pypy/pypy/changeset/7d80e3347a86/ Log:Add test file from CPython 3.6.0, unmodified so far diff --git a/lib-python/3/test/test_fstring.py b/lib-python/3/test/test_

[pypy-commit] pypy py3.5-fstring-pep498: translation fix

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5-fstring-pep498 Changeset: r89745:207d98a326e0 Date: 2017-01-24 17:09 +0100 http://bitbucket.org/pypy/pypy/changeset/207d98a326e0/ Log:translation fix diff --git a/pypy/interpreter/astcompiler/fstring.py b/pypy/interpreter/astcompiler/fstring.py --- a/pypy/in

[pypy-commit] pypy py3.5-fstring-pep498: Can now translate a pypy with --no-objspace-fstrings. Might be useful

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5-fstring-pep498 Changeset: r89746:b8a7efb2f114 Date: 2017-01-24 17:10 +0100 http://bitbucket.org/pypy/pypy/changeset/b8a7efb2f114/ Log:Can now translate a pypy with --no-objspace-fstrings. Might be useful if you're absolutely convinced f-strings pose a

[pypy-commit] pypy py3.5-fstring-pep498: regenerate this file

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5-fstring-pep498 Changeset: r89744:8bfc9e97b86b Date: 2017-01-24 17:09 +0100 http://bitbucket.org/pypy/pypy/changeset/8bfc9e97b86b/ Log:regenerate this file diff --git a/pypy/interpreter/astcompiler/ast.py b/pypy/interpreter/astcompiler/ast.py --- a/pypy/inter

[pypy-commit] pypy py3.5: Add #defines for the PyMem_Raw family of functions

2017-01-24 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89747:ecc2c1ad70a9 Date: 2017-01-24 16:29 + http://bitbucket.org/pypy/pypy/changeset/ecc2c1ad70a9/ Log:Add #defines for the PyMem_Raw family of functions diff --git a/pypy/module/cpyext/include/pymem.h b/pypy/module/cpyext/include/pymem.h ---

[pypy-commit] pypy py3.5: Add f-strings to PyPy 3.5. In CPython they are only there from 3.6, but

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89749:a19390150925 Date: 2017-01-24 17:31 +0100 http://bitbucket.org/pypy/pypy/changeset/a19390150925/ Log:Add f-strings to PyPy 3.5. In CPython they are only there from 3.6, but the idea is that if it is the only new feature that you reall

[pypy-commit] pypy py3.5: merge heads

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89750:08f726964553 Date: 2017-01-24 17:31 +0100 http://bitbucket.org/pypy/pypy/changeset/08f726964553/ Log:merge heads diff --git a/pypy/module/cpyext/include/pymem.h b/pypy/module/cpyext/include/pymem.h --- a/pypy/module/cpyext/include/pymem.h +

[pypy-commit] pypy py3.5-fstring-pep498: close branch, ready for merge

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5-fstring-pep498 Changeset: r89748:40322e3c6462 Date: 2017-01-24 17:29 +0100 http://bitbucket.org/pypy/pypy/changeset/40322e3c6462/ Log:close branch, ready for merge ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy py3.5: Python.asdl gives attributes (lineno, col_offset) to the class 'arg',

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89751:fe93a6ca25bb Date: 2017-01-24 18:10 +0100 http://bitbucket.org/pypy/pypy/changeset/fe93a6ca25bb/ Log:Python.asdl gives attributes (lineno, col_offset) to the class 'arg', but because this ended up as a Product instead of a Sum the

[pypy-commit] pypy py3.5: Attempt to fix lib-python's test_ast.py: change the recorded position

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89752:abf9387139e4 Date: 2017-01-24 18:23 +0100 http://bitbucket.org/pypy/pypy/changeset/abf9387139e4/ Log:Attempt to fix lib-python's test_ast.py: change the recorded position for ast.Set,Dict,SetComp,DictComp diff --git a/pypy/interprete

[pypy-commit] pypy py3.5: raise a regular SyntaxError

2017-01-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89753:cee6cd3d91ce Date: 2017-01-24 18:27 +0100 http://bitbucket.org/pypy/pypy/changeset/cee6cd3d91ce/ Log:raise a regular SyntaxError diff --git a/pypy/interpreter/astcompiler/fstring.py b/pypy/interpreter/astcompiler/fstring.py --- a/pypy/inter

[pypy-commit] cffi default: Improve the error message for getattr/setattr

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r2873:8f9136ac88e6 Date: 2017-01-25 00:25 +0100 http://bitbucket.org/cffi/cffi/changeset/8f9136ac88e6/ Log:Improve the error message for getattr/setattr diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @

[pypy-commit] cffi default: extra tests

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r2874:ece6f0f2da93 Date: 2017-01-25 00:44 +0100 http://bitbucket.org/cffi/cffi/changeset/ece6f0f2da93/ Log:extra tests diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -784,6 +784,11 @@ assert str(e.value) == "cdata 'in

[pypy-commit] pypy default: update to cffi/ece6f0f2da93

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r89754:f6c083857478 Date: 2017-01-25 00:53 +0100 http://bitbucket.org/pypy/pypy/changeset/f6c083857478/ Log:update to cffi/ece6f0f2da93 diff --git a/pypy/module/_cffi_backend/cdataobj.py b/pypy/module/_cffi_backend/cdataobj.py --- a/pypy/module/_cffi_b

[pypy-commit] pypy py3.5: add test_fstring

2017-01-24 Thread pjenvey
Author: Philip Jenvey Branch: py3.5 Changeset: r89755:62d461b8e4a2 Date: 2017-01-24 20:40 -0800 http://bitbucket.org/pypy/pypy/changeset/62d461b8e4a2/ Log:add test_fstring diff --git a/lib-python/conftest.py b/lib-python/conftest.py --- a/lib-python/conftest.py +++ b/lib-python/conftest.py @