[pypy-commit] pypy py3.5: Fix handling of C-created 0-D buffers

2017-02-22 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r90316:91d10f04115f Date: 2017-02-23 04:24 + http://bitbucket.org/pypy/pypy/changeset/91d10f04115f/ Log:Fix handling of C-created 0-D buffers diff --git a/pypy/module/cpyext/memoryobject.py b/pypy/module/cpyext/memoryobject.py --- a/pypy/modul

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

2017-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-3 Changeset: r90314:8404d10c4bc1 Date: 2017-02-22 20:55 +0100 http://bitbucket.org/pypy/pypy/changeset/8404d10c4bc1/ Log:merge default diff too long, truncating to 2000 out of 28813 lines diff --git a/lib-python/2.7/sysconfig.py b/lib

[pypy-commit] pypy optinfo-into-bridges-3: add some comments, some nicer var names, a tiny bit of cleanup

2017-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-3 Changeset: r90315:c8e2eb2e3e18 Date: 2017-02-22 22:13 +0100 http://bitbucket.org/pypy/pypy/changeset/c8e2eb2e3e18/ Log:add some comments, some nicer var names, a tiny bit of cleanup diff --git a/rpython/jit/metainterp/optimizeopt/bri

[pypy-commit] pypy optinfo-into-bridges-3: document branch

2017-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-3 Changeset: r90313:8fa25d257df0 Date: 2017-02-22 20:53 +0100 http://bitbucket.org/pypy/pypy/changeset/8fa25d257df0/ Log:document branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.

[pypy-commit] pypy default: Check for errors raised in sq_length

2017-02-22 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r90312:ba83efb4837f Date: 2017-02-22 18:51 + http://bitbucket.org/pypy/pypy/changeset/ba83efb4837f/ Log:Check for errors raised in sq_length diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/slotde

[pypy-commit] pypy unicode-utf8: rename newunicode to utf8

2017-02-22 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90311:16e1ade09c1c Date: 2017-02-22 18:31 +0100 http://bitbucket.org/pypy/pypy/changeset/16e1ade09c1c/ Log:rename newunicode to utf8 diff --git a/pypy/interpreter/pyparser/parsestring.py b/pypy/interpreter/pyparser/parsestring.py --- a/pypy/inte

[pypy-commit] pypy default: oops, translation fix

2017-02-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r90310:9de068384802 Date: 2017-02-22 17:08 + http://bitbucket.org/pypy/pypy/changeset/9de068384802/ Log:oops, translation fix diff --git a/pypy/interpreter/astcompiler/ast.py b/pypy/interpreter/astcompiler/ast.py --- a/pypy/interpreter/astcompiler/

[pypy-commit] pypy unicode-utf8: start passing some unicode tests. no UCS4 support yet completely

2017-02-22 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90309:f05bed30187f Date: 2017-02-22 18:02 +0100 http://bitbucket.org/pypy/pypy/changeset/f05bed30187f/ Log:start passing some unicode tests. no UCS4 support yet completely diff --git a/pypy/interpreter/unicodehelper.py b/pypy/interpreter/unicode

[pypy-commit] pypy py3.5: revert back to text_w and add comment

2017-02-22 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90308:342121c5c4e5 Date: 2017-02-22 17:04 +0100 http://bitbucket.org/pypy/pypy/changeset/342121c5c4e5/ Log:revert back to text_w and add comment diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py --- a/pypy/objspa

[pypy-commit] pypy py3.5: call identifier_w on first param of call type("A\udcdcb", (), {}), instead of text_w. do not ignore surrogate error

2017-02-22 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90307:d7116d6e5a29 Date: 2017-02-22 16:57 +0100 http://bitbucket.org/pypy/pypy/changeset/d7116d6e5a29/ Log:call identifier_w on first param of call type("A\udcdcb", (), {}), instead of text_w. do not ignore surrogate error diff --git

[pypy-commit] pypy py3.5: Kill space.identifier_w(), which is almost not used any more. We might

2017-02-22 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90306:eaf70fb58a3e Date: 2017-02-22 16:46 +0100 http://bitbucket.org/pypy/pypy/changeset/eaf70fb58a3e/ Log:Kill space.identifier_w(), which is almost not used any more. We might need to think about surrogate-forbidding conversions, but

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

2017-02-22 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90305:9eb20beecdd2 Date: 2017-02-22 16:20 +0100 http://bitbucket.org/pypy/pypy/changeset/9eb20beecdd2/ 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: Rename 'space.wrap_fsdecoded' -> 'space.newfilename'

2017-02-22 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90304:0deea03316b3 Date: 2017-02-22 16:14 +0100 http://bitbucket.org/pypy/pypy/changeset/0deea03316b3/ Log:Rename 'space.wrap_fsdecoded' -> 'space.newfilename' diff --git a/pypy/bin/pyinteractive.py b/pypy/bin/pyinteractive.py --- a/pypy/bin/pyint

[pypy-commit] pypy default: remove 'space.w_str'

2017-02-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r90303:f325422fa569 Date: 2017-02-22 16:12 +0100 http://bitbucket.org/pypy/pypy/changeset/f325422fa569/ Log:remove 'space.w_str' diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py --- a/pypy/objspace/fake/objspace.py +++ b/pypy

[pypy-commit] pypy py3.5: Use raises() instead of a hand-rolled equivalent

2017-02-22 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r90302:c13e668a628c Date: 2017-02-22 15:11 + http://bitbucket.org/pypy/pypy/changeset/c13e668a628c/ Log:Use raises() instead of a hand-rolled equivalent diff --git a/pypy/objspace/std/test/test_obj.py b/pypy/objspace/std/test/test_obj.py --- a

[pypy-commit] pypy py3.5: revert this part of 4d3783a2d4a2 (avoid introducing pointless difference)

2017-02-22 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90301:2cd836c625bf Date: 2017-02-22 15:55 +0100 http://bitbucket.org/pypy/pypy/changeset/2cd836c625bf/ Log:revert this part of 4d3783a2d4a2 (avoid introducing pointless difference) diff --git a/lib-python/3/test/test_builtin.py b/lib-pyth

[pypy-commit] pypy py3.5: obscure, python 3.5.2 has a different message than 3.5.3

2017-02-22 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90300:4d3783a2d4a2 Date: 2017-02-22 15:50 +0100 http://bitbucket.org/pypy/pypy/changeset/4d3783a2d4a2/ Log:obscure, python 3.5.2 has a different message than 3.5.3 diff --git a/lib-python/3/test/test_builtin.py b/lib-python/3/test/test_buil

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

2017-02-22 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90298:7921b4d69cc7 Date: 2017-02-22 15:37 +0100 http://bitbucket.org/pypy/pypy/changeset/7921b4d69cc7/ Log:hg merge default diff --git a/pypy/interpreter/astcompiler/ast.py b/pypy/interpreter/astcompiler/ast.py --- a/pypy/interpreter/astcompiler/

[pypy-commit] pypy default: Replace space.realstr_w -> space.realtext_w and 'str_or_None' ->

2017-02-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r90297:5b74b06f962b Date: 2017-02-22 15:11 +0100 http://bitbucket.org/pypy/pypy/changeset/5b74b06f962b/ Log:Replace space.realstr_w -> space.realtext_w and 'str_or_None' -> 'text_or_none'. Fix a few places that accepted "str_or_None" but

[pypy-commit] pypy default: remove space.str0_w() completely

2017-02-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r90299:f7ee914736ff Date: 2017-02-22 15:40 +0100 http://bitbucket.org/pypy/pypy/changeset/f7ee914736ff/ Log:remove space.str0_w() completely diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjs

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

2017-02-22 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90296:d15adb9f2806 Date: 2017-02-22 14:57 +0100 http://bitbucket.org/pypy/pypy/changeset/d15adb9f2806/ Log:merge heads diff --git a/lib_pypy/_audioop_build.py b/lib_pypy/_audioop_build.py --- a/lib_pypy/_audioop_build.py +++ b/lib_pypy/_audioop_bu

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

2017-02-22 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90294:7639500dbd0e Date: 2017-02-22 14:14 +0100 http://bitbucket.org/pypy/pypy/changeset/7639500dbd0e/ 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: Remove some more space.str_w and 'str0'

2017-02-22 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90295:fbd3692ba3cd Date: 2017-02-22 14:31 +0100 http://bitbucket.org/pypy/pypy/changeset/fbd3692ba3cd/ Log:Remove some more space.str_w and 'str0' diff --git a/pypy/interpreter/astcompiler/fstring.py b/pypy/interpreter/astcompiler/fstring.py ---

[pypy-commit] pypy py3.5: some last tweaks to pass the test audioop suite

2017-02-22 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90293:f533d9936aca Date: 2017-02-22 14:38 +0100 http://bitbucket.org/pypy/pypy/changeset/f533d9936aca/ Log:some last tweaks to pass the test audioop suite diff --git a/lib_pypy/_audioop_build.py b/lib_pypy/_audioop_build.py --- a/lib_pypy/_a

[pypy-commit] pypy py3.5: audioop support size == 3

2017-02-22 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90292:a4c46e6650b2 Date: 2017-02-22 14:20 +0100 http://bitbucket.org/pypy/pypy/changeset/a4c46e6650b2/ Log:audioop support size == 3 diff --git a/lib_pypy/_audioop_build.py b/lib_pypy/_audioop_build.py --- a/lib_pypy/_audioop_build.py +++ b/

[pypy-commit] pypy py3.5: audioop, check_size also accepts size == 3 now

2017-02-22 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r90291:d9c088e677ba Date: 2017-02-22 11:34 +0100 http://bitbucket.org/pypy/pypy/changeset/d9c088e677ba/ Log:audioop, check_size also accepts size == 3 now diff --git a/lib_pypy/audioop.py b/lib_pypy/audioop.py --- a/lib_pypy/audioop.py +++ b/

[pypy-commit] pypy optinfo-into-bridges-3: do the right thing with descsr

2017-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-3 Changeset: r90289:3b86571d166a Date: 2017-02-21 19:50 +0100 http://bitbucket.org/pypy/pypy/changeset/3b86571d166a/ Log:do the right thing with descsr (port of 96fe6ec4dec2 and 52ad37a21275) diff --git a/rpython/jit/metainter

[pypy-commit] pypy optinfo-into-bridges-3: store content directly

2017-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-3 Changeset: r90288:ac91feadb8c0 Date: 2017-02-21 19:36 +0100 http://bitbucket.org/pypy/pypy/changeset/ac91feadb8c0/ Log:store content directly diff --git a/rpython/jit/metainterp/resumecode.py b/rpython/jit/metainterp/resumecode.py -

[pypy-commit] pypy optinfo-into-bridges-3: a general resume improvement: move the rd_count into the resumecode

2017-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-3 Changeset: r90290:7385c2391c79 Date: 2017-02-21 21:04 +0100 http://bitbucket.org/pypy/pypy/changeset/7385c2391c79/ Log:a general resume improvement: move the rd_count into the resumecode diff --git a/rpython/jit/metainterp/compile.py

[pypy-commit] pypy optinfo-into-bridges-2: abandon this branch

2017-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optinfo-into-bridges-2 Changeset: r90287:6b1791c1eb9e Date: 2017-02-22 13:41 +0100 http://bitbucket.org/pypy/pypy/changeset/6b1791c1eb9e/ Log:abandon this branch ___ pypy-commit mailing list pypy-commit@python.or

[pypy-commit] pypy default: Remove space.str_w() and space.str0_w() in RPython code.

2017-02-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r90286:a87a8bb34ecd Date: 2017-02-22 12:09 +0100 http://bitbucket.org/pypy/pypy/changeset/a87a8bb34ecd/ Log:Remove space.str_w() and space.str0_w() in RPython code. Remove ``str`` as an unwrap_spec argument. diff --git a/pypy/interpreter/baseobj

[pypy-commit] pypy py3.5: port of 5c0c182

2017-02-22 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90285:bbfa74ae6b0d Date: 2017-02-22 09:48 +0100 http://bitbucket.org/pypy/pypy/changeset/bbfa74ae6b0d/ Log:port of 5c0c182 diff --git a/lib-python/3/sysconfig.py b/lib-python/3/sysconfig.py --- a/lib-python/3/sysconfig.py +++ b/lib-python/3/syscon

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

2017-02-22 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90284:12c942ae2993 Date: 2017-02-22 09:44 +0100 http://bitbucket.org/pypy/pypy/changeset/12c942ae2993/ Log:hg merge default diff --git a/pypy/interpreter/main.py b/pypy/interpreter/main.py --- a/pypy/interpreter/main.py +++ b/pypy/interpreter/main

[pypy-commit] pypy default: Add comment

2017-02-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r90282:67b56d3a90e0 Date: 2017-02-22 09:22 +0100 http://bitbucket.org/pypy/pypy/changeset/67b56d3a90e0/ Log:Add comment diff --git a/rpython/rlib/runicode.py b/rpython/rlib/runicode.py --- a/rpython/rlib/runicode.py +++ b/rpython/rlib/runicode.py @@ -15

[pypy-commit] pypy default: Get rid of the RUnicodeEncodeError exception class, used only at one

2017-02-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r90283:c0dbd36ded3d Date: 2017-02-22 09:31 +0100 http://bitbucket.org/pypy/pypy/changeset/c0dbd36ded3d/ Log:Get rid of the RUnicodeEncodeError exception class, used only at one place. It is turned into a space.w_UnicodeEncodeError immediately

[pypy-commit] pypy space-wrap: Avoid space.wrap when possible

2017-02-22 Thread fniephaus
Author: Fabio Niephaus Branch: space-wrap Changeset: r90280:4dbfbf63a6fb Date: 2017-02-22 08:06 +0100 http://bitbucket.org/pypy/pypy/changeset/4dbfbf63a6fb/ Log:Avoid space.wrap when possible diff --git a/pypy/interpreter/main.py b/pypy/interpreter/main.py --- a/pypy/interpreter/main.py +++

[pypy-commit] pypy default: Merged in fniephaus/pypy/space-wrap (pull request #518)

2017-02-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r90281:1c6f372c0035 Date: 2017-02-22 08:07 + http://bitbucket.org/pypy/pypy/changeset/1c6f372c0035/ Log:Merged in fniephaus/pypy/space-wrap (pull request #518) Avoid space.wrap when possible Approved-by: Armin Rigo diff --git a/pyp