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

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90240:f9cd9cb3c6b5 Date: 2017-02-21 08:04 + http://bitbucket.org/pypy/pypy/changeset/f9cd9cb3c6b5/ Log:hg merge default diff --git a/lib-python/2.7/sysconfig.py b/lib-python/2.7/sysconfig.py --- a/lib-python/2.7/sysconfig.py +++ b/lib-python/2

[pypy-commit] pypy py3.5: more

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90242:19201be06f79 Date: 2017-02-21 08:53 + http://bitbucket.org/pypy/pypy/changeset/19201be06f79/ Log:more diff --git a/pypy/module/sys/__init__.py b/pypy/module/sys/__init__.py --- a/pypy/module/sys/__init__.py +++ b/pypy/module/sys/__init__

[pypy-commit] pypy py3.5: Remove some space.wrap()

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90241:04c87a175ddd Date: 2017-02-21 09:33 +0100 http://bitbucket.org/pypy/pypy/changeset/04c87a175ddd/ Log:Remove some space.wrap() diff --git a/pypy/interpreter/pyparser/error.py b/pypy/interpreter/pyparser/error.py --- a/pypy/interpreter/pypars

[pypy-commit] pypy default: merge heads

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90245:fc792f1074fd Date: 2017-02-21 09:24 + http://bitbucket.org/pypy/pypy/changeset/fc792f1074fd/ Log:merge heads diff --git a/rpython/translator/platform/posix.py b/rpython/translator/platform/posix.py --- a/rpython/translator/platform/posix.py

[pypy-commit] pypy default: unsure to understand why I need this to make py3.5 translate

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90243:dd1a88425cf6 Date: 2017-02-21 09:23 + http://bitbucket.org/pypy/pypy/changeset/dd1a88425cf6/ Log:unsure to understand why I need this to make py3.5 translate diff --git a/rpython/annotator/unaryop.py b/rpython/annotator/unaryop.py --- a/rpyth

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

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90244:c91068b7e4ea Date: 2017-02-21 09:24 + http://bitbucket.org/pypy/pypy/changeset/c91068b7e4ea/ Log:hg merge default diff --git a/rpython/annotator/unaryop.py b/rpython/annotator/unaryop.py --- a/rpython/annotator/unaryop.py +++ b/rpython/a

[pypy-commit] pypy default: merge heads

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90247:c8b8ba5341a7 Date: 2017-02-21 10:26 +0100 http://bitbucket.org/pypy/pypy/changeset/c8b8ba5341a7/ Log:merge heads diff --git a/rpython/annotator/unaryop.py b/rpython/annotator/unaryop.py --- a/rpython/annotator/unaryop.py +++ b/rpython/annotator/u

[pypy-commit] pypy default: wrap -> newtext, but never reachable right now

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90246:3a0d83a1dcc2 Date: 2017-02-21 09:23 +0100 http://bitbucket.org/pypy/pypy/changeset/3a0d83a1dcc2/ Log:wrap -> newtext, but never reachable right now diff --git a/pypy/module/cppyy/interp_cppyy.py b/pypy/module/cppyy/interp_cppyy.py --- a/pypy/mod

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

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90248:a56077f0591a Date: 2017-02-21 10:26 +0100 http://bitbucket.org/pypy/pypy/changeset/a56077f0591a/ Log:hg merge default diff --git a/pypy/module/cppyy/interp_cppyy.py b/pypy/module/cppyy/interp_cppyy.py --- a/pypy/module/cppyy/interp_cppyy.py

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

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90249:4ead37a14a0e Date: 2017-02-21 11:18 +0100 http://bitbucket.org/pypy/pypy/changeset/4ead37a14a0e/ Log:fix test diff --git a/pypy/module/imp/test/test_import.py b/pypy/module/imp/test/test_import.py --- a/pypy/module/imp/test/test_import.py +

[pypy-commit] pypy py3.5: missed lines in the merge 9690cd452a80

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90250:d08fd55e765a Date: 2017-02-21 11:21 +0100 http://bitbucket.org/pypy/pypy/changeset/d08fd55e765a/ Log:missed lines in the merge 9690cd452a80 diff --git a/pypy/module/imp/test/test_import.py b/pypy/module/imp/test/test_import.py --- a/pypy/mo

[pypy-commit] pypy py3.5: fix test_version.py

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90251:edb4e5cd554c Date: 2017-02-21 11:25 +0100 http://bitbucket.org/pypy/pypy/changeset/edb4e5cd554c/ Log:fix test_version.py diff --git a/pypy/module/cpyext/include/pyconfig.h b/pypy/module/cpyext/include/pyconfig.h --- a/pypy/module/cpyext/inc

[pypy-commit] pypy py3.5: don't crash if we read less lines than co_firstlineno (it can show up when trying to get the source of some half-builtin function in pypy)

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90252:db9d87141352 Date: 2017-02-21 11:31 +0100 http://bitbucket.org/pypy/pypy/changeset/db9d87141352/ Log:don't crash if we read less lines than co_firstlineno (it can show up when trying to get the source of some half-builtin function in

[pypy-commit] pypy unicode-utf8: Start fighting on a new branch with utf8 being the default storage

2017-02-21 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90253:c9309766eac6 Date: 2017-02-21 12:17 +0100 http://bitbucket.org/pypy/pypy/changeset/c9309766eac6/ Log:Start fighting on a new branch with utf8 being the default storage for W_Unicode object diff --git a/pypy/interpreter/pyparser/pars

[pypy-commit] pypy unicode-utf8: fix the nomenclature and put a few stop gaps in places we know need fixing

2017-02-21 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90254:29c62a133d25 Date: 2017-02-21 13:04 +0100 http://bitbucket.org/pypy/pypy/changeset/29c62a133d25/ Log:fix the nomenclature and put a few stop gaps in places we know need fixing diff --git a/pypy/interpreter/baseobjspace.py b/pypy/int

[pypy-commit] pypy unicode-utf8: shuffle stuff around to new file rutf8

2017-02-21 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90255:76c0add1d61e Date: 2017-02-21 13:10 +0100 http://bitbucket.org/pypy/pypy/changeset/76c0add1d61e/ Log:shuffle stuff around to new file rutf8 diff --git a/pypy/interpreter/unicodehelper.py b/pypy/interpreter/unicodehelper.py --- a/pypy/inter

[pypy-commit] pypy default: Seeing again the crash "ExecutionContext instances should not be seen

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90257:bd3fb63c58c8 Date: 2017-02-21 13:19 +0100 http://bitbucket.org/pypy/pypy/changeset/bd3fb63c58c8/ Log:Seeing again the crash "ExecutionContext instances should not be seen during translation". At least in this case I could track it to

[pypy-commit] pypy default: Call fsdecode_w() also in link() and readlink(), otherwise we can't pass

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90256:58d7aea67974 Date: 2017-02-21 12:34 +0100 http://bitbucket.org/pypy/pypy/changeset/58d7aea67974/ Log:Call fsdecode_w() also in link() and readlink(), otherwise we can't pass a unicode containing a non-ascii char diff --git a/pypy/module/p

[pypy-commit] pypy default: Use fsencode_w() instead of str0 at a few more places (this is really a bug fix)

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90258:90917511788e Date: 2017-02-21 13:31 +0100 http://bitbucket.org/pypy/pypy/changeset/90917511788e/ Log:Use fsencode_w() instead of str0 at a few more places (this is really a bug fix) diff --git a/pypy/module/posix/interp_posix.py b/pypy/m

[pypy-commit] pypy optinfo-into-bridges-2: fix two bugs in 3170ca56ec4a:

2017-02-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-2 Changeset: r90260:fec88c2114cb Date: 2017-02-19 22:02 +0100 http://bitbucket.org/pypy/pypy/changeset/fec88c2114cb/ Log:fix two bugs in 3170ca56ec4a: - wraparound problems in integer_fits - pending fields were broken b

[pypy-commit] pypy optinfo-into-bridges-2: merge 3170ca56ec4a: make use of the full three bytes that resumecode uses by allowing more values

2017-02-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-2 Changeset: r90259:5209cb965cae Date: 2017-02-21 13:45 +0100 http://bitbucket.org/pypy/pypy/changeset/5209cb965cae/ Log:merge 3170ca56ec4a: make use of the full three bytes that resumecode uses by allowing more values

[pypy-commit] pypy default: fix for translations without threads

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90261:b22622b0bc15 Date: 2017-02-21 13:34 +0100 http://bitbucket.org/pypy/pypy/changeset/b22622b0bc15/ Log:fix for translations without threads diff --git a/pypy/module/cpyext/pystate.py b/pypy/module/cpyext/pystate.py --- a/pypy/module/cpyext/pystate.

[pypy-commit] pypy optinfo-into-bridges-2: merge default

2017-02-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-2 Changeset: r90262:1764a122b2bd Date: 2017-02-21 13:56 +0100 http://bitbucket.org/pypy/pypy/changeset/1764a122b2bd/ Log:merge default diff too long, truncating to 2000 out of 28018 lines diff --git a/lib-python/2.7/sysconfig.py b/lib

[pypy-commit] pypy default: Add space.text0_w() and space.bytes0_w(). Start using it

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90263:79bd45d55155 Date: 2017-02-21 14:12 +0100 http://bitbucket.org/pypy/pypy/changeset/79bd45d55155/ Log:Add space.text0_w() and space.bytes0_w(). Start using it in the imp and posix modules. diff --git a/pypy/interpreter/baseobjspace.py b/py

[pypy-commit] pypy default: Add space.newfilename(), which is meant to replace the py3.5

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90264:168885e476f6 Date: 2017-02-21 14:32 +0100 http://bitbucket.org/pypy/pypy/changeset/168885e476f6/ Log:Add space.newfilename(), which is meant to replace the py3.5 space.wrap_fsdecoded() diff --git a/pypy/module/posix/interp_posix.py b/pyp

[pypy-commit] pypy default: Move fsencode_w() as a space method, and add a 'fsencode' unwrap_spec.

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90265:be3d0e6c4201 Date: 2017-02-21 14:41 +0100 http://bitbucket.org/pypy/pypy/changeset/be3d0e6c4201/ Log:Move fsencode_w() as a space method, and add a 'fsencode' unwrap_spec. diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/b

[pypy-commit] pypy py3.5: pickle restriction for memoryview, also do not pickle objects that do not have a __new__ type method

2017-02-21 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90266:91b1933d24b7 Date: 2017-02-21 14:50 +0100 http://bitbucket.org/pypy/pypy/changeset/91b1933d24b7/ Log:pickle restriction for memoryview, also do not pickle objects that do not have a __new__ type method diff --git a/pypy/interpr

[pypy-commit] pypy unicode-utf8: start testing using hypothesis

2017-02-21 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90267:422b66748b74 Date: 2017-02-21 15:13 +0100 http://bitbucket.org/pypy/pypy/changeset/422b66748b74/ Log:start testing using hypothesis diff --git a/pypy/interpreter/pyparser/parsestring.py b/pypy/interpreter/pyparser/parsestring.py --- a/pypy

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

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90268:6cb34cc6c598 Date: 2017-02-21 15:20 +0100 http://bitbucket.org/pypy/pypy/changeset/6cb34cc6c598/ Log:hg merge default diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjspace.py +++

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

2017-02-21 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90269:23a4859e0e29 Date: 2017-02-21 15:21 +0100 http://bitbucket.org/pypy/pypy/changeset/23a4859e0e29/ Log:merge heads diff --git a/pypy/interpreter/test/test_zzpickle_and_slow.py b/pypy/interpreter/test/test_zzpickle_and_slow.py --- a/pypy/inter

[pypy-commit] pypy py3.5: add variable_sized property to TypeDef (similar to the tp_itemsize property in cpython), use it to filter types from pickle properly (partly reverts the last commit)

2017-02-21 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90270:3a002d0cdb81 Date: 2017-02-21 15:39 +0100 http://bitbucket.org/pypy/pypy/changeset/3a002d0cdb81/ Log:add variable_sized property to TypeDef (similar to the tp_itemsize property in cpython), use it to filter types from pickle pro

[pypy-commit] pypy optinfo-into-bridges-2: - some more fixes

2017-02-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-2 Changeset: r90271:38359f83e374 Date: 2017-02-21 15:41 +0100 http://bitbucket.org/pypy/pypy/changeset/38359f83e374/ Log:- some more fixes - make the storage in Reader be unencoded diff --git a/rpython/jit/metainterp/resume.py

[pypy-commit] pypy py3.5: Implement PyUnicode_InternInPlace (port PyString_InternInPlace from default)

2017-02-21 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r90272:033d9de18f47 Date: 2017-02-21 15:35 + http://bitbucket.org/pypy/pypy/changeset/033d9de18f47/ Log:Implement PyUnicode_InternInPlace (port PyString_InternInPlace from default) diff --git a/pypy/module/cpyext/stubs.py b/pypy/module/

[pypy-commit] pypy py3.5: raise on invalid isoltion levels (sqlite3)

2017-02-21 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90273:ef5d1489274a Date: 2017-02-21 16:44 +0100 http://bitbucket.org/pypy/pypy/changeset/ef5d1489274a/ Log:raise on invalid isoltion levels (sqlite3) diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/l

[pypy-commit] pypy py3.5: raise not supported error if version is too old

2017-02-21 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90275:6165ad0377f1 Date: 2017-02-21 16:52 +0100 http://bitbucket.org/pypy/pypy/changeset/6165ad0377f1/ Log:raise not supported error if version is too old diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py ++

[pypy-commit] pypy py3.5: change exception message to pass cpython test

2017-02-21 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90274:620065d707da Date: 2017-02-21 16:44 +0100 http://bitbucket.org/pypy/pypy/changeset/620065d707da/ Log:change exception message to pass cpython test diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++

[pypy-commit] pypy unicode-utf8: write down check_utf8

2017-02-21 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90276:07c779b7a698 Date: 2017-02-21 18:35 +0100 http://bitbucket.org/pypy/pypy/changeset/07c779b7a698/ Log:write down check_utf8 diff --git a/pypy/interpreter/unicodehelper.py b/pypy/interpreter/unicodehelper.py --- a/pypy/interpreter/unicodehel

[pypy-commit] pypy default: Rewrite str_decode_utf_8_impl() to produce the exact same error messages

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90277:5e8ef7ce3887 Date: 2017-02-21 19:04 +0100 http://bitbucket.org/pypy/pypy/changeset/5e8ef7ce3887/ Log:Rewrite str_decode_utf_8_impl() to produce the exact same error messages as CPython 2.7. (test by fijal) diff --git a/rpython/rlib/runico

[pypy-commit] pypy py3.5: Fix: a memoryview on a read-only mmap must be read-only

2017-02-21 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r90278:56963c746067 Date: 2017-02-21 19:16 + http://bitbucket.org/pypy/pypy/changeset/56963c746067/ Log:Fix: a memoryview on a read-only mmap must be read-only diff --git a/pypy/module/mmap/interp_mmap.py b/pypy/module/mmap/interp_mmap.py --- a

[pypy-commit] extradoc extradoc: add maciej's tentative dates

2017-02-21 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5786:0f1ba73f9550 Date: 2017-02-21 21:06 +0100 http://bitbucket.org/pypy/extradoc/changeset/0f1ba73f9550/ Log:add maciej's tentative dates diff --git a/sprintinfo/leysin-winter-2017/people.txt b/sprintinfo/leysin-winter-2017/people.txt --- a/s

[pypy-commit] extradoc extradoc: arrive Sunday

2017-02-21 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5787:73ed31100fcd Date: 2017-02-21 21:16 +0100 http://bitbucket.org/pypy/extradoc/changeset/73ed31100fcd/ Log:arrive Sunday diff --git a/sprintinfo/leysin-winter-2017/people.txt b/sprintinfo/leysin-winter-2017/people.txt --- a/sprintinfo/leysi

[pypy-commit] extradoc extradoc: confirmed

2017-02-21 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5788:dabae4d716ce Date: 2017-02-21 21:25 +0100 http://bitbucket.org/pypy/extradoc/changeset/dabae4d716ce/ Log:confirmed diff --git a/sprintinfo/leysin-winter-2017/people.txt b/sprintinfo/leysin-winter-2017/people.txt --- a/sprintinfo/leysin-wi

[pypy-commit] pypy default: Backed out changeset 5e8ef7ce3887

2017-02-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r90279:94e61b03c50a Date: 2017-02-21 19:14 +0100 http://bitbucket.org/pypy/pypy/changeset/94e61b03c50a/ Log:Backed out changeset 5e8ef7ce3887 Turns out that Python 2's utf-8 decoding is "wrong", and runicode.py implements a more correct