[pypy-commit] pypy conditional_call_value_4: Tracing: constant-fold strhash(). Makes test_virtual_dict_constant_keys pass.

2016-11-24 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_4 Changeset: r88600:19979eb85207 Date: 2016-11-24 09:11 +0100 http://bitbucket.org/pypy/pypy/changeset/19979eb85207/ Log:Tracing: constant-fold strhash(). Makes test_virtual_dict_constant_keys pass. Also, in bh_strhash(), always

[pypy-commit] pypy default: Replace 'lookup_in_type_where()[1]' with a method 'lookup_in_type()'.

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88601:5c7492207aeb Date: 2016-11-24 09:28 +0100 http://bitbucket.org/pypy/pypy/changeset/5c7492207aeb/ Log:Replace 'lookup_in_type_where()[1]' with a method 'lookup_in_type()'. Implement that method directly in two fake object spaces. d

[pypy-commit] pypy default: No clue how it worked before

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88602:485b7e625505 Date: 2016-11-24 09:34 +0100 http://bitbucket.org/pypy/pypy/changeset/485b7e625505/ Log:No clue how it worked before diff --git a/pypy/module/faulthandler/test/test_ztranslation.py b/pypy/module/faulthandler/test/test_ztranslation.p

[pypy-commit] pypy default: Write PyModule_GetName() based on PyString_AsString()

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88603:bb6863a1903e Date: 2016-11-24 10:01 +0100 http://bitbucket.org/pypy/pypy/changeset/bb6863a1903e/ Log:Write PyModule_GetName() based on PyString_AsString() diff --git a/pypy/module/cpyext/modsupport.py b/pypy/module/cpyext/modsupport.py --- a/pypy

[pypy-commit] pypy missing-tp_new: cleanup (arigato reviewing)

2016-11-24 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r88606:c7ccf65c618f Date: 2016-11-23 23:03 +0200 http://bitbucket.org/pypy/pypy/changeset/c7ccf65c618f/ Log:cleanup (arigato reviewing) diff --git a/pypy/module/cpyext/userslot.py b/pypy/module/cpyext/userslot.py --- a/pypy/module/cpyext/

[pypy-commit] pypy missing-tp_new: raise exception on failure even when retval is not PyObject

2016-11-24 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r88605:bbee8f771d3c Date: 2016-11-23 23:02 +0200 http://bitbucket.org/pypy/pypy/changeset/bbee8f771d3c/ Log:raise exception on failure even when retval is not PyObject diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py ---

[pypy-commit] pypy missing-tp_new: next set of hacks, still not good enough to pass cython datetime tests

2016-11-24 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r88607:83a4988743eb Date: 2016-11-24 11:23 +0200 http://bitbucket.org/pypy/pypy/changeset/83a4988743eb/ Log:next set of hacks, still not good enough to pass cython datetime tests diff --git a/pypy/module/cpyext/test/foo3.c b/pypy/

[pypy-commit] pypy missing-tp_new: merge default into branch

2016-11-24 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r88604:fb51b53743e3 Date: 2016-11-23 19:07 +0200 http://bitbucket.org/pypy/pypy/changeset/fb51b53743e3/ Log:merge default into branch diff --git a/pypy/interpreter/argument.py b/pypy/interpreter/argument.py --- a/pypy/interpreter/argument

[pypy-commit] pypy default: add VERSION to distutils' sysconfig

2016-11-24 Thread mattip
Author: Matti Picus Branch: Changeset: r88608:894c49fbaddf Date: 2016-11-24 11:26 +0200 http://bitbucket.org/pypy/pypy/changeset/894c49fbaddf/ Log:add VERSION to distutils' sysconfig diff --git a/lib-python/2.7/distutils/sysconfig_pypy.py b/lib-python/2.7/distutils/sysconfig_pypy.py --- a/

[pypy-commit] pypy conditional_call_value_4: Next fix, now the test passes with less operations than before

2016-11-24 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_4 Changeset: r88610:e15e2e2c8a63 Date: 2016-11-24 10:32 +0100 http://bitbucket.org/pypy/pypy/changeset/e15e2e2c8a63/ Log:Next fix, now the test passes with less operations than before diff --git a/rpython/jit/metainterp/optimizeopt/info.py b

[pypy-commit] pypy conditional_call_value_4: test and fix

2016-11-24 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_4 Changeset: r88611:6b96de7cd8ab Date: 2016-11-24 10:56 +0100 http://bitbucket.org/pypy/pypy/changeset/6b96de7cd8ab/ Log:test and fix diff --git a/rpython/jit/metainterp/blackhole.py b/rpython/jit/metainterp/blackhole.py --- a/rpython/jit/me

[pypy-commit] stmgc finalizer-queues: rename light_finalizer to destructor

2016-11-24 Thread Raemi
Author: Remi Meier Branch: finalizer-queues Changeset: r1997:2101463c93d1 Date: 2016-11-16 08:59 +0100 http://bitbucket.org/pypy/stmgc/changeset/2101463c93d1/ Log:rename light_finalizer to destructor diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -1047,

[pypy-commit] stmgc finalizer-queues: re-introduce running finalizers within a regular transaction

2016-11-24 Thread Raemi
Author: Remi Meier Branch: finalizer-queues Changeset: r2000:ceda93abb51f Date: 2016-11-17 10:39 +0100 http://bitbucket.org/pypy/stmgc/changeset/ceda93abb51f/ Log:re-introduce running finalizers within a regular transaction diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b

[pypy-commit] stmgc finalizer-queues: write some tests for finalizer queues

2016-11-24 Thread Raemi
Author: Remi Meier Branch: finalizer-queues Changeset: r2001:26622312cfa8 Date: 2016-11-17 11:37 +0100 http://bitbucket.org/pypy/stmgc/changeset/26622312cfa8/ Log:write some tests for finalizer queues diff --git a/c8/stm/finalizer.c b/c8/stm/finalizer.c --- a/c8/stm/finalizer.c +++ b/c8/stm/

[pypy-commit] stmgc finalizer-queues: fix and a bit of cleanup

2016-11-24 Thread Raemi
Author: Remi Meier Branch: finalizer-queues Changeset: r2004:0bd420ee56c1 Date: 2016-11-23 17:05 +0100 http://bitbucket.org/pypy/stmgc/changeset/0bd420ee56c1/ Log:fix and a bit of cleanup why are simple things so hard to get right? diff --git a/c8/stm/finalizer.c b/c8/stm/finalizer.

[pypy-commit] stmgc finalizer-queues: allow to run arbitrary things in finalizer triggers

2016-11-24 Thread Raemi
Author: Remi Meier Branch: finalizer-queues Changeset: r2003:7e7619989b07 Date: 2016-11-21 14:41 +0100 http://bitbucket.org/pypy/stmgc/changeset/7e7619989b07/ Log:allow to run arbitrary things in finalizer triggers diff --git a/c8/stm/finalizer.c b/c8/stm/finalizer.c --- a/c8/stm/finalizer.c

[pypy-commit] stmgc finalizer-queues: WIP: new finalizer API

2016-11-24 Thread Raemi
Author: Remi Meier Branch: finalizer-queues Changeset: r1999:a59a745d2093 Date: 2016-11-16 16:48 +0100 http://bitbucket.org/pypy/stmgc/changeset/a59a745d2093/ Log:WIP: new finalizer API oldstyle-finalizers should still work, but the new finalizer queues are untested as of thi

[pypy-commit] stmgc finalizer-queues: silence a few more flycheck errors

2016-11-24 Thread Raemi
Author: Remi Meier Branch: finalizer-queues Changeset: r1998:75b748b315da Date: 2016-11-16 09:17 +0100 http://bitbucket.org/pypy/stmgc/changeset/75b748b315da/ Log:silence a few more flycheck errors diff --git a/c8/stm/core.h b/c8/stm/core.h --- a/c8/stm/core.h +++ b/c8/stm/core.h @@ -14,6 +1

[pypy-commit] stmgc finalizer-queues: add finalizers to test_random

2016-11-24 Thread Raemi
Author: Remi Meier Branch: finalizer-queues Changeset: r2002:dbfc15bd706f Date: 2016-11-17 13:34 +0100 http://bitbucket.org/pypy/stmgc/changeset/dbfc15bd706f/ Log:add finalizers to test_random diff --git a/c8/test/test_zrandom.py b/c8/test/test_zrandom.py --- a/c8/test/test_zrandom.py +++ b/

[pypy-commit] stmgc default: silence flycheck with a fake #include

2016-11-24 Thread Raemi
Author: Remi Meier Branch: Changeset: r1996:b0d76f59efe5 Date: 2016-11-15 17:18 +0100 http://bitbucket.org/pypy/stmgc/changeset/b0d76f59efe5/ Log:silence flycheck with a fake #include diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -1,5 +1,6 @@ #ifndef

[pypy-commit] pypy missing-tp_new: merge default into branch

2016-11-24 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r88609:adafff615169 Date: 2016-11-24 11:27 +0200 http://bitbucket.org/pypy/pypy/changeset/adafff615169/ Log:merge default into branch diff --git a/lib-python/2.7/distutils/sysconfig_pypy.py b/lib-python/2.7/distutils/sysconfig_pypy.py --

[pypy-commit] pypy conditional_call_value_4: fix test

2016-11-24 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_4 Changeset: r88629:626ffaa40d6c Date: 2016-11-24 10:52 + http://bitbucket.org/pypy/pypy/changeset/626ffaa40d6c/ Log:fix test diff --git a/pypy/module/pypyjit/test_pypy_c/test_containers.py b/pypy/module/pypyjit/test_pypy_c/test_containe

[pypy-commit] pypy conditional_call_value_4: Unsure why now, but test_zrpy_vmprof crashes because it is missing this method

2016-11-24 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_4 Changeset: r88628:bc1b2570fc4a Date: 2016-11-24 10:49 + http://bitbucket.org/pypy/pypy/changeset/bc1b2570fc4a/ Log:Unsure why now, but test_zrpy_vmprof crashes because it is missing this method diff --git a/rpython/rlib/rvmprof/

[pypy-commit] pypy conditional_call_value_4: Revert the @jit.call_shortcut support (6305cfb3bad2)

2016-11-24 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_4 Changeset: r88630:6d3400d6ed8f Date: 2016-11-24 11:16 + http://bitbucket.org/pypy/pypy/changeset/6d3400d6ed8f/ Log:Revert the @jit.call_shortcut support (6305cfb3bad2) diff --git a/rpython/jit/backend/llsupport/rewrite.py b/rpython/jit

[pypy-commit] pypy better-PyDict_Next: add failing test

2016-11-24 Thread mattip
Author: Matti Picus Branch: better-PyDict_Next Changeset: r88631:1df198d55844 Date: 2016-11-24 13:01 +0200 http://bitbucket.org/pypy/pypy/changeset/1df198d55844/ Log:add failing test diff --git a/pypy/module/cpyext/test/test_dictobject.py b/pypy/module/cpyext/test/test_dictobject.py --- a/p

[pypy-commit] pypy conditional_call_value_4: fix comment (thanks cfbolz)

2016-11-24 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_4 Changeset: r88632:07b9b5f5b593 Date: 2016-11-24 12:40 +0100 http://bitbucket.org/pypy/pypy/changeset/07b9b5f5b593/ Log:fix comment (thanks cfbolz) diff --git a/rpython/jit/metainterp/resoperation.py b/rpython/jit/metainterp/resoperation.py

[pypy-commit] pypy conditional_call_value_4: close branch, ready to merge

2016-11-24 Thread arigo
Author: Armin Rigo Branch: conditional_call_value_4 Changeset: r88633:0dd61a608f32 Date: 2016-11-24 12:51 +0100 http://bitbucket.org/pypy/pypy/changeset/0dd61a608f32/ Log:close branch, ready to merge ___ pypy-commit mailing list pypy-commit@python.

[pypy-commit] pypy default: hg merge conditional_call_value_4 (arigo, cfbolz reviewing)

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88634:a7f012406e30 Date: 2016-11-24 12:53 +0100 http://bitbucket.org/pypy/pypy/changeset/a7f012406e30/ Log:hg merge conditional_call_value_4 (arigo, cfbolz reviewing) Get rid of call_shortcut (branch conditional_call_value_3) and instea

[pypy-commit] pypy better-PyDict_Next: pass tests, except for test_typedict

2016-11-24 Thread mattip
Author: Matti Picus Branch: better-PyDict_Next Changeset: r88635:f2c9d8b8ab2a Date: 2016-11-24 14:36 +0200 http://bitbucket.org/pypy/pypy/changeset/f2c9d8b8ab2a/ Log:pass tests, except for test_typedict diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpye

[pypy-commit] pypy default: ovfcheck() is only for +, - * nowadays

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88636:e1ed9c777e87 Date: 2016-11-24 13:45 +0100 http://bitbucket.org/pypy/pypy/changeset/e1ed9c777e87/ Log:ovfcheck() is only for +, - * nowadays diff --git a/rpython/rlib/rarithmetic.py b/rpython/rlib/rarithmetic.py --- a/rpython/rlib/rarithmetic.py +

[pypy-commit] pypy default: don't switch strategies back and forth if we're calling PySequenceFast_ITEMS and PyList_GET_ITEM alternatively

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88637:c4f99ae69793 Date: 2016-11-24 14:52 +0100 http://bitbucket.org/pypy/pypy/changeset/c4f99ae69793/ Log:don't switch strategies back and forth if we're calling PySequenceFast_ITEMS and PyList_GET_ITEM alternatively diff --git a/pypy/module/c

[pypy-commit] pypy default: extra passing test

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88639:2e8473885ae1 Date: 2016-11-24 15:07 +0100 http://bitbucket.org/pypy/pypy/changeset/2e8473885ae1/ Log:extra passing test diff --git a/rpython/jit/metainterp/test/test_call.py b/rpython/jit/metainterp/test/test_call.py --- a/rpython/jit/metainterp

[pypy-commit] pypy default: passing test for exceptions raised by cond_call_value

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88638:4d39cedda3a1 Date: 2016-11-24 14:58 +0100 http://bitbucket.org/pypy/pypy/changeset/4d39cedda3a1/ Log:passing test for exceptions raised by cond_call_value diff --git a/rpython/jit/metainterp/test/test_call.py b/rpython/jit/metainterp/test/test_c

[pypy-commit] pypy py3.5: Use conditional_call_value

2016-11-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88640:85f1c9ac66f6 Date: 2016-11-24 15:09 +0100 http://bitbucket.org/pypy/pypy/changeset/85f1c9ac66f6/ Log:Use conditional_call_value diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace/std/uni

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

2016-11-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88641:84e8172fc396 Date: 2016-11-24 17:11 +0100 http://bitbucket.org/pypy/pypy/changeset/84e8172fc396/ Log:hg merge default diff too long, truncating to 2000 out of 2923 lines diff --git a/lib-python/2.7/distutils/sysconfig_pypy.py b/lib-python/

[pypy-commit] pypy default: Potential code size reduction: move a bit of the logic out, which

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88642:50e4baa0921b Date: 2016-11-24 17:52 +0100 http://bitbucket.org/pypy/pypy/changeset/50e4baa0921b/ Log:Potential code size reduction: move a bit of the logic out, which is repeated many times over diff --git a/rpython/jit/metainterp/blackho

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

2016-11-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88644:a016f52580ec Date: 2016-11-24 17:58 +0100 http://bitbucket.org/pypy/pypy/changeset/a016f52580ec/ Log:hg merge default diff --git a/rpython/jit/metainterp/blackhole.py b/rpython/jit/metainterp/blackhole.py --- a/rpython/jit/metainterp/blackh

[pypy-commit] pypy default: Test and fix: try harder to propagate 'can_be_None=False' information

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88643:27b352d10c03 Date: 2016-11-24 17:58 +0100 http://bitbucket.org/pypy/pypy/changeset/27b352d10c03/ Log:Test and fix: try harder to propagate 'can_be_None=False' information diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py --- a/rpytho

[pypy-commit] pypy reflowing: hg merge default

2016-11-24 Thread rlamy
Author: Ronan Lamy Branch: reflowing Changeset: r88645:9b3564c820ef Date: 2016-11-24 06:07 + http://bitbucket.org/pypy/pypy/changeset/9b3564c820ef/ Log:hg merge default diff --git a/pypy/interpreter/argument.py b/pypy/interpreter/argument.py --- a/pypy/interpreter/argument.py +++ b/pypy/

[pypy-commit] pypy reflowing: Reinstate the annotation hack that was removed in db07794f9b14

2016-11-24 Thread rlamy
Author: Ronan Lamy Branch: reflowing Changeset: r88646:3c5e062cf847 Date: 2016-11-24 18:18 + http://bitbucket.org/pypy/pypy/changeset/3c5e062cf847/ Log:Reinstate the annotation hack that was removed in db07794f9b14 diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeep

[pypy-commit] pypy default: translation fix

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88647:f75cce6ff4e9 Date: 2016-11-24 22:42 +0100 http://bitbucket.org/pypy/pypy/changeset/f75cce6ff4e9/ Log:translation fix diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py --- a/rpython/rlib/jit.py +++ b/rpython/rlib/jit.py @@ -1191,7 +1191,7 @@

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

2016-11-24 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88648:bf57a8b4e6fd Date: 2016-11-24 22:42 +0100 http://bitbucket.org/pypy/pypy/changeset/bf57a8b4e6fd/ Log:hg merge default diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py --- a/rpython/rlib/jit.py +++ b/rpython/rlib/jit.py @@ -1191,7 +1191