[pypy-commit] pypy default: On CPython, some functions accept integers of any size and

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45894:48020b9e373b Date: 2011-07-23 11:00 +0200 http://bitbucket.org/pypy/pypy/changeset/48020b9e373b/ Log:On CPython, some functions accept integers of any size and truncate. This seems to be important at least for crc32() and adler32(), so

[pypy-commit] pypy ootype-rerased: Calling super(...).__init__() wasn't necessary here.

2011-07-23 Thread ademan
Author: Daniel Roberts Branch: ootype-rerased Changeset: r45895:3589c6241735 Date: 2011-07-23 02:02 -0700 http://bitbucket.org/pypy/pypy/changeset/3589c6241735/ Log:Calling super(...).__init__() wasn't necessary here. diff --git a/pypy/translator/cli/metavm.py b/pypy/translator/cli/metavm.py

[pypy-commit] pypy default: fix and don"t compare pointers by is

2011-07-23 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r45896:8c9bfd29cb30 Date: 2011-07-23 12:01 +0200 http://bitbucket.org/pypy/pypy/changeset/8c9bfd29cb30/ Log:fix and don"t compare pointers by is diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py

[pypy-commit] pypy ootype-rerased: Merge default.

2011-07-23 Thread ademan
Author: Daniel Roberts Branch: ootype-rerased Changeset: r45897:dd27ac5f6592 Date: 2011-07-23 03:02 -0700 http://bitbucket.org/pypy/pypy/changeset/dd27ac5f6592/ Log:Merge default. diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjs

[pypy-commit] pypy ootype-rerased: Fix tests to remove redundancy.

2011-07-23 Thread ademan
Author: Daniel Roberts Branch: ootype-rerased Changeset: r45898:864d55a90e7e Date: 2011-07-23 04:21 -0700 http://bitbucket.org/pypy/pypy/changeset/864d55a90e7e/ Log:Fix tests to remove redundancy. diff --git a/pypy/translator/cli/test/test_int.py b/pypy/translator/cli/test/test_int.py --- a

[pypy-commit] pypy default: Tentative: set acceptable_as_base_class to False by default

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45899:02cebf6df7a0 Date: 2011-07-23 17:00 +0200 http://bitbucket.org/pypy/pypy/changeset/02cebf6df7a0/ Log:Tentative: set acceptable_as_base_class to False by default on TypeDefs that don't define a custom __new__. CPython tests appear t

[pypy-commit] jitviewer default: slightly different approach to displaying where we are

2011-07-23 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r159:bc0e2179c8c4 Date: 2011-07-23 17:22 +0200 http://bitbucket.org/pypy/jitviewer/changeset/bc0e2179c8c4/ Log:slightly different approach to displaying where we are diff --git a/_jitviewer/static/script.js b/_jitviewer/static/script.js --- a/_j

[pypy-commit] pypy default: Tentatively let StackOverflow and MemoryError exit the JIT tracing

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45900:2413c8ed9933 Date: 2011-07-23 18:02 +0200 http://bitbucket.org/pypy/pypy/changeset/2413c8ed9933/ Log:Tentatively let StackOverflow and MemoryError exit the JIT tracing and be propagated outside. diff --git a/pypy/jit/metainterp/warmspot.p

[pypy-commit] jitviewer default: also highlight the line

2011-07-23 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r161:9cc45021ed0d Date: 2011-07-23 18:16 +0200 http://bitbucket.org/pypy/jitviewer/changeset/9cc45021ed0d/ Log:also highlight the line diff --git a/_jitviewer/static/script.js b/_jitviewer/static/script.js --- a/_jitviewer/static/script.js +++ b

[pypy-commit] pypy range-immutable: close this branch for the forseeable future. ranges are rarely constants

2011-07-23 Thread fijal
Author: Maciej Fijalkowski Branch: range-immutable Changeset: r45901:2980b2bf826d Date: 2011-07-23 19:08 +0200 http://bitbucket.org/pypy/pypy/changeset/2980b2bf826d/ Log:close this branch for the forseeable future. ranges are rarely constants _

[pypy-commit] pypy inline-dict-ops: improve tests

2011-07-23 Thread fijal
Author: Maciej Fijalkowski Branch: inline-dict-ops Changeset: r45903:d0af6a58e1b1 Date: 2011-07-23 19:34 +0200 http://bitbucket.org/pypy/pypy/changeset/d0af6a58e1b1/ Log:improve tests diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py --- a/pypy/jit/bac

[pypy-commit] pypy inline-dict-ops: bh_getinteriorfield_gc_r

2011-07-23 Thread fijal
Author: Maciej Fijalkowski Branch: inline-dict-ops Changeset: r45904:d6053cf6b6d9 Date: 2011-07-23 19:35 +0200 http://bitbucket.org/pypy/pypy/changeset/d6053cf6b6d9/ Log:bh_getinteriorfield_gc_r diff --git a/pypy/jit/backend/llsupport/llmodel.py b/pypy/jit/backend/llsupport/llmodel.py --- a

[pypy-commit] pypy inline-dict-ops: fix bh methods;

2011-07-23 Thread fijal
Author: Maciej Fijalkowski Branch: inline-dict-ops Changeset: r45905:234b2589b175 Date: 2011-07-23 19:41 +0200 http://bitbucket.org/pypy/pypy/changeset/234b2589b175/ Log:fix bh methods; diff --git a/pypy/jit/backend/llsupport/llmodel.py b/pypy/jit/backend/llsupport/llmodel.py --- a/pypy/jit

[pypy-commit] pypy inline-dict-ops: a test and a fix

2011-07-23 Thread fijal
Author: Maciej Fijalkowski Branch: inline-dict-ops Changeset: r45906:464e597e2cfd Date: 2011-07-23 19:50 +0200 http://bitbucket.org/pypy/pypy/changeset/464e597e2cfd/ Log:a test and a fix diff --git a/pypy/rpython/lltypesystem/ll2ctypes.py b/pypy/rpython/lltypesystem/ll2ctypes.py --- a/pypy/

[pypy-commit] pypy default: Change a bunch of sys.platform == 'linux2' to be sys.platform.startswith('linux') to be ready for linux3.

2011-07-23 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45907:c1f79d724bc0 Date: 2011-07-23 10:54 -0700 http://bitbucket.org/pypy/pypy/changeset/c1f79d724bc0/ Log:Change a bunch of sys.platform == 'linux2' to be sys.platform.startswith('linux') to be ready for linux3. diff --git a/pypy/config/suppo

[pypy-commit] pypy default: merged upstream

2011-07-23 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45908:1176c7a15532 Date: 2011-07-23 10:56 -0700 http://bitbucket.org/pypy/pypy/changeset/1176c7a15532/ Log:merged upstream diff --git a/pypy/interpreter/typedef.py b/pypy/interpreter/typedef.py --- a/pypy/interpreter/typedef.py +++ b/pypy/interpreter/

[pypy-commit] pypy inline-dict-ops: tests and fixes for void args

2011-07-23 Thread fijal
Author: Maciej Fijalkowski Branch: inline-dict-ops Changeset: r45909:725eba4ec8b0 Date: 2011-07-23 20:20 +0200 http://bitbucket.org/pypy/pypy/changeset/725eba4ec8b0/ Log:tests and fixes for void args diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform.py --- a/py

[pypy-commit] pypy inline-dict-ops: (fijal, arigo) a test and a fix

2011-07-23 Thread fijal
Author: Maciej Fijalkowski Branch: inline-dict-ops Changeset: r45910:f46f701cd3b8 Date: 2011-07-23 20:40 +0200 http://bitbucket.org/pypy/pypy/changeset/f46f701cd3b8/ Log:(fijal, arigo) a test and a fix diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform.py --- a/

[pypy-commit] pypy inline-dict-ops: A different fix.

2011-07-23 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r45911:d6719614d202 Date: 2011-07-23 20:43 +0200 http://bitbucket.org/pypy/pypy/changeset/d6719614d202/ Log:A different fix. diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform.py --- a/pypy/jit/codewriter/jtr

[pypy-commit] pypy inline-dict-ops: merge heads

2011-07-23 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r45912:d52c8358f541 Date: 2011-07-23 20:43 +0200 http://bitbucket.org/pypy/pypy/changeset/d52c8358f541/ Log:merge heads diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform.py --- a/pypy/jit/codewriter/jtransfo

[pypy-commit] pypy inline-dict-ops: Fix broken test, sorry.

2011-07-23 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r45913:e2b65a520ac8 Date: 2011-07-23 20:46 +0200 http://bitbucket.org/pypy/pypy/changeset/e2b65a520ac8/ Log:Fix broken test, sorry. diff --git a/pypy/jit/codewriter/test/test_jtransform.py b/pypy/jit/codewriter/test/test_jtransform.py --

[pypy-commit] pypy inline-dict-ops: Re-simplify this code.

2011-07-23 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r45914:e6c306ce9172 Date: 2011-07-23 20:47 +0200 http://bitbucket.org/pypy/pypy/changeset/e6c306ce9172/ Log:Re-simplify this code. diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform.py --- a/pypy/jit/codewrit

[pypy-commit] pypy default: Backout 4543677d758a and abc993e8d795, removing PYPY_GC_LOSTCARD

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45915:8fb98ebfdeb3 Date: 2011-07-23 16:19 +0200 http://bitbucket.org/pypy/pypy/changeset/8fb98ebfdeb3/ Log:Backout 4543677d758a and abc993e8d795, removing PYPY_GC_LOSTCARD again. Will try another approach: inlining the write barrier logic

[pypy-commit] pypy default: Oooops. Found and fixed a subtle bug: young arrays that use card

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45916:82e5051d55c3 Date: 2011-07-23 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/82e5051d55c3/ Log:Oooops. Found and fixed a subtle bug: young arrays that use card marking but die young would still be scanned for objects. That's

[pypy-commit] pypy default: merge heads

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45917:2051f1bfa5fc Date: 2011-07-23 22:32 +0200 http://bitbucket.org/pypy/pypy/changeset/2051f1bfa5fc/ Log:merge heads diff --git a/pypy/config/support.py b/pypy/config/support.py --- a/pypy/config/support.py +++ b/pypy/config/support.py @@ -9,7 +9,7 @

[pypy-commit] pypy default: Add the encoding for the instruction BTS.

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45918:6d1d40c49f22 Date: 2011-07-23 18:41 +0200 http://bitbucket.org/pypy/pypy/changeset/6d1d40c49f22/ Log:Add the encoding for the instruction BTS. diff --git a/pypy/jit/backend/x86/regloc.py b/pypy/jit/backend/x86/regloc.py --- a/pypy/jit/backend/x86

[pypy-commit] pypy default: Add some encodings for the 8-bit instruction OR.

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45919:062dd0bd8fb4 Date: 2011-07-23 19:38 +0200 http://bitbucket.org/pypy/pypy/changeset/062dd0bd8fb4/ Log:Add some encodings for the 8-bit instruction OR. diff --git a/pypy/jit/backend/x86/regloc.py b/pypy/jit/backend/x86/regloc.py --- a/pypy/jit/back

[pypy-commit] pypy default: Support writing inline code in the write barrier for large arrays,

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45920:4c0d2555caa8 Date: 2011-07-23 19:55 +0200 http://bitbucket.org/pypy/pypy/changeset/4c0d2555caa8/ Log:Support writing inline code in the write barrier for large arrays, for the simple case where calling it would just set a flag just

[pypy-commit] pypy default: merge heads

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45921:b3db617a2463 Date: 2011-07-23 22:34 +0200 http://bitbucket.org/pypy/pypy/changeset/b3db617a2463/ Log:merge heads diff --git a/pypy/jit/backend/llsupport/gc.py b/pypy/jit/backend/llsupport/gc.py --- a/pypy/jit/backend/llsupport/gc.py +++ b/pypy/ji

[pypy-commit] pypy default: Moving code around. The goal is to reduce the cost of

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45922:70abd7de1363 Date: 2011-07-24 00:16 +0200 http://bitbucket.org/pypy/pypy/changeset/70abd7de1363/ Log:Moving code around. The goal is to reduce the cost of space.isinstance(), probably by a large factor: according to valgrind, for e

[pypy-commit] pypy ootype-rerased: xfail prebuilt int unboxing on ootype for now.

2011-07-23 Thread ademan
Author: Daniel Roberts Branch: ootype-rerased Changeset: r45923:4587e282fee5 Date: 2011-07-23 15:29 -0700 http://bitbucket.org/pypy/pypy/changeset/4587e282fee5/ Log:xfail prebuilt int unboxing on ootype for now. diff --git a/pypy/rlib/test/test_rerased.py b/pypy/rlib/test/test_rerased.py ---

[pypy-commit] pypy ootype-rerased: Merge default.

2011-07-23 Thread ademan
Author: Daniel Roberts Branch: ootype-rerased Changeset: r45924:ffc2e849fd16 Date: 2011-07-23 18:57 -0700 http://bitbucket.org/pypy/pypy/changeset/ffc2e849fd16/ Log:Merge default. diff --git a/pypy/config/support.py b/pypy/config/support.py --- a/pypy/config/support.py +++ b/pypy/config/supp

[pypy-commit] pypy default: There is another case that is similarly buggy (it traces too much)...

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45925:4e68774de7bd Date: 2011-07-24 06:56 +0200 http://bitbucket.org/pypy/pypy/changeset/4e68774de7bd/ Log:There is another case that is similarly buggy (it traces too much)... diff --git a/pypy/rpython/memory/gc/minimark.py b/pypy/rpython/mem

[pypy-commit] pypy default: Fix for the previous bug: declare that the list should be really

2011-07-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r45926:6b4eb34c6091 Date: 2011-07-24 07:27 +0200 http://bitbucket.org/pypy/pypy/changeset/6b4eb34c6091/ Log:Fix for the previous bug: declare that the list should be really 'old_objects_pointing_to_young', i.e. only contain old objects. This