[pypy-commit] pypy rpython-hash: Tweaks, possibly fix a bug

2017-01-26 Thread arigo
Author: Armin Rigo Branch: rpython-hash Changeset: r89794:eaa33d328249 Date: 2017-01-26 22:05 +0100 http://bitbucket.org/pypy/pypy/changeset/eaa33d328249/ Log:Tweaks, possibly fix a bug diff --git a/rpython/rtyper/lltypesystem/rordereddict.py b/rpython/rtyper/lltypesystem/rordereddict.py --

[pypy-commit] pypy default: Preserve the order of entries in configure_entries() which now takes a list instead of a dict

2017-01-26 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89793:e484cf6b06b6 Date: 2017-01-26 19:54 + http://bitbucket.org/pypy/pypy/changeset/e484cf6b06b6/ Log:Preserve the order of entries in configure_entries() which now takes a list instead of a dict diff --git a/pypy/module/cpyext/cparser.py

[pypy-commit] pypy default: Use rffi_platform.configure_entries() in cparser

2017-01-26 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89792:75fb54ed4989 Date: 2017-01-26 17:46 + http://bitbucket.org/pypy/pypy/changeset/75fb54ed4989/ Log:Use rffi_platform.configure_entries() in cparser diff --git a/pypy/module/cpyext/cparser.py b/pypy/module/cpyext/cparser.py --- a/pypy/module/cpy

[pypy-commit] pypy default: Extract configure_entries() from configure()

2017-01-26 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89791:5cf849b8cd32 Date: 2017-01-26 17:29 + http://bitbucket.org/pypy/pypy/changeset/5cf849b8cd32/ Log:Extract configure_entries() from configure() diff --git a/rpython/rtyper/tool/rffi_platform.py b/rpython/rtyper/tool/rffi_platform.py --- a/rpyt

[pypy-commit] pypy default: Cleanup: don't pass the whole CConfig to places that only need an ECI

2017-01-26 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89790:ae071d58c03a Date: 2017-01-26 17:01 + http://bitbucket.org/pypy/pypy/changeset/ae071d58c03a/ Log:Cleanup: don't pass the whole CConfig to places that only need an ECI diff --git a/rpython/rtyper/tool/rffi_platform.py b/rpython/rtyper

[pypy-commit] pypy rpython-hash: Check popitem() in the hypothesis test

2017-01-26 Thread arigo
Author: Armin Rigo Branch: rpython-hash Changeset: r89789:90dc3abfc8f2 Date: 2017-01-26 16:55 +0100 http://bitbucket.org/pypy/pypy/changeset/90dc3abfc8f2/ Log:Check popitem() in the hypothesis test diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --- a/rpyt

[pypy-commit] pypy rpython-hash: better fast path

2017-01-26 Thread arigo
Author: Armin Rigo Branch: rpython-hash Changeset: r89788:b24fe8a08009 Date: 2017-01-26 15:00 +0100 http://bitbucket.org/pypy/pypy/changeset/b24fe8a08009/ Log:better fast path diff --git a/rpython/rtyper/lltypesystem/rordereddict.py b/rpython/rtyper/lltypesystem/rordereddict.py --- a/rpytho

[pypy-commit] pypy rpython-hash: Fix test_memoryerror by using the most tight estimate in

2017-01-26 Thread arigo
Author: Armin Rigo Branch: rpython-hash Changeset: r89787:9a1928019d6b Date: 2017-01-26 14:54 +0100 http://bitbucket.org/pypy/pypy/changeset/9a1928019d6b/ Log:Fix test_memoryerror by using the most tight estimate in ll_dict_create_index. This value should have the same guarantee in

[pypy-commit] pypy rpython-hash: in-progress: support dicts with no indexes

2017-01-26 Thread arigo
Author: Armin Rigo Branch: rpython-hash Changeset: r89786:73f39f5b582e Date: 2017-01-26 14:19 +0100 http://bitbucket.org/pypy/pypy/changeset/73f39f5b582e/ Log:in-progress: support dicts with no indexes diff --git a/rpython/rtyper/lltypesystem/rordereddict.py b/rpython/rtyper/lltypesystem/ro

[pypy-commit] pypy rpython-hash: Disable support for explicitly non-ordered, non-empty prebuilt dicts

2017-01-26 Thread arigo
Author: Armin Rigo Branch: rpython-hash Changeset: r89785:ab8402f0c677 Date: 2017-01-26 12:35 +0100 http://bitbucket.org/pypy/pypy/changeset/ab8402f0c677/ Log:Disable support for explicitly non-ordered, non-empty prebuilt dicts diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rty

[pypy-commit] pypy rpython-hash: A quick disable of the hash-preservation logic, fix a few tests

2017-01-26 Thread arigo
Author: Armin Rigo Branch: rpython-hash Changeset: r89784:11355355dff6 Date: 2017-01-26 12:26 +0100 http://bitbucket.org/pypy/pypy/changeset/11355355dff6/ Log:A quick disable of the hash-preservation logic, fix a few tests diff --git a/rpython/memory/gctransform/boehm.py b/rpython/memory/gc

[pypy-commit] pypy rpython-hash: A branch to try and remove the guarantee: "the rpython hash of any object doesn't change before and after translation"

2017-01-26 Thread arigo
Author: Armin Rigo Branch: rpython-hash Changeset: r89783:533fd2120ac6 Date: 2017-01-26 12:12 +0100 http://bitbucket.org/pypy/pypy/changeset/533fd2120ac6/ Log:A branch to try and remove the guarantee: "the rpython hash of any object doesn't change before and after translation" __

[pypy-commit] cffi default: complain clearly if set_source() is given a /-separated name

2017-01-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r2875:510280ce4cc4 Date: 2017-01-26 11:14 +0100 http://bitbucket.org/cffi/cffi/changeset/510280ce4cc4/ Log:complain clearly if set_source() is given a /-separated name diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -593,11

[pypy-commit] pypy default: Fix

2017-01-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r89782:9eb7c2912413 Date: 2017-01-26 10:13 +0100 http://bitbucket.org/pypy/pypy/changeset/9eb7c2912413/ Log:Fix diff --git a/pypy/interpreter/error.py b/pypy/interpreter/error.py --- a/pypy/interpreter/error.py +++ b/pypy/interpreter/error.py @@ -71,7 +

[pypy-commit] pypy default: fix test

2017-01-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r89781:8ecc4591e7ec Date: 2017-01-26 10:02 +0100 http://bitbucket.org/pypy/pypy/changeset/8ecc4591e7ec/ Log:fix test diff --git a/pypy/interpreter/test/test_appinterp.py b/pypy/interpreter/test/test_appinterp.py --- a/pypy/interpreter/test/test_appinte

[pypy-commit] pypy py3.5: revert to the default of --hash=rpython

2017-01-26 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89780:1921e9b65a21 Date: 2017-01-26 09:52 +0100 http://bitbucket.org/pypy/pypy/changeset/1921e9b65a21/ Log:revert to the default of --hash=rpython diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/goal/

[pypy-commit] pypy default: Document the problem (thanks njs)

2017-01-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r89779:1042ceb32763 Date: 2017-01-26 09:51 +0100 http://bitbucket.org/pypy/pypy/changeset/1042ceb32763/ Log:Document the problem (thanks njs) diff --git a/rpython/rlib/rsiphash.py b/rpython/rlib/rsiphash.py --- a/rpython/rlib/rsiphash.py +++ b/rpython/r

[pypy-commit] pypy py3.5: change the default for the --hash option in py3.5

2017-01-26 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89778:45239e9d6953 Date: 2017-01-26 09:42 +0100 http://bitbucket.org/pypy/pypy/changeset/45239e9d6953/ Log:change the default for the --hash option in py3.5 diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/

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

2017-01-26 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89777:ad1beddd3f43 Date: 2017-01-26 09:34 +0100 http://bitbucket.org/pypy/pypy/changeset/ad1beddd3f43/ Log:hg merge default diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/goal/targetpypystandalone.py

[pypy-commit] pypy default: Add translation option --hash=siphash24

2017-01-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r89776:ccc88590dc02 Date: 2017-01-26 09:30 +0100 http://bitbucket.org/pypy/pypy/changeset/ccc88590dc02/ Log:Add translation option --hash=siphash24 diff --git a/rpython/config/translationoption.py b/rpython/config/translationoption.py --- a/rpython/con