[pypy-commit] pypy cpyext-fast-typecheck: try to see if this improve the performance

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94106:cb1e9314536a Date: 2018-03-22 23:48 +0100 http://bitbucket.org/pypy/pypy/changeset/cb1e9314536a/ Log:try to see if this improve the performance diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodobj

[pypy-commit] pypy cpyext-fast-typecheck: test and fix for wrap_sq_delitem

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94103:0db3ba6fe311 Date: 2018-03-22 23:30 +0100 http://bitbucket.org/pypy/pypy/changeset/0db3ba6fe311/ Log:test and fix for wrap_sq_delitem diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/m

[pypy-commit] pypy cpyext-fast-typecheck: finally kill all the remainings of the old wrappers :)

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94105:b4908ae52515 Date: 2018-03-22 23:41 +0100 http://bitbucket.org/pypy/pypy/changeset/b4908ae52515/ Log:finally kill all the remainings of the old wrappers :) diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpye

[pypy-commit] pypy cpyext-fast-typecheck: test for sq_ass_item and fix

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94102:150b6a41b9f2 Date: 2018-03-22 23:24 +0100 http://bitbucket.org/pypy/pypy/changeset/150b6a41b9f2/ Log:test for sq_ass_item and fix diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/modul

[pypy-commit] pypy cpyext-fast-typecheck: port the last slot wrapper

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94104:f51b4cef71b0 Date: 2018-03-22 23:34 +0100 http://bitbucket.org/pypy/pypy/changeset/f51b4cef71b0/ Log:port the last slot wrapper diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/

[pypy-commit] pypy cpyext-fast-typecheck: add a test for sq_ass_slice and port the corresponding wrapper to the new style

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94101:564712927aef Date: 2018-03-22 23:17 +0100 http://bitbucket.org/pypy/pypy/changeset/564712927aef/ Log:add a test for sq_ass_slice and port the corresponding wrapper to the new style diff --git a/pypy/module/cpyext/sl

[pypy-commit] pypy cpyext-fast-typecheck: port wrap_getattro

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94100:5baee26aad6e Date: 2018-03-22 22:53 +0100 http://bitbucket.org/pypy/pypy/changeset/5baee26aad6e/ Log:port wrap_getattro diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/s

[pypy-commit] pypy cpyext-fast-typecheck: port more wrappers, starting to fix test_arraymodule.py

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94098:2e882947bdd3 Date: 2018-03-22 22:33 +0100 http://bitbucket.org/pypy/pypy/changeset/2e882947bdd3/ Log:port more wrappers, starting to fix test_arraymodule.py diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/s

[pypy-commit] pypy cpyext-fast-typecheck: port some of the buffer-related slots, enough to pass the array tests

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94099:567c1b64d3ec Date: 2018-03-22 22:50 +0100 http://bitbucket.org/pypy/pypy/changeset/567c1b64d3ec/ Log:port some of the buffer-related slots, enough to pass the array tests diff --git a/pypy/module/cpyext/slotdefs.py

[pypy-commit] pypy cpyext-fast-typecheck: port wrap_init to the new style

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94088:259e93d2de92 Date: 2018-03-22 17:48 +0100 http://bitbucket.org/pypy/pypy/changeset/259e93d2de92/ Log:port wrap_init to the new style diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/mo

[pypy-commit] pypy cpyext-fast-typecheck: rewrite wrap_unaryfunc in the new style

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94085:dc0945ef4c26 Date: 2018-03-22 17:14 +0100 http://bitbucket.org/pypy/pypy/changeset/dc0945ef4c26/ Log:rewrite wrap_unaryfunc in the new style diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a

[pypy-commit] pypy cpyext-fast-typecheck: kill wrapper_func_kwds, since it was used only by wrap_init and wrap_call, which are now new-style; this simplify a bit of stuff around

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94089:0e2721692722 Date: 2018-03-22 17:54 +0100 http://bitbucket.org/pypy/pypy/changeset/0e2721692722/ Log:kill wrapper_func_kwds, since it was used only by wrap_init and wrap_call, which are now new-style; this simplify a

[pypy-commit] pypy cpyext-fast-typecheck: port wrap_setattr and wrap_delattr to the new style

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94090:1525006c89ef Date: 2018-03-22 18:02 +0100 http://bitbucket.org/pypy/pypy/changeset/1525006c89ef/ Log:port wrap_setattr and wrap_delattr to the new style diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotd

[pypy-commit] pypy cpyext-fast-typecheck: go back to the previous naming convention, with a comment explaining why

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94087:de9fbc68ef97 Date: 2018-03-22 17:37 +0100 http://bitbucket.org/pypy/pypy/changeset/de9fbc68ef97/ Log:go back to the previous naming convention, with a comment explaining why diff --git a/pypy/module/cpyext/slotdefs.

[pypy-commit] pypy cpyext-fast-typecheck: port wrap_call to the new style, reusing most of the logic we use also W_PyCFunction.call_keywords

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94086:edf304aa6652 Date: 2018-03-22 17:33 +0100 http://bitbucket.org/pypy/pypy/changeset/edf304aa6652/ Log:port wrap_call to the new style, reusing most of the logic we use also W_PyCFunction.call_keywords diff --git a/py

[pypy-commit] pypy cpyext-fast-typecheck: convert wrap_objobjproc to the new style

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94084:0e0dc6fb5d4c Date: 2018-03-22 17:08 +0100 http://bitbucket.org/pypy/pypy/changeset/0e0dc6fb5d4c/ Log:convert wrap_objobjproc to the new style diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py ---

[pypy-commit] pypy cpyext-fast-typecheck: bah

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94083:8febb6bdae2a Date: 2018-03-22 16:00 + http://bitbucket.org/pypy/pypy/changeset/8febb6bdae2a/ Log:bah diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodobject.py --- a/pypy/module/cpyext/methodo

[pypy-commit] pypy py3tests: Implement AppTestFunction.reportinfo() to get correct failure reports

2018-03-22 Thread rlamy
Author: Ronan Lamy Branch: py3tests Changeset: r94082:bc7db4a511cc Date: 2018-03-22 16:51 +0100 http://bitbucket.org/pypy/pypy/changeset/bc7db4a511cc/ Log:Implement AppTestFunction.reportinfo() to get correct failure reports diff --git a/pypy/tool/pytest/apptest2.py b/pypy/tool/pytes

[pypy-commit] pypy cpyext-fast-typecheck: make sure to raise TypeError if you pass keywords to a slot which does not expect them

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94081:8b23d59cea09 Date: 2018-03-22 16:47 +0100 http://bitbucket.org/pypy/pypy/changeset/8b23d59cea09/ Log:make sure to raise TypeError if you pass keywords to a slot which does not expect them diff --git a/pypy/module/cp

[pypy-commit] pypy guard-compatible: cleanup and fix for passing non-code data to vtune

2018-03-22 Thread Raemi
Author: Remi Meier Branch: guard-compatible Changeset: r94080:ad7291e0a4d3 Date: 2018-03-22 16:45 +0100 http://bitbucket.org/pypy/pypy/changeset/ad7291e0a4d3/ Log:cleanup and fix for passing non-code data to vtune diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/a

[pypy-commit] pypy cpyext-fast-typecheck: test and fix typo

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94079:624c476bc7cd Date: 2018-03-22 14:12 + http://bitbucket.org/pypy/pypy/changeset/624c476bc7cd/ Log:test and fix typo diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodobject.py --- a/pypy/module/

[pypy-commit] pypy cpyext-fast-typecheck: WIP: refactor again: there is no point in having tons of wrappers and a different class for each wrapper. It is cleaner and easier to inline the content of th

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94078:430955eada2e Date: 2018-03-22 16:36 +0100 http://bitbucket.org/pypy/pypy/changeset/430955eada2e/ Log:WIP: refactor again: there is no point in having tons of wrappers and a different class for each wrapper. It is cle

[pypy-commit] pypy guard-compatible: make vtune integration work on my system

2018-03-22 Thread Raemi
Author: Remi Meier Branch: guard-compatible Changeset: r94077:fb4fbff6cb90 Date: 2018-03-22 16:26 +0100 http://bitbucket.org/pypy/pypy/changeset/fb4fbff6cb90/ Log:make vtune integration work on my system diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.p

[pypy-commit] pypy py3tests: Reimplement create_module at interp-level for the rewrite_asserts=False case

2018-03-22 Thread rlamy
Author: Ronan Lamy Branch: py3tests Changeset: r94076:90e138c50fe2 Date: 2018-03-22 16:03 +0100 http://bitbucket.org/pypy/pypy/changeset/90e138c50fe2/ Log:Reimplement create_module at interp-level for the rewrite_asserts=False case diff --git a/pypy/tool/pytest/apptest2.py b/pypy/too

[pypy-commit] pypy guard-compatible: add a fairer targetcompatible

2018-03-22 Thread Raemi
Author: Remi Meier Branch: guard-compatible Changeset: r94075:26fa11e33f71 Date: 2018-03-22 15:59 +0100 http://bitbucket.org/pypy/pypy/changeset/26fa11e33f71/ Log:add a fairer targetcompatible diff --git a/rpython/jit/tl/targetcompatible.py b/rpython/jit/tl/targetcompatible.py --- a/rpython

[pypy-commit] pypy guard-compatible: hg merge vtune

2018-03-22 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r94073:c4f28bd30a85 Date: 2018-03-22 15:14 +0100 http://bitbucket.org/pypy/pypy/changeset/c4f28bd30a85/ Log:hg merge vtune diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backen

[pypy-commit] pypy guard-compatible: fixes

2018-03-22 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r94074:40ed7f642faf Date: 2018-03-22 15:29 +0100 http://bitbucket.org/pypy/pypy/changeset/40ed7f642faf/ Log:fixes diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/ass

[pypy-commit] pypy py3tests: Collect apptest_*.py files also when untranslated

2018-03-22 Thread rlamy
Author: Ronan Lamy Branch: py3tests Changeset: r94071:e703f1b77506 Date: 2018-03-22 12:56 +0100 http://bitbucket.org/pypy/pypy/changeset/e703f1b77506/ Log:Collect apptest_*.py files also when untranslated diff --git a/pypy/conftest.py b/pypy/conftest.py --- a/pypy/conftest.py +++ b/pypy/conf

[pypy-commit] pypy py3tests: Add option to enable app-level assert rewriting; turn it off by default

2018-03-22 Thread rlamy
Author: Ronan Lamy Branch: py3tests Changeset: r94072:aaa43023ad0d Date: 2018-03-22 15:16 +0100 http://bitbucket.org/pypy/pypy/changeset/aaa43023ad0d/ Log:Add option to enable app-level assert rewriting; turn it off by default diff --git a/pypy/conftest.py b/pypy/conftest.py --- a/py

[pypy-commit] pypy cpyext-fast-typecheck: WIP, refactor the previous commit: since wrap_binaryfunc has a different signature, we can no longer mix it with the others, else the annotator (correctly) co

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94070:5ef7b9a78fc4 Date: 2018-03-22 15:04 +0100 http://bitbucket.org/pypy/pypy/changeset/5ef7b9a78fc4/ Log:WIP, refactor the previous commit: since wrap_binaryfunc has a different signature, we can no longer mix it with th

[pypy-commit] pypy vtune: updates for 2018

2018-03-22 Thread arigo
Author: Armin Rigo Branch: vtune Changeset: r94069:2b28145a01f9 Date: 2018-03-22 14:56 +0100 http://bitbucket.org/pypy/pypy/changeset/2b28145a01f9/ Log:updates for 2018 diff --git a/rpython/jit/backend/x86/vtune.py b/rpython/jit/backend/x86/vtune.py --- a/rpython/jit/backend/x86/vtune.py +++

[pypy-commit] pypy reverse-debugger-updated: Change 'hash' field to be there only for revdb.

2018-03-22 Thread mjacob
Author: Manuel Jacob Branch: reverse-debugger-updated Changeset: r94068:899d967fe147 Date: 2018-03-22 14:30 +0100 http://bitbucket.org/pypy/pypy/changeset/899d967fe147/ Log:Change 'hash' field to be there only for revdb. diff --git a/rpython/memory/gctransform/boehm.py b/rpython/memory/gctr

[pypy-commit] pypy cpyext-fast-typecheck: (anto, ronan): fix this test, because gcc (correctly :)) complains that the statement had no effect

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94067:a3b4293a2b1b Date: 2018-03-22 13:10 + http://bitbucket.org/pypy/pypy/changeset/a3b4293a2b1b/ Log:(anto, ronan): fix this test, because gcc (correctly :)) complains that the statement had no effect diff --git a/p

[pypy-commit] pypy cpyext-fast-typecheck: WIP: modify the W_PyCWrapperObject call logic: instead of using a very generic logic which always build a tuple containing the arguments, we specify the expec

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94066:ba7b2efa9585 Date: 2018-03-22 13:02 +0100 http://bitbucket.org/pypy/pypy/changeset/ba7b2efa9585/ Log:WIP: modify the W_PyCWrapperObject call logic: instead of using a very generic logic which always build a tuple con

[pypy-commit] pypy cpyext-fast-typecheck: move this logic inside W_PyCWrapperObject.descr_call, for consistency with the other classes, and allow the jit to look inside it

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94065:a0cad484bfaf Date: 2018-03-22 12:24 +0100 http://bitbucket.org/pypy/pypy/changeset/a0cad484bfaf/ Log:move this logic inside W_PyCWrapperObject.descr_call, for consistency with the other classes, and allow the jit to

[pypy-commit] pypy cpyext-fast-typecheck: add a passing test

2018-03-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-fast-typecheck Changeset: r94064:b8745d3e1669 Date: 2018-03-22 12:23 +0100 http://bitbucket.org/pypy/pypy/changeset/b8745d3e1669/ Log:add a passing test diff --git a/pypy/module/cpyext/test/test_typeobject.py b/pypy/module/cpyext/test/test_typeobject.py -

[pypy-commit] pypy reverse-debugger-updated: Fix replaying by adding back hash field to GC header.

2018-03-22 Thread mjacob
Author: Manuel Jacob Branch: reverse-debugger-updated Changeset: r94063:0365344dd2f6 Date: 2018-03-22 12:56 +0100 http://bitbucket.org/pypy/pypy/changeset/0365344dd2f6/ Log:Fix replaying by adding back hash field to GC header. diff --git a/rpython/memory/gctransform/boehm.py b/rpython/memor

[pypy-commit] pypy guard-compatible: (arigato, remi) it seems to us that the current output of the test is correct

2018-03-22 Thread Raemi
Author: Remi Meier Branch: guard-compatible Changeset: r94062:f55580d6252b Date: 2018-03-22 09:40 +0100 http://bitbucket.org/pypy/pypy/changeset/f55580d6252b/ Log:(arigato, remi) it seems to us that the current output of the test is correct and better diff --git a/rpython/jit/metaint

[pypy-commit] pypy guard-compatible: (arigato, remi) cleanup test and make the bridge not contain a call_pure

2018-03-22 Thread Raemi
Author: Remi Meier Branch: guard-compatible Changeset: r94061:aab085ce1480 Date: 2018-03-22 09:08 +0100 http://bitbucket.org/pypy/pypy/changeset/aab085ce1480/ Log:(arigato, remi) cleanup test and make the bridge not contain a call_pure By preventing to share descrs with the G