[pypy-commit] pypy jit-leaner-frontend: a different approach - let's try not to intern constants

2016-03-14 Thread fijal
Author: fijal Branch: jit-leaner-frontend Changeset: r83062:106e5d6db9cb Date: 2016-03-15 08:58 +0200 http://bitbucket.org/pypy/pypy/changeset/106e5d6db9cb/ Log:a different approach - let's try not to intern constants diff --git a/rpython/jit/metainterp/opencoder.py b/rpython/jit/metainterp/

[pypy-commit] pypy default: fix for 32 bit

2016-03-14 Thread mattip
Author: mattip Branch: Changeset: r83061:173add34cdd2 Date: 2016-03-15 08:10 +0200 http://bitbucket.org/pypy/pypy/changeset/173add34cdd2/ Log:fix for 32 bit diff --git a/pypy/module/micronumpy/test/test_ndarray.py b/pypy/module/micronumpy/test/test_ndarray.py --- a/pypy/module/micronumpy/t

[pypy-commit] pypy cpyext-ext: fix translation

2016-03-14 Thread mattip
Author: mattip Branch: cpyext-ext Changeset: r83060:fbe7b2887db2 Date: 2016-03-15 00:58 +0200 http://bitbucket.org/pypy/pypy/changeset/fbe7b2887db2/ Log:fix translation diff --git a/pypy/module/cpyext/bytesobject.py b/pypy/module/cpyext/bytesobject.py --- a/pypy/module/cpyext/bytesobject.py

[pypy-commit] pypy cpyext-ext: fix test since PyStringObject buffer is read only, fix segfault if buffer is NULL

2016-03-14 Thread mattip
Author: mattip Branch: cpyext-ext Changeset: r83058:232d73c2ea06 Date: 2016-03-15 00:14 +0200 http://bitbucket.org/pypy/pypy/changeset/232d73c2ea06/ Log:fix test since PyStringObject buffer is read only, fix segfault if buffer is NULL diff --git a/pypy/module/cpyext/bytesobject.py b

[pypy-commit] pypy cpyext-ext: remove leftover cruft

2016-03-14 Thread mattip
Author: mattip Branch: cpyext-ext Changeset: r83059:6b2f326b088c Date: 2016-03-15 00:15 +0200 http://bitbucket.org/pypy/pypy/changeset/6b2f326b088c/ Log:remove leftover cruft diff --git a/pypy/module/cpyext/bytesobject.py b/pypy/module/cpyext/bytesobject.py --- a/pypy/module/cpyext/bytesobj

[pypy-commit] pypy cpyext-ext: Fix PyString_AsString() to accept a Unicode object, it is encoded using the default encoding.

2016-03-14 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: cpyext-ext Changeset: r83057:931af853eaab Date: 2016-03-14 22:20 +0100 http://bitbucket.org/pypy/pypy/changeset/931af853eaab/ Log:Fix PyString_AsString() to accept a Unicode object, it is encoded using the default encoding. Also fix _PyUni

[pypy-commit] pypy cpyext-ext: refactor PyStringObject to use PyObject_VARHEAD not PyObject_HEAD, improve failing test

2016-03-14 Thread mattip
Author: mattip Branch: cpyext-ext Changeset: r83056:731fbe0846a6 Date: 2016-03-14 22:12 +0200 http://bitbucket.org/pypy/pypy/changeset/731fbe0846a6/ Log:refactor PyStringObject to use PyObject_VARHEAD not PyObject_HEAD, improve failing test diff --git a/pypy/module/cpyext/bytesobject

[pypy-commit] pypy cpyext-ext: merge default into branch

2016-03-14 Thread mattip
Author: mattip Branch: cpyext-ext Changeset: r83055:ef1022e1d513 Date: 2016-03-14 21:41 +0200 http://bitbucket.org/pypy/pypy/changeset/ef1022e1d513/ Log:merge default into branch diff too long, truncating to 2000 out of 13184 lines diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.h

[pypy-commit] pypy jit-leaner-frontend: add a missing helper

2016-03-14 Thread fijal
Author: fijal Branch: jit-leaner-frontend Changeset: r83054:552f750cc26b Date: 2016-03-14 21:15 +0200 http://bitbucket.org/pypy/pypy/changeset/552f750cc26b/ Log:add a missing helper diff --git a/rpython/jit/metainterp/resoperation.py b/rpython/jit/metainterp/resoperation.py --- a/rpython/jit

[pypy-commit] pypy jit-leaner-frontend: one more fix

2016-03-14 Thread fijal
Author: fijal Branch: jit-leaner-frontend Changeset: r83053:967e19f9c345 Date: 2016-03-14 21:13 +0200 http://bitbucket.org/pypy/pypy/changeset/967e19f9c345/ Log:one more fix diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py --- a/rpython/jit/metainterp/pyjitp

[pypy-commit] pypy default: comma caused AnsiLogger attributes to be tuples, not functions

2016-03-14 Thread mattip
Author: mattip Branch: Changeset: r83052:b3e2d1a59d0f Date: 2016-03-14 21:09 +0200 http://bitbucket.org/pypy/pypy/changeset/b3e2d1a59d0f/ Log:comma caused AnsiLogger attributes to be tuples, not functions diff --git a/rpython/tool/ansi_print.py b/rpython/tool/ansi_print.py --- a/rpython/too

[pypy-commit] pypy jit-leaner-frontend: in-progress

2016-03-14 Thread fijal
Author: fijal Branch: jit-leaner-frontend Changeset: r83050:caa5be25642c Date: 2016-03-14 12:47 +0200 http://bitbucket.org/pypy/pypy/changeset/caa5be25642c/ Log:in-progress diff --git a/rpython/jit/metainterp/history.py b/rpython/jit/metainterp/history.py --- a/rpython/jit/metainterp/history

[pypy-commit] pypy jit-leaner-frontend: try a much simpler implementation for resop in the frontend (ideally dying completely)

2016-03-14 Thread fijal
Author: fijal Branch: jit-leaner-frontend Changeset: r83051:18ea5495a9de Date: 2016-03-14 21:02 +0200 http://bitbucket.org/pypy/pypy/changeset/18ea5495a9de/ Log:try a much simpler implementation for resop in the frontend (ideally dying completely) diff --git a/rpython/jit/metainterp/h

[pypy-commit] pypy fix_indexing_by_numpy_int: close branch to be merged

2016-03-14 Thread mattip
Author: mattip Branch: fix_indexing_by_numpy_int Changeset: r83048:897fe49bbe94 Date: 2016-03-14 20:39 +0200 http://bitbucket.org/pypy/pypy/changeset/897fe49bbe94/ Log:close branch to be merged ___ pypy-commit mailing list pypy-commit@python.org ht

[pypy-commit] pypy default: merge fix_indexing_by_numpy_int which implements indexing by a scalar returning a scalar

2016-03-14 Thread mattip
Author: mattip Branch: Changeset: r83049:3ba796288d26 Date: 2016-03-14 20:41 +0200 http://bitbucket.org/pypy/pypy/changeset/3ba796288d26/ Log:merge fix_indexing_by_numpy_int which implements indexing by a scalar returning a scalar diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/w

[pypy-commit] pypy fix_indexing_by_numpy_int: add passing test

2016-03-14 Thread mattip
Author: mattip Branch: fix_indexing_by_numpy_int Changeset: r83047:31bb9ad05cae Date: 2016-03-14 20:38 +0200 http://bitbucket.org/pypy/pypy/changeset/31bb9ad05cae/ Log:add passing test diff --git a/pypy/module/micronumpy/test/test_ndarray.py b/pypy/module/micronumpy/test/test_ndarray.py ---

[pypy-commit] pypy fix_indexing_by_numpy_int: Fixed indexing by numpy.int

2016-03-14 Thread Sergey Matyunin
Author: Sergey Matyunin Branch: fix_indexing_by_numpy_int Changeset: r83046:889015cbbfed Date: 2016-03-13 22:33 +0100 http://bitbucket.org/pypy/pypy/changeset/889015cbbfed/ Log:Fixed indexing by numpy.int diff --git a/pypy/module/micronumpy/ndarray.py b/pypy/module/micronumpy/ndarray.py ---

[pypy-commit] pypy guard-compatible: make sure that the test fails if grow_guard_compatible_switch does nothing by

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83045:25a9cbb2f43b Date: 2016-03-14 18:48 +0100 http://bitbucket.org/pypy/pypy/changeset/25a9cbb2f43b/ Log:make sure that the test fails if grow_guard_compatible_switch does nothing by checking that the elidable function

[pypy-commit] pypy guard-compatible: Add an assert on the type of compiled_loop_token, even if not used here

2016-03-14 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r83044:8d87ef9411ad Date: 2016-03-14 18:25 +0100 http://bitbucket.org/pypy/pypy/changeset/8d87ef9411ad/ Log:Add an assert on the type of compiled_loop_token, even if not used here diff --git a/rpython/jit/backend/llgraph/runner.p

[pypy-commit] pypy guard-compatible: grumble, of course the llgraph tests work anyway

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83043:2c3489492545 Date: 2016-03-14 17:17 +0100 http://bitbucket.org/pypy/pypy/changeset/2c3489492545/ Log:grumble, of course the llgraph tests work anyway diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainter

[pypy-commit] pypy guard-compatible: translation fixes

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83042:eed34dd847a5 Date: 2016-03-14 15:28 + http://bitbucket.org/pypy/pypy/changeset/eed34dd847a5/ Log:translation fixes diff --git a/rpython/jit/metainterp/compatible.py b/rpython/jit/metainterp/compatible.py --- a/rpytho

[pypy-commit] pypy guard-compatible: add test for db4dc094a002

2016-03-14 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r83041:d99d2e0e37bb Date: 2016-03-14 13:47 +0100 http://bitbucket.org/pypy/pypy/changeset/d99d2e0e37bb/ Log:add test for db4dc094a002 diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py --- a/r

[pypy-commit] pypy guard-compatible: Keepalive. Hard to test...

2016-03-14 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r83040:db4dc094a002 Date: 2016-03-14 13:38 +0100 http://bitbucket.org/pypy/pypy/changeset/db4dc094a002/ Log:Keepalive. Hard to test... diff --git a/rpython/jit/backend/model.py b/rpython/jit/backend/model.py --- a/rpython/jit/backend/mod

[pypy-commit] pypy guard-compatible: 32-bit support

2016-03-14 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r83039:4e72a2558a80 Date: 2016-03-14 13:29 +0100 http://bitbucket.org/pypy/pypy/changeset/4e72a2558a80/ Log:32-bit support 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: fix

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83038:66858a12701d Date: 2016-03-14 12:02 + http://bitbucket.org/pypy/pypy/changeset/66858a12701d/ Log:fix diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/mapdict.py +++ b/py

[pypy-commit] pypy guard-compatible: missing import

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83037:f6680e0a34d7 Date: 2016-03-14 13:24 +0100 http://bitbucket.org/pypy/pypy/changeset/f6680e0a34d7/ Log:missing import diff --git a/rpython/jit/metainterp/optimizeopt/pure.py b/rpython/jit/metainterp/optimizeopt/pure.py ---

[pypy-commit] pypy guard-compatible: the ptrinfo might not exist at all

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83036:6ae43da2bb1b Date: 2016-03-14 12:52 +0100 http://bitbucket.org/pypy/pypy/changeset/6ae43da2bb1b/ Log:the ptrinfo might not exist at all diff --git a/rpython/jit/metainterp/optimizeopt/pure.py b/rpython/jit/metainterp/opt

[pypy-commit] pypy guard-compatible: update to new interface

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83035:5eebc249f313 Date: 2016-03-14 12:24 +0100 http://bitbucket.org/pypy/pypy/changeset/5eebc249f313/ Log:update to new interface diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py --- a/rpytho

[pypy-commit] pypy guard-compatible: remove pdb, remove outdated comment

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83034:4ce22e96aeb4 Date: 2016-03-14 11:36 +0100 http://bitbucket.org/pypy/pypy/changeset/4ce22e96aeb4/ Log:remove pdb, remove outdated comment diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py

[pypy-commit] pypy guard-compatible: fix test

2016-03-14 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r83033:a4bd899899fc Date: 2016-03-14 11:38 +0100 http://bitbucket.org/pypy/pypy/changeset/a4bd899899fc/ Log:fix test diff --git a/rpython/jit/backend/x86/test/test_assembler.py b/rpython/jit/backend/x86/test/test_assembler.py --- a/rpyt

[pypy-commit] pypy guard-compatible: Change the interface again to take a CompiledLoopToken

2016-03-14 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r83032:c51aa683936e Date: 2016-03-14 11:35 +0100 http://bitbucket.org/pypy/pypy/changeset/c51aa683936e/ Log:Change the interface again to take a CompiledLoopToken diff --git a/rpython/jit/backend/llgraph/runner.py b/rpython/jit/backend/

[pypy-commit] pypy guard-compatible: remove breakpoint

2016-03-14 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r83031:754537bcf5be Date: 2016-03-14 11:17 +0100 http://bitbucket.org/pypy/pypy/changeset/754537bcf5be/ Log:remove breakpoint diff --git a/rpython/jit/backend/x86/guard_compat.py b/rpython/jit/backend/x86/guard_compat.py --- a/rpython/j

[pypy-commit] pypy guard-compatible: Finish guard_compatible in the x86 backend (as far as test_runner goes)

2016-03-14 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r83030:a4934822ebc2 Date: 2016-03-14 11:14 +0100 http://bitbucket.org/pypy/pypy/changeset/a4934822ebc2/ Log:Finish guard_compatible in the x86 backend (as far as test_runner goes) diff --git a/rpython/jit/backend/llgraph/runner.p

[pypy-commit] pypy guard-compatible: In-progress

2016-03-14 Thread arigo
Author: Armin Rigo Branch: guard-compatible Changeset: r83029:f30a30829848 Date: 2016-03-14 10:20 +0100 http://bitbucket.org/pypy/pypy/changeset/f30a30829848/ Log:In-progress diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py --- a/rpython/jit/bac

[pypy-commit] pypy guard-compatible: implement the boring part of guard_compatible

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83028:2567141c9d53 Date: 2016-03-14 10:03 +0100 http://bitbucket.org/pypy/pypy/changeset/2567141c9d53/ Log:implement the boring part of guard_compatible (which is exactly like guard_value :-)) diff --git a/rpython/jit/b

[pypy-commit] buildbot default: removed libpython s390x and applevel. they are both tested in the jit suite

2016-03-14 Thread plan_rich
Author: Richard Plangger Branch: Changeset: r994:18e2394e8147 Date: 2016-03-14 09:48 +0100 http://bitbucket.org/pypy/buildbot/changeset/18e2394e8147/ Log:removed libpython s390x and applevel. they are both tested in the jit suite diff --git a/bot2/pypybuildbot/master.py b/bot2/pypyb

[pypy-commit] jitviewer default: bump the version

2016-03-14 Thread fijal
Author: fijal Branch: Changeset: r279:028757f8af2a Date: 2016-03-14 10:34 +0200 http://bitbucket.org/pypy/jitviewer/changeset/028757f8af2a/ Log:bump the version diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ rest.append(os.path.join(dirname, x))

[pypy-commit] pypy jit-leaner-frontend: fix rpython

2016-03-14 Thread fijal
Author: fijal Branch: jit-leaner-frontend Changeset: r83027:0599da8cfbe1 Date: 2016-03-14 10:13 +0200 http://bitbucket.org/pypy/pypy/changeset/0599da8cfbe1/ Log:fix rpython diff --git a/rpython/jit/metainterp/history.py b/rpython/jit/metainterp/history.py --- a/rpython/jit/metainterp/history

[pypy-commit] pypy jit-leaner-frontend: maaaybe implement global numbering

2016-03-14 Thread fijal
Author: fijal Branch: jit-leaner-frontend Changeset: r83026:af5c4f0c2cc9 Date: 2016-03-14 10:11 +0200 http://bitbucket.org/pypy/pypy/changeset/af5c4f0c2cc9/ Log:maaaybe implement global numbering diff --git a/rpython/jit/backend/llgraph/runner.py b/rpython/jit/backend/llgraph/runner.py --- a

[pypy-commit] pypy default: marked two tests as xfail on s390x. they time out when invoked with test runner, but pass when run directly

2016-03-14 Thread plan_rich
Author: Richard Plangger Branch: Changeset: r83025:4b386bcfee54 Date: 2016-03-14 08:49 +0100 http://bitbucket.org/pypy/pypy/changeset/4b386bcfee54/ Log:marked two tests as xfail on s390x. they time out when invoked with test runner, but pass when run directly diff --git a/pypy/modul