[pypy-commit] pypy py3k: Restore missing import

2016-09-12 Thread arigo
Author: Armin Rigo Branch: py3k Changeset: r87056:243dab483e12 Date: 2016-09-12 20:57 +0100 http://bitbucket.org/pypy/pypy/changeset/243dab483e12/ Log:Restore missing import diff --git a/pypy/module/cpyext/buffer.py b/pypy/module/cpyext/buffer.py ---

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

2016-09-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87055:50677989e503 Date: 2016-09-12 20:40 +0100 http://bitbucket.org/pypy/pypy/changeset/50677989e503/ Log:hg merge py3k diff too long, truncating to 2000 out of 2301 lines diff --git a/pypy/doc/release-pypy2.7-v5.4.1.rst

[pypy-commit] pypy py3.5: Uh

2016-09-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87054:d79485f5ea36 Date: 2016-09-12 21:25 +0200 http://bitbucket.org/pypy/pypy/changeset/d79485f5ea36/ Log:Uh diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjspace.py

[pypy-commit] pypy default: remove unecessary check (arigato)

2016-09-12 Thread mattip
Author: Matti Picus Branch: Changeset: r87053:59d1974a870e Date: 2016-09-12 19:32 +0300 http://bitbucket.org/pypy/pypy/changeset/59d1974a870e/ Log:remove unecessary check (arigato) diff --git a/pypy/module/cpyext/memoryobject.py b/pypy/module/cpyext/memoryobject.py

[pypy-commit] pypy.org extradoc: update the values

2016-09-12 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r797:0148b71de2ee Date: 2016-09-12 20:04 +0200 http://bitbucket.org/pypy/pypy.org/changeset/0148b71de2ee/ Log:update the values diff --git a/don1.html b/don1.html --- a/don1.html +++ b/don1.html @@ -15,7 +15,7 @@ -

[pypy-commit] pypy default: Using PyType_GenericNew is wrong for a metaclass (effectively reverts 6ea4b78fa64b)

2016-09-12 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r87052:9a5ae30e19ff Date: 2016-09-12 18:39 +0100 http://bitbucket.org/pypy/pypy/changeset/9a5ae30e19ff/ Log:Using PyType_GenericNew is wrong for a metaclass (effectively reverts 6ea4b78fa64b) diff --git

[pypy-commit] pypy py3.5: Another one

2016-09-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87051:e9ce8f174cd4 Date: 2016-09-12 18:58 +0200 http://bitbucket.org/pypy/pypy/changeset/e9ce8f174cd4/ Log:Another one diff --git a/pypy/module/__pypy__/interp_magic.py b/pypy/module/__pypy__/interp_magic.py ---

[pypy-commit] extradoc extradoc: _utf8 DONE in bd9d1dd19c2c

2016-09-12 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5702:9ccc0fd6b163 Date: 2016-09-12 18:16 +0200 http://bitbucket.org/pypy/extradoc/changeset/9ccc0fd6b163/ Log:_utf8 DONE in bd9d1dd19c2c diff --git a/planning/py3.5/milestone-1-progress.rst

[pypy-commit] pypy py3.5: Fix for argument clinic's use of the "bool" specifier, which now maps

2016-09-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87050:a8137a62856a Date: 2016-09-12 18:14 +0200 http://bitbucket.org/pypy/pypy/changeset/a8137a62856a/ Log:Fix for argument clinic's use of the "bool" specifier, which now maps to "unwrap_spec(...=bool)". diff --git

[pypy-commit] extradoc extradoc: done unwrap_spec(bool)

2016-09-12 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5701:b87aed34f87f Date: 2016-09-12 18:15 +0200 http://bitbucket.org/pypy/extradoc/changeset/b87aed34f87f/ Log:done unwrap_spec(bool) diff --git a/planning/py3.5/milestone-1-progress.rst

[pypy-commit] pypy default: Fix -A segfault in test_tp_new_in_subclass_type(), but now it fails in regular testing

2016-09-12 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r87049:6ea4b78fa64b Date: 2016-09-12 16:28 +0100 http://bitbucket.org/pypy/pypy/changeset/6ea4b78fa64b/ Log:Fix -A segfault in test_tp_new_in_subclass_type(), but now it fails in regular testing diff --git

[pypy-commit] pypy default: Fix the initial value returned by sys.getrecursionlimit(). Used to be

2016-09-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r87048:0165d335e184 Date: 2016-09-12 17:02 +0200 http://bitbucket.org/pypy/pypy/changeset/0165d335e184/ Log:Fix the initial value returned by sys.getrecursionlimit(). Used to be 100, even though it was internally configured like

[pypy-commit] pypy ppc-vsx-support: vector operations (load/store) where not considered in dep. construction (was not needed up to now)

2016-09-12 Thread plan_rich
Author: Richard Plangger Branch: ppc-vsx-support Changeset: r87045:f7f829beb5bb Date: 2016-09-12 16:47 +0200 http://bitbucket.org/pypy/pypy/changeset/f7f829beb5bb/ Log:vector operations (load/store) where not considered in dep. construction (was not needed up to

[pypy-commit] pypy py3k: hg merge default

2016-09-12 Thread arigo
Author: Armin Rigo Branch: py3k Changeset: r87046:81579d630803 Date: 2016-09-12 16:49 +0200 http://bitbucket.org/pypy/pypy/changeset/81579d630803/ Log:hg merge default diff --git a/pypy/module/cpyext/sequence.py b/pypy/module/cpyext/sequence.py ---

[pypy-commit] pypy py3k: Add explicitly @jit.call_shortcut here

2016-09-12 Thread arigo
Author: Armin Rigo Branch: py3k Changeset: r87047:bd9d1dd19c2c Date: 2016-09-12 16:51 +0200 http://bitbucket.org/pypy/pypy/changeset/bd9d1dd19c2c/ Log:Add explicitly @jit.call_shortcut here diff --git a/pypy/objspace/std/unicodeobject.py

[pypy-commit] pypy default: hg merge conditional_call_value_3

2016-09-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r87044:6305cfb3bad2 Date: 2016-09-12 16:31 +0200 http://bitbucket.org/pypy/pypy/changeset/6305cfb3bad2/ Log:hg merge conditional_call_value_3 JIT residual calls: if the called function starts with a fast-path like "if

[pypy-commit] pypy conditional_call_value_3: close branch, ready to merge: gives 11% improvements on microbenchmarks

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87043:27150117815e Date: 2016-09-12 16:29 +0200 http://bitbucket.org/pypy/pypy/changeset/27150117815e/ Log:close branch, ready to merge: gives 11% improvements on microbenchmarks

[pypy-commit] pypy conditional_call_value_3: oops

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87041:8be6ad8bbb8d Date: 2016-09-12 15:58 +0200 http://bitbucket.org/pypy/pypy/changeset/8be6ad8bbb8d/ Log:oops diff --git a/rpython/jit/backend/test/test_ll_random.py

[pypy-commit] pypy conditional_call_value_3: fix tests

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87042:97042f59665b Date: 2016-09-12 16:03 +0200 http://bitbucket.org/pypy/pypy/changeset/97042f59665b/ Log:fix tests diff --git a/pypy/module/pypyjit/test_pypy_c/test_containers.py

[pypy-commit] pypy ppc-vsx-support: renamed costmodel class to generic one (it is used also for ppc, not only for x86)

2016-09-12 Thread plan_rich
Author: Richard Plangger Branch: ppc-vsx-support Changeset: r87040:15528006be4d Date: 2016-09-12 14:57 +0200 http://bitbucket.org/pypy/pypy/changeset/15528006be4d/ Log:renamed costmodel class to generic one (it is used also for ppc, not only for x86) diff --git

[pypy-commit] pypy ppc-vsx-support: resolve issues in test_schedule introduced by vec_load/store

2016-09-12 Thread plan_rich
Author: Richard Plangger Branch: ppc-vsx-support Changeset: r87039:29d7e657b3af Date: 2016-09-12 14:27 +0200 http://bitbucket.org/pypy/pypy/changeset/29d7e657b3af/ Log:resolve issues in test_schedule introduced by vec_load/store diff --git

[pypy-commit] pypy ppc-vsx-support: merge default

2016-09-12 Thread plan_rich
Author: Richard Plangger Branch: ppc-vsx-support Changeset: r87038:fa43a104e006 Date: 2016-09-12 14:19 +0200 http://bitbucket.org/pypy/pypy/changeset/fa43a104e006/ Log:merge default diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst ---

[pypy-commit] pypy ppc-vsx-support: update the llgraph runner to exec vec_load/store

2016-09-12 Thread plan_rich
Author: Richard Plangger Branch: ppc-vsx-support Changeset: r87037:7ee75be77c56 Date: 2016-09-12 14:17 +0200 http://bitbucket.org/pypy/pypy/changeset/7ee75be77c56/ Log:update the llgraph runner to exec vec_load/store diff --git a/rpython/jit/backend/llgraph/runner.py

[pypy-commit] pypy conditional_call_value_3: tweak the test

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87036:6ba9f0326d65 Date: 2016-09-12 13:57 +0200 http://bitbucket.org/pypy/pypy/changeset/6ba9f0326d65/ Log:tweak the test diff --git a/rpython/jit/backend/test/test_ll_random.py

[pypy-commit] pypy conditional_call_value_3: Delicate ordering here (shown by test_ll_random)

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87035:31565879b1f7 Date: 2016-09-12 13:43 +0200 http://bitbucket.org/pypy/pypy/changeset/31565879b1f7/ Log:Delicate ordering here (shown by test_ll_random) diff --git a/rpython/jit/backend/llsupport/regalloc.py

[pypy-commit] pypy conditional_call_value_3: Add a flag 'supports_cond_call_value'. E.g. the ARM backend should first

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87034:88d339078b81 Date: 2016-09-12 12:32 +0200 http://bitbucket.org/pypy/pypy/changeset/88d339078b81/ Log:Add a flag 'supports_cond_call_value'. E.g. the ARM backend should first improve the code

[pypy-commit] pypy quad-color-gc: Update qcgc codebase (performance optimizations)

2016-09-12 Thread ntruessel
Author: Nicolas Truessel Branch: quad-color-gc Changeset: r87033:332c546faefd Date: 2016-09-12 12:25 +0200 http://bitbucket.org/pypy/pypy/changeset/332c546faefd/ Log:Update qcgc codebase (performance optimizations) diff --git a/rpython/translator/c/src/qcgc/allocator.c

[pypy-commit] pypy conditional_call_value_3: Extra test

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87030:99dfe8a97e71 Date: 2016-09-12 10:57 +0100 http://bitbucket.org/pypy/pypy/changeset/99dfe8a97e71/ Log:Extra test diff --git a/rpython/jit/codewriter/test/test_call.py

[pypy-commit] pypy conditional_call_value_3: merge heads

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87032:1d8aa0d6ff47 Date: 2016-09-12 11:27 +0100 http://bitbucket.org/pypy/pypy/changeset/1d8aa0d6ff47/ Log:merge heads diff --git a/rpython/jit/backend/x86/regalloc.py b/rpython/jit/backend/x86/regalloc.py ---

[pypy-commit] pypy conditional_call_value_3: Another case

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87031:f7694a9bde4e Date: 2016-09-12 11:26 +0100 http://bitbucket.org/pypy/pypy/changeset/f7694a9bde4e/ Log:Another case diff --git a/rpython/jit/codewriter/call.py b/rpython/jit/codewriter/call.py ---

[pypy-commit] pypy conditional_call_value_3: I *think* this is not needed right now, and test_ll_random seems to

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87029:02962b25dcee Date: 2016-09-12 12:08 +0200 http://bitbucket.org/pypy/pypy/changeset/02962b25dcee/ Log:I *think* this is not needed right now, and test_ll_random seems to agree with that, but better

[pypy-commit] pypy ppc-vsx-support: fixed vecopt tests with the new delayed execution

2016-09-12 Thread plan_rich
Author: Richard Plangger Branch: ppc-vsx-support Changeset: r87028:88be11973c7a Date: 2016-09-12 12:04 +0200 http://bitbucket.org/pypy/pypy/changeset/88be11973c7a/ Log:fixed vecopt tests with the new delayed execution diff --git

[pypy-commit] pypy default: merge heads

2016-09-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r87027:1a0c32b2613b Date: 2016-09-12 11:36 +0200 http://bitbucket.org/pypy/pypy/changeset/1a0c32b2613b/ Log:merge heads diff --git a/pypy/module/cpyext/sequence.py b/pypy/module/cpyext/sequence.py --- a/pypy/module/cpyext/sequence.py

[pypy-commit] pypy default: Clean up some variants of 'conditional_call_*' that are rarely or never

2016-09-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r87026:6de307feaa03 Date: 2016-09-12 11:16 +0200 http://bitbucket.org/pypy/pypy/changeset/6de307feaa03/ Log:Clean up some variants of 'conditional_call_*' that are rarely or never used. Keep only the 'ir' variant. diff --git

[pypy-commit] pypy conditional_call_value_3: Use @jit.call_shortcut here.

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87025:3f78315bc18d Date: 2016-09-12 11:35 +0200 http://bitbucket.org/pypy/pypy/changeset/3f78315bc18d/ Log:Use @jit.call_shortcut here. diff --git a/rpython/rtyper/lltypesystem/rstr.py

[pypy-commit] pypy conditional_call_value_3: Random tests for cond_call_value.

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87024:4eff2cbf173d Date: 2016-09-12 11:31 +0200 http://bitbucket.org/pypy/pypy/changeset/4eff2cbf173d/ Log:Random tests for cond_call_value. diff --git a/rpython/jit/backend/test/test_ll_random.py

[pypy-commit] pypy conditional_call_value_3: Implement COND_CALL_VALUE (code copied from conditional_call_value_2)

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87023:503727324fab Date: 2016-09-12 11:15 +0200 http://bitbucket.org/pypy/pypy/changeset/503727324fab/ Log:Implement COND_CALL_VALUE (code copied from conditional_call_value_2) diff --git

[pypy-commit] pypy quad-color-gc: Fix compilation rule

2016-09-12 Thread ntruessel
Author: Nicolas Truessel Branch: quad-color-gc Changeset: r87022:b2518a7b0fa2 Date: 2016-09-12 11:14 +0200 http://bitbucket.org/pypy/pypy/changeset/b2518a7b0fa2/ Log:Fix compilation rule diff --git a/rpython/rtyper/tool/rffi_platform.py

[pypy-commit] pypy quad-color-gc: Update qcgc codebase

2016-09-12 Thread ntruessel
Author: Nicolas Truessel Branch: quad-color-gc Changeset: r87021:636d1082681c Date: 2016-09-12 11:08 +0200 http://bitbucket.org/pypy/pypy/changeset/636d1082681c/ Log:Update qcgc codebase diff --git a/rpython/translator/c/src/qcgc/allocator.c

[pypy-commit] pypy conditional_call_value_3: a runner_test for cond_call_value

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87020:7c6e114509d2 Date: 2016-09-12 11:05 +0200 http://bitbucket.org/pypy/pypy/changeset/7c6e114509d2/ Log:a runner_test for cond_call_value diff --git a/rpython/jit/backend/llgraph/runner.py

[pypy-commit] pypy conditional_call_value_3: Rewrite: expand to cond_call_value

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87019:377865d888be Date: 2016-09-12 10:41 +0200 http://bitbucket.org/pypy/pypy/changeset/377865d888be/ Log:Rewrite: expand to cond_call_value diff --git a/rpython/jit/backend/llsupport/rewrite.py

[pypy-commit] pypy conditional_call_value_3: Fixes, more cases

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87018:cdb2025d2457 Date: 2016-09-12 10:07 +0200 http://bitbucket.org/pypy/pypy/changeset/cdb2025d2457/ Log:Fixes, more cases diff --git a/rpython/jit/codewriter/call.py b/rpython/jit/codewriter/call.py ---

[pypy-commit] pypy conditional_call_value_3: kill import

2016-09-12 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_3 Changeset: r87017:864a4750a84f Date: 2016-09-12 09:40 +0200 http://bitbucket.org/pypy/pypy/changeset/864a4750a84f/ Log:kill import diff --git a/rpython/jit/codewriter/call.py b/rpython/jit/codewriter/call.py ---