[pypy-commit] pypy default: Disable an assert that fails also on CPython, where failure is better just ignored at least on PyPy

2017-05-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r91257:e300fd927c59 Date: 2017-05-11 23:13 +0200 http://bitbucket.org/pypy/pypy/changeset/e300fd927c59/ Log:Disable an assert that fails also on CPython, where failure is better just ignored at least on PyPy diff --git a/pypy/module/itertools/in

[pypy-commit] pypy str-measure: improve the wrapper

2017-05-11 Thread fijal
Author: fijal Branch: str-measure Changeset: r91256:92c947349352 Date: 2017-05-11 18:20 +0200 http://bitbucket.org/pypy/pypy/changeset/92c947349352/ Log:improve the wrapper diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace/std/unicodeobj

[pypy-commit] pypy PyBuffer-backport: Don't bother preventing _numpypy.frombuffer() from working on memoryviews

2017-05-11 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer-backport Changeset: r91255:89ffc4931b4b Date: 2017-05-11 16:57 +0100 http://bitbucket.org/pypy/pypy/changeset/89ffc4931b4b/ Log:Don't bother preventing _numpypy.frombuffer() from working on memoryviews diff --git a/pypy/module/micronumpy/test/test_

[pypy-commit] pypy PyBuffer-backport: Restrict marshalling to old-style buffers

2017-05-11 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer-backport Changeset: r91254:647b63731eca Date: 2017-05-11 16:53 +0100 http://bitbucket.org/pypy/pypy/changeset/647b63731eca/ Log:Restrict marshalling to old-style buffers diff --git a/pypy/objspace/std/marshal_impl.py b/pypy/objspace/std/marshal_impl.py --

[pypy-commit] pypy PyBuffer-backport: fix micronumpy

2017-05-11 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer-backport Changeset: r91253:2372a325f694 Date: 2017-05-11 16:43 +0100 http://bitbucket.org/pypy/pypy/changeset/2372a325f694/ Log:fix micronumpy diff --git a/pypy/module/micronumpy/concrete.py b/pypy/module/micronumpy/concrete.py --- a/pypy/module/micronump

[pypy-commit] pypy PyBuffer-backport: Fix memoryview.__setitem__, again

2017-05-11 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer-backport Changeset: r91251:3ebd85b5b58e Date: 2017-05-11 16:02 +0100 http://bitbucket.org/pypy/pypy/changeset/3ebd85b5b58e/ Log:Fix memoryview.__setitem__, again diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py --- a/pypy

[pypy-commit] pypy PyBuffer-backport: fix _rawffi

2017-05-11 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer-backport Changeset: r91252:4574a68bea35 Date: 2017-05-11 16:09 +0100 http://bitbucket.org/pypy/pypy/changeset/4574a68bea35/ Log:fix _rawffi diff --git a/pypy/module/_rawffi/interp_rawffi.py b/pypy/module/_rawffi/interp_rawffi.py --- a/pypy/module/_rawffi/

[pypy-commit] pypy faster-rstruct-2: reduce code duplication

2017-05-11 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91249:be9e1d6fe67b Date: 2017-05-11 16:14 +0200 http://bitbucket.org/pypy/pypy/changeset/be9e1d6fe67b/ Log:reduce code duplication diff --git a/rpython/rtyper/test/test_llop.py b/rpython/rtyper/test/test_llop.py --- a/rpython/rtyper/t

[pypy-commit] pypy faster-rstruct-2: deleting strstorage tests was a mistake, because they were the only ones to test llop.gc_load_indexed. Rewrite them in a more direct way

2017-05-11 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91248:22c587e1da2b Date: 2017-05-11 16:09 +0200 http://bitbucket.org/pypy/pypy/changeset/22c587e1da2b/ Log:deleting strstorage tests was a mistake, because they were the only ones to test llop.gc_load_indexed. Rewrite them in a

[pypy-commit] pypy faster-rstruct-2: add the JIT version of test_llop

2017-05-11 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91250:892ab4160ec6 Date: 2017-05-11 16:21 +0200 http://bitbucket.org/pypy/pypy/changeset/892ab4160ec6/ Log:add the JIT version of test_llop diff --git a/rpython/jit/backend/x86/test/test_llop.py b/rpython/jit/backend/x86/test/test_ll

[pypy-commit] pypy default: Merged in sthalik/pypy-1/sthalik/fix-signed-integer-sizes-1494493539409 (pull request #543)

2017-05-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r91247:400ffc527c25 Date: 2017-05-11 10:39 + http://bitbucket.org/pypy/pypy/changeset/400ffc527c25/ Log:Merged in sthalik/pypy-1/sthalik/fix-signed-integer- sizes-1494493539409 (pull request #543) fix signed integer sizes diff --git

[pypy-commit] pypy sthalik/fix-signed-integer-sizes-1494493539409: fix signed integer sizes

2017-05-11 Thread sthalik
Author: Stanisław Halik Branch: sthalik/fix-signed-integer-sizes-1494493539409 Changeset: r91246:cb8ca968878f Date: 2017-05-11 09:06 + http://bitbucket.org/pypy/pypy/changeset/cb8ca968878f/ Log:fix signed integer sizes diff --git a/pypy/doc/windows.rst b/pypy/doc/windows.rst --- a/pypy/d

[pypy-commit] pypy default: in theory, this is a fix

2017-05-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r91245:5ebcb8f995fd Date: 2017-05-11 12:10 +0200 http://bitbucket.org/pypy/pypy/changeset/5ebcb8f995fd/ Log:in theory, this is a fix diff --git a/pypy/objspace/std/intobject.py b/pypy/objspace/std/intobject.py --- a/pypy/objspace/std/intobject.py +++ b/

[pypy-commit] pypy faster-rstruct-2: remove the last remainder of the killed strstorage

2017-05-11 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91244:a12006f0de48 Date: 2017-05-11 11:29 +0200 http://bitbucket.org/pypy/pypy/changeset/a12006f0de48/ Log:remove the last remainder of the killed strstorage diff --git a/rpython/jit/backend/x86/test/test_strstorage.py b/rpython/jit/

[pypy-commit] pypy faster-rstruct-2: we cannot malloc(STR, zero=True) because the GC does not support it. So, simplify a bit the code, remove the needs_zeros flag and always write zeros when it's need

2017-05-11 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91243:582e284508de Date: 2017-05-11 11:25 +0200 http://bitbucket.org/pypy/pypy/changeset/582e284508de/ Log:we cannot malloc(STR, zero=True) because the GC does not support it. So, simplify a bit the code, remove the needs_zeros

[pypy-commit] pypy py3.5: Manual merge of 6093ff1a44e6, plus reduce/setstate

2017-05-11 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r91242:cd0822695fae Date: 2017-05-11 11:38 +0200 http://bitbucket.org/pypy/pypy/changeset/cd0822695fae/ Log:Manual merge of 6093ff1a44e6, plus reduce/setstate diff --git a/pypy/module/itertools/interp_itertools.py b/pypy/module/itertools/interp_it

[pypy-commit] pypy default: Rewrite itertools.groupby(), following CPython instead of having many

2017-05-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r91241:6093ff1a44e6 Date: 2017-05-11 11:22 +0200 http://bitbucket.org/pypy/pypy/changeset/6093ff1a44e6/ Log:Rewrite itertools.groupby(), following CPython instead of having many flags to get a result that differs subtly diff --git a/pypy/module/

[pypy-commit] pypy faster-rstruct-2: I don't know why this popped out now as it seems unrelated with my recent changes: scoped_nonmovingbuffer expects data to be non-null, so we enforce the annotation

2017-05-11 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91240:beae5a5ccb0b Date: 2017-05-11 10:03 +0100 http://bitbucket.org/pypy/pypy/changeset/beae5a5ccb0b/ Log:I don't know why this popped out now as it seems unrelated with my recent changes: scoped_nonmovingbuffer expects data t