[pypy-commit] pypy py3.5: Fix test, with explanation

2017-01-25 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89756:a780a04a65e8 Date: 2017-01-25 10:40 +0100 http://bitbucket.org/pypy/pypy/changeset/a780a04a65e8/ Log:Fix test, with explanation diff --git a/lib-python/3/test/test_fstring.py b/lib-python/3/test/test_fstring.py --- a/lib-python/3/test/test_

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

2017-01-25 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89758:6b430d93c851 Date: 2017-01-25 10:45 +0100 http://bitbucket.org/pypy/pypy/changeset/6b430d93c851/ Log:merge heads diff --git a/lib-python/conftest.py b/lib-python/conftest.py --- a/lib-python/conftest.py +++ b/lib-python/conftest.py @@ -225,6

[pypy-commit] pypy py3.5: Allow both CPython and PyPy error messages

2017-01-25 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89757:7b730843efb4 Date: 2017-01-25 10:44 +0100 http://bitbucket.org/pypy/pypy/changeset/7b730843efb4/ Log:Allow both CPython and PyPy error messages diff --git a/lib-python/3/test/test_fstring.py b/lib-python/3/test/test_fstring.py --- a/lib-pyt

[pypy-commit] pypy py3.5: even better example

2017-01-25 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89759:92a9e374d458 Date: 2017-01-25 10:49 +0100 http://bitbucket.org/pypy/pypy/changeset/92a9e374d458/ Log:even better example diff --git a/lib-python/3/test/test_fstring.py b/lib-python/3/test/test_fstring.py --- a/lib-python/3/test/test_fstring

[pypy-commit] pypy default: Avoid translating a filled cache (worst case, it might keep alive some

2017-01-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r89760:94763a48e468 Date: 2017-01-25 11:41 +0100 http://bitbucket.org/pypy/pypy/changeset/94763a48e468/ Log:Avoid translating a filled cache (worst case, it might keep alive some long-dead objects which ends up as static data) diff --git a/pypy/

[pypy-commit] pypy py3.5: issue #2471 fix

2017-01-25 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89761:965d1e442759 Date: 2017-01-25 11:47 +0100 http://bitbucket.org/pypy/pypy/changeset/965d1e442759/ Log:issue #2471 fix diff --git a/pypy/module/gc/app_referents.py b/pypy/module/gc/app_referents.py --- a/pypy/module/gc/app_referents.py +++ b/p

[pypy-commit] pypy default: A comment, and another cache that could be cleared

2017-01-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r89762:64e22023ba60 Date: 2017-01-25 12:30 +0100 http://bitbucket.org/pypy/pypy/changeset/64e22023ba60/ Log:A comment, and another cache that could be cleared diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/s

[pypy-commit] pypy py3.5: Add failing mmap test

2017-01-25 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89763:ac6a7be4dfd6 Date: 2017-01-25 14:10 + http://bitbucket.org/pypy/pypy/changeset/ac6a7be4dfd6/ Log:Add failing mmap test diff --git a/pypy/module/cpyext/test/test_buffer.py b/pypy/module/cpyext/test/test_buffer.py new file mode 100644 ---

[pypy-commit] pypy py3.5: Enable buffer interface for mmap.mmap

2017-01-25 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89764:0d0968dd57fc Date: 2017-01-25 14:36 + http://bitbucket.org/pypy/pypy/changeset/0d0968dd57fc/ Log:Enable buffer interface for mmap.mmap diff --git a/pypy/module/mmap/interp_mmap.py b/pypy/module/mmap/interp_mmap.py --- a/pypy/module/mmap/

[pypy-commit] pypy py3.5: Enable missing buffer procs for _io.BytesIO, array.array and memoryview

2017-01-25 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89765:32be445aee1d Date: 2017-01-25 15:20 + http://bitbucket.org/pypy/pypy/changeset/32be445aee1d/ Log:Enable missing buffer procs for _io.BytesIO, array.array and memoryview diff --git a/pypy/module/_io/interp_bytesio.py b/pypy/modul

[pypy-commit] pypy py3.5: Creating more than one objspace in cpyext breaks the tests

2017-01-25 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89766:2dff0146f6fa Date: 2017-01-25 15:47 + http://bitbucket.org/pypy/pypy/changeset/2dff0146f6fa/ Log:Creating more than one objspace in cpyext breaks the tests diff --git a/pypy/module/cpyext/test/test_buffer.py b/pypy/module/cpyext/test/te

[pypy-commit] pypy py3.5: Resync slot table with CPython 3.5

2017-01-25 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89767:11c714b2a414 Date: 2017-01-25 16:04 + http://bitbucket.org/pypy/pypy/changeset/11c714b2a414/ Log:Resync slot table with CPython 3.5 diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/slo

[pypy-commit] pypy default: A siphash24 implementation based on CPython's, itself based on

2017-01-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r89768:01c2df465b1a Date: 2017-01-25 17:29 +0100 http://bitbucket.org/pypy/pypy/changeset/01c2df465b1a/ Log:A siphash24 implementation based on CPython's, itself based on https://github.com/majek/csiphash/ diff --git a/rpython/rlib/rsiphash.py b

[pypy-commit] pypy py3.5: Reimplement PyMemoryView_GET_BUFFER and PyMemoryView_GET_BASE as macros

2017-01-25 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r89769:25624675b30b Date: 2017-01-25 19:05 + http://bitbucket.org/pypy/pypy/changeset/25624675b30b/ Log:Reimplement PyMemoryView_GET_BUFFER and PyMemoryView_GET_BASE as macros diff --git a/pypy/module/cpyext/include/memoryobject.h b/py

[pypy-commit] pypy default: Implement Siphash-2-4, the same hashing function as CPython 3.x.

2017-01-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r89771:134351c66421 Date: 2017-01-25 20:51 +0100 http://bitbucket.org/pypy/pypy/changeset/134351c66421/ Log:Implement Siphash-2-4, the same hashing function as CPython 3.x. Disabled by default. diff --git a/rpython/rlib/objectmodel.py b/rpython/

[pypy-commit] pypy default: Reimplement PyMemoryView_GET_BUFFER and PyMemoryView_GET_BASE as macros

2017-01-25 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89770:f475e5872e53 Date: 2017-01-25 21:41 +0200 http://bitbucket.org/pypy/pypy/changeset/f475e5872e53/ Log:Reimplement PyMemoryView_GET_BUFFER and PyMemoryView_GET_BASE as macros diff --git a/pypy/module/cpyext/include/memoryobject.h b/pypy/mo

[pypy-commit] pypy default: Fixes, trying to use siphash24 on pypy

2017-01-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r89772:db5482cc94a2 Date: 2017-01-25 20:36 + http://bitbucket.org/pypy/pypy/changeset/db5482cc94a2/ Log:Fixes, trying to use siphash24 on pypy diff --git a/rpython/rlib/objectmodel.py b/rpython/rlib/objectmodel.py --- a/rpython/rlib/objectmodel.py +

[pypy-commit] pypy default: Fix (obscure reason, can be reproduced with "py.test rtyper/")

2017-01-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r89773:93614a596712 Date: 2017-01-25 21:42 +0100 http://bitbucket.org/pypy/pypy/changeset/93614a596712/ Log:Fix (obscure reason, can be reproduced with "py.test rtyper/") diff --git a/rpython/rtyper/lltypesystem/rffi.py b/rpython/rtyper/lltypesystem/rf

[pypy-commit] pypy default: fix error message

2017-01-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r89774:20567a253f17 Date: 2017-01-25 21:56 +0100 http://bitbucket.org/pypy/pypy/changeset/20567a253f17/ Log:fix error message diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/goal/targetpypystandalone.py +++

[pypy-commit] pypy default: A latin-1 unicode string needs to have the same hash as the byte string.

2017-01-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r89775:d8c036e10b26 Date: 2017-01-25 23:13 +0100 http://bitbucket.org/pypy/pypy/changeset/d8c036e10b26/ Log:A latin-1 unicode string needs to have the same hash as the byte string. diff --git a/rpython/rlib/objectmodel.py b/rpython/rlib/objectmo