[pypy-commit] pypy faster-rstruct-2: hg merge default

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91382:4d0500d6eced Date: 2017-05-23 00:30 +0200 http://bitbucket.org/pypy/pypy/changeset/4d0500d6eced/ Log:hg merge default diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py --- a/lib_pypy/_ctypes/function.py ++

[pypy-commit] pypy faster-rstruct-2: fix test_gc_load_indexed_str

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91381:ad1105da8697 Date: 2017-05-23 00:26 +0200 http://bitbucket.org/pypy/pypy/changeset/ad1105da8697/ Log:fix test_gc_load_indexed_str diff --git a/rpython/translator/backendopt/writeanalyze.py b/rpython/translator/backendopt/writea

[pypy-commit] pypy faster-rstruct-2: typo

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91380:a7c92808278f Date: 2017-05-23 00:19 +0200 http://bitbucket.org/pypy/pypy/changeset/a7c92808278f/ Log:typo diff --git a/rpython/translator/backendopt/writeanalyze.py b/rpython/translator/backendopt/writeanalyze.py --- a/rpython/

[pypy-commit] pypy faster-rstruct-2: @enforceargs does not play well with @specialize, use _annenforceargs_ directly

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91379:616c5957da8d Date: 2017-05-23 00:19 +0200 http://bitbucket.org/pypy/pypy/changeset/616c5957da8d/ Log:@enforceargs does not play well with @specialize, use _annenforceargs_ directly diff --git a/rpython/jit/backend/llsupp

[pypy-commit] pypy cpyext-unhashable: backed out 552622605578, breaks too many things

2017-05-22 Thread mattip
Author: Matti Picus Branch: cpyext-unhashable Changeset: r91378:ff2ce5a214bd Date: 2017-05-22 21:45 +0300 http://bitbucket.org/pypy/pypy/changeset/ff2ce5a214bd/ Log:backed out 552622605578, breaks too many things diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodobj

[pypy-commit] pypy faster-rstruct-2: implement the analyzer for gc_store_indexed

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91376:1e87cd8c5f6c Date: 2017-05-22 18:59 +0200 http://bitbucket.org/pypy/pypy/changeset/1e87cd8c5f6c/ Log:implement the analyzer for gc_store_indexed diff --git a/rpython/translator/backendopt/test/test_writeanalyze.py b/rpython/tra

[pypy-commit] pypy faster-rstruct-2: add a passing test for gc_store_indexed on a list of chars

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91377:64c71c919e55 Date: 2017-05-22 19:01 +0200 http://bitbucket.org/pypy/pypy/changeset/64c71c919e55/ Log:add a passing test for gc_store_indexed on a list of chars diff --git a/rpython/translator/backendopt/test/test_writeanalyze.py

[pypy-commit] pypy faster-rstruct-2: add support & test for gc_load_indexed of a list of chars

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91375:d5be1a60c5a3 Date: 2017-05-22 18:47 +0200 http://bitbucket.org/pypy/pypy/changeset/d5be1a60c5a3/ Log:add support & test for gc_load_indexed of a list of chars diff --git a/rpython/translator/backendopt/test/test_writeanalyze.py

[pypy-commit] pypy faster-rstruct-2: backout 85d3ab6fe80b, which was broken, and start to rewrite the logic in a more generic way. Also, write tests in such a way that we can check that gc_{load, stor

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91374:356dacc477eb Date: 2017-05-22 18:30 +0200 http://bitbucket.org/pypy/pypy/changeset/356dacc477eb/ Log:backout 85d3ab6fe80b, which was broken, and start to rewrite the logic in a more generic way. Also, write tests in such

[pypy-commit] pypy default: Backout PR #490 (ab8a0b092d2d + follow-up bd7b1902c4df).

2017-05-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r91373:1a06512dea4b Date: 2017-05-22 18:21 +0200 http://bitbucket.org/pypy/pypy/changeset/1a06512dea4b/ Log:Backout PR #490 (ab8a0b092d2d + follow-up bd7b1902c4df). See https://bitbucket.org/pypy/pypy/issues/2534. It gives a smallish PyP

[pypy-commit] pypy py3.5: Add validation of __getnewargs__()/__getnewargs_ex__() return values

2017-05-22 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r91372:48119cb4c0db Date: 2017-05-22 16:58 +0100 http://bitbucket.org/pypy/pypy/changeset/48119cb4c0db/ Log:Add validation of __getnewargs__()/__getnewargs_ex__() return values diff --git a/pypy/objspace/std/objectobject.py b/pypy/objspace/std/obj

[pypy-commit] pypy cpyext-unhashable: add passing tests

2017-05-22 Thread mattip
Author: Matti Picus Branch: cpyext-unhashable Changeset: r91371:21ce0ac7d0de Date: 2017-05-22 18:34 +0300 http://bitbucket.org/pypy/pypy/changeset/21ce0ac7d0de/ Log:add passing tests diff --git a/pypy/module/cpyext/test/test_typeobject.py b/pypy/module/cpyext/test/test_typeobject.py --- a/p

[pypy-commit] pypy py3.5: Adapt test to py3

2017-05-22 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r91370:e8a4ea639258 Date: 2017-05-22 15:17 +0100 http://bitbucket.org/pypy/pypy/changeset/e8a4ea639258/ Log:Adapt test to py3 diff --git a/pypy/module/cpyext/test/issue2482.c b/pypy/module/cpyext/test/issue2482.c --- a/pypy/module/cpyext/test/issu

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

2017-05-22 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r91369:619bc1ea9e6d Date: 2017-05-22 14:58 +0100 http://bitbucket.org/pypy/pypy/changeset/619bc1ea9e6d/ Log:fix test diff --git a/pypy/module/cpyext/test/test_listobject.py b/pypy/module/cpyext/test/test_listobject.py --- a/pypy/module/cpyext/test

[pypy-commit] pypy sockopt_zero: shorten code path

2017-05-22 Thread Alecsandru Patrascu
Author: Alecsandru Patrascu Branch: sockopt_zero Changeset: r91367:f848cd62800a Date: 2017-05-22 16:31 +0300 http://bitbucket.org/pypy/pypy/changeset/f848cd62800a/ Log:shorten code path diff --git a/pypy/module/_socket/interp_socket.py b/pypy/module/_socket/interp_socket.py --- a/pypy/modul

[pypy-commit] pypy sockopt_zero: added the possibility to have zero sized buffer length

2017-05-22 Thread Alecsandru Patrascu
Author: Alecsandru Patrascu Branch: sockopt_zero Changeset: r91365:74c6874f803f Date: 2017-05-22 11:02 +0300 http://bitbucket.org/pypy/pypy/changeset/74c6874f803f/ Log:added the possibility to have zero sized buffer length diff --git a/pypy/module/_socket/interp_socket.py b/pypy/module/_soc

[pypy-commit] pypy default: Merged in palecsandru/pypy2_sockopt_zero/sockopt_zero (pull request #548)

2017-05-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r91368:965ffd1ed1de Date: 2017-05-22 13:51 + http://bitbucket.org/pypy/pypy/changeset/965ffd1ed1de/ Log:Merged in palecsandru/pypy2_sockopt_zero/sockopt_zero (pull request #548) Passing a buffersize of 0 to socket.getsockopt

[pypy-commit] pypy sockopt_zero: proper fix after review

2017-05-22 Thread Alecsandru Patrascu
Author: Alecsandru Patrascu Branch: sockopt_zero Changeset: r91366:4c2ff9e6a959 Date: 2017-05-22 14:10 +0300 http://bitbucket.org/pypy/pypy/changeset/4c2ff9e6a959/ Log:proper fix after review diff --git a/pypy/module/_socket/interp_socket.py b/pypy/module/_socket/interp_socket.py --- a/pypy

[pypy-commit] pypy default: fix issue #1877: replace bare Exceptions with AnnotatorError in the annotator

2017-05-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r91364:1d471fdc1963 Date: 2017-05-22 15:30 +0200 http://bitbucket.org/pypy/pypy/changeset/1d471fdc1963/ Log:fix issue #1877: replace bare Exceptions with AnnotatorError in the annotator diff --git a/rpython/annotator/binaryop.py b/rpyth

[pypy-commit] pypy default: Merge default

2017-05-22 Thread ltratt
Author: Laurence Tratt Branch: Changeset: r91363:cfe544728497 Date: 2017-05-22 15:23 +0200 http://bitbucket.org/pypy/pypy/changeset/cfe544728497/ Log:Merge default diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py --- a/lib_pypy/_ctypes/function.py +++ b/lib_pypy/_cty

[pypy-commit] pypy default: Build main binaries on OpenBSD with wxallowed.

2017-05-22 Thread ltratt
Author: Laurence Tratt Branch: Changeset: r91362:008c6f3a2f8f Date: 2017-05-22 15:18 +0200 http://bitbucket.org/pypy/pypy/changeset/008c6f3a2f8f/ Log:Build main binaries on OpenBSD with wxallowed. On RPython, JIT compilers that need to read and write to the same page need to

[pypy-commit] pypy faster-rstruct-2: enforce the annotation of write_float_at_mem: the problem fixed by 0e91701e92f0 was that we mixed a r_floatstorage with a float: on 32 bit they are different types

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91361:65b6be2c1b4f Date: 2017-05-22 12:00 +0200 http://bitbucket.org/pypy/pypy/changeset/65b6be2c1b4f/ Log:enforce the annotation of write_float_at_mem: the problem fixed by 0e91701e92f0 was that we mixed a r_floatstorage with

[pypy-commit] pypy cpyext-unhashable: merge default into branch

2017-05-22 Thread mattip
Author: Matti Picus Branch: cpyext-unhashable Changeset: r91359:21f235773e6d Date: 2017-05-21 00:07 +0300 http://bitbucket.org/pypy/pypy/changeset/21f235773e6d/ Log:merge default into branch diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py ++

[pypy-commit] pypy cpyext-unhashable: test, fix for cpytext hash of empty string subclass not returning -1

2017-05-22 Thread mattip
Author: Matti Picus Branch: cpyext-unhashable Changeset: r91360:c2f5f5816876 Date: 2017-05-22 10:43 +0300 http://bitbucket.org/pypy/pypy/changeset/c2f5f5816876/ Log:test, fix for cpytext hash of empty string subclass not returning -1 diff --git a/pypy/module/cpyext/test/test_bytesobject.py