[pypy-commit] Notification: pypy-c4gc

2012-02-19 Thread Bitbucket
You have received a notification from GregBowyer. Hi, I forked pypy. My fork is at https://bitbucket.org/GregBowyer/pypy-c4gc. -- Disable notifications at https://bitbucket.org/account/notifications/ ___ pypy-commit mailing list pypy-commit@python.org h

[pypy-commit] pypy numpypy-out: translation fix, revert incorrect box conversion

2012-02-19 Thread mattip
Author: mattip Branch: numpypy-out Changeset: r52628:ac37eef6dfb6 Date: 2012-02-19 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/ac37eef6dfb6/ Log:translation fix, revert incorrect box conversion diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_nu

[pypy-commit] pypy stm: A version of the cache that models a hardware L1 cache.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r52629:df6f7424b1d3 Date: 2012-02-19 12:35 +0100 http://bitbucket.org/pypy/pypy/changeset/df6f7424b1d3/ Log:A version of the cache that models a hardware L1 cache. (disabled by default because it's buggy in subtle cases) diff --git a/pypy/tra

[pypy-commit] pypy stm-gc: Fix test_rstm.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52630:1e22b3703ea6 Date: 2012-02-19 14:08 +0100 http://bitbucket.org/pypy/pypy/changeset/1e22b3703ea6/ Log:Fix test_rstm. diff --git a/pypy/rlib/rstm.py b/pypy/rlib/rstm.py --- a/pypy/rlib/rstm.py +++ b/pypy/rlib/rstm.py @@ -1,4 +1,4 @@ -import t

[pypy-commit] pypy stm-gc: Kill _alloc_nonmovable_ here.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52631:c7d3b90302f2 Date: 2012-02-19 14:10 +0100 http://bitbucket.org/pypy/pypy/changeset/c7d3b90302f2/ Log:Kill _alloc_nonmovable_ here. diff --git a/pypy/module/transaction/interp_transaction.py b/pypy/module/transaction/interp_transaction.py -

[pypy-commit] pypy stm-gc: A hint that crashes if a variable is not proven local. Use it to check

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52632:a0bf9b1b1049 Date: 2012-02-19 14:46 +0100 http://bitbucket.org/pypy/pypy/changeset/a0bf9b1b1049/ Log:A hint that crashes if a variable is not proven local. Use it to check that propagation of localness of the PyFrame works (which

[pypy-commit] pypy default: This test_datetime doesn't test pypy's own implementation, but just

2012-02-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r52634:18b924f3d1b0 Date: 2012-02-19 16:33 +0100 http://bitbucket.org/pypy/pypy/changeset/18b924f3d1b0/ Log:This test_datetime doesn't test pypy's own implementation, but just CPython's. Fix. diff --git a/pypy/module/test_lib_pypy/test_datetime.

[pypy-commit] pypy stm-gc: Fix.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52633:e6052f474569 Date: 2012-02-19 16:29 +0100 http://bitbucket.org/pypy/pypy/changeset/e6052f474569/ Log:Fix. diff --git a/pypy/translator/stm/gcsource.py b/pypy/translator/stm/gcsource.py --- a/pypy/translator/stm/gcsource.py +++ b/pypy/transl

[pypy-commit] pypy ppc-jit-backend: do not copy lists

2012-02-19 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r52635:9b1bc846ce01 Date: 2012-02-15 08:41 -0800 http://bitbucket.org/pypy/pypy/changeset/9b1bc846ce01/ Log:do not copy lists diff --git a/pypy/jit/backend/ppc/helper/regalloc.py b/pypy/jit/backend/ppc/helper/regalloc.py --- a/pypy/jit/backen

[pypy-commit] pypy ppc-jit-backend: merge

2012-02-19 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r52636:62baa025967b Date: 2012-02-16 06:50 -0800 http://bitbucket.org/pypy/pypy/changeset/62baa025967b/ Log:merge diff --git a/pypy/jit/backend/ppc/opassembler.py b/pypy/jit/backend/ppc/opassembler.py --- a/pypy/jit/backend/ppc/opassembler.py

[pypy-commit] pypy ppc-jit-backend: replace all occurences of alloc_scratch_reg and free_scratch_reg with "with scratch_reg(mc):"

2012-02-19 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r52638:88498311be7e Date: 2012-02-19 07:55 -0800 http://bitbucket.org/pypy/pypy/changeset/88498311be7e/ Log:replace all occurences of alloc_scratch_reg and free_scratch_reg with "with scratch_reg(mc):" diff --git a/pypy/jit/backend/ppc

[pypy-commit] pypy ppc-jit-backend: merge

2012-02-19 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r52637:879919510bc6 Date: 2012-02-19 06:06 -0800 http://bitbucket.org/pypy/pypy/changeset/879919510bc6/ Log:merge diff --git a/pypy/jit/backend/ppc/opassembler.py b/pypy/jit/backend/ppc/opassembler.py --- a/pypy/jit/backend/ppc/opassembler.py

[pypy-commit] pypy ppc-jit-backend: use load instead of lwz/ld and store instead of stw/std

2012-02-19 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r52639:8c66e6606eb0 Date: 2012-02-19 08:24 -0800 http://bitbucket.org/pypy/pypy/changeset/8c66e6606eb0/ Log:use load instead of lwz/ld and store instead of stw/std diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/pypy/jit/backend/ppc/ppc_

[pypy-commit] pypy sepcomp2: Use modern syntax for specialization

2012-02-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: sepcomp2 Changeset: r52640:39b6ad3d0001 Date: 2012-02-18 17:16 +0100 http://bitbucket.org/pypy/pypy/changeset/39b6ad3d0001/ Log:Use modern syntax for specialization diff --git a/pypy/rpython/controllerentry.py b/pypy/rpython/controllerentry.py --- a/pypy/

[pypy-commit] pypy default: merge win32-cleanup_2: copy and zip python27.lib,

2012-02-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52642:ff2a7382fc20 Date: 2012-02-19 18:52 +0100 http://bitbucket.org/pypy/pypy/changeset/ff2a7382fc20/ Log:merge win32-cleanup_2: copy and zip python27.lib, the "import library" needed to build extensions on windows. diff --git a/pypy

[pypy-commit] pypy default: cpyext: add PyUnicode_Replace

2012-02-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52641:0f8cad650dd3 Date: 2012-02-19 18:24 +0100 http://bitbucket.org/pypy/pypy/changeset/0f8cad650dd3/ Log:cpyext: add PyUnicode_Replace diff --git a/pypy/module/cpyext/stubs.py b/pypy/module/cpyext/stubs.py --- a/pypy/module/cpyext/stubs.py

[pypy-commit] pypy default: Merge heads

2012-02-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52643:950eab16acf3 Date: 2012-02-19 18:52 +0100 http://bitbucket.org/pypy/pypy/changeset/950eab16acf3/ Log:Merge heads diff --git a/pypy/module/test_lib_pypy/test_datetime.py b/pypy/module/test_lib_pypy/test_datetime.py --- a/pypy/module/tes

[pypy-commit] pypy stm-gc: Add missing declarations.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52645:77069d76a77c Date: 2012-02-19 18:26 +0100 http://bitbucket.org/pypy/pypy/changeset/77069d76a77c/ Log:Add missing declarations. diff --git a/pypy/translator/stm/src_stm/et.h b/pypy/translator/stm/src_stm/et.h --- a/pypy/translator/stm/src_st

[pypy-commit] pypy stm-gc: Fixes, maybe.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52644:f37b48ea6529 Date: 2012-02-19 17:00 +0100 http://bitbucket.org/pypy/pypy/changeset/f37b48ea6529/ Log:Fixes, maybe. diff --git a/pypy/translator/stm/gcsource.py b/pypy/translator/stm/gcsource.py --- a/pypy/translator/stm/gcsource.py +++ b/py

[pypy-commit] pypy stm-gc: Improve the error message by displaying the "traceback"

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52647:561cb54a9769 Date: 2012-02-19 18:53 +0100 http://bitbucket.org/pypy/pypy/changeset/561cb54a9769/ Log:Improve the error message by displaying the "traceback" that leads to the malloc(gc) call. diff --git a/pypy/rpython/memory/gctrans

[pypy-commit] pypy stm-gc: Kill an outdated test.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52646:15dfea589fd3 Date: 2012-02-19 18:50 +0100 http://bitbucket.org/pypy/pypy/changeset/15dfea589fd3/ Log:Kill an outdated test. diff --git a/pypy/translator/stm/test/test_ztranslated.py b/pypy/translator/stm/test/test_ztranslated.py --- a/pypy

[pypy-commit] pypy stm-gc: The part of the code in the main thread that starts new threads

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52649:cb64c1fa7f40 Date: 2012-02-19 19:12 +0100 http://bitbucket.org/pypy/pypy/changeset/cb64c1fa7f40/ Log:The part of the code in the main thread that starts new threads must not use the GC itself. diff --git a/pypy/module/thread/ll_thre

[pypy-commit] pypy stm-gc: Ensure that no collect at all occur in the main thread when

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52648:d13a7a65bcc8 Date: 2012-02-19 18:55 +0100 http://bitbucket.org/pypy/pypy/changeset/d13a7a65bcc8/ Log:Ensure that no collect at all occur in the main thread when the other threads may be running. diff --git a/pypy/module/transaction/

[pypy-commit] pypy stm-gc: Fix

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52651:f20611c076c0 Date: 2012-02-19 20:08 +0100 http://bitbucket.org/pypy/pypy/changeset/f20611c076c0/ Log:Fix diff --git a/pypy/translator/stm/src_stm/atomic_ops.h b/pypy/translator/stm/src_stm/atomic_ops.h --- a/pypy/translator/stm/src_stm/ato

[pypy-commit] pypy stm-gc: Fix the 'transaction' module too.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52650:18482c0cbdd6 Date: 2012-02-19 19:12 +0100 http://bitbucket.org/pypy/pypy/changeset/18482c0cbdd6/ Log:Fix the 'transaction' module too. diff --git a/pypy/module/transaction/interp_transaction.py b/pypy/module/transaction/interp_transaction.

[pypy-commit] pypy stm-gc: Go through "hint" operations that are not related to stm.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52652:a5a9bfcc9aeb Date: 2012-02-19 20:22 +0100 http://bitbucket.org/pypy/pypy/changeset/a5a9bfcc9aeb/ Log:Go through "hint" operations that are not related to stm. diff --git a/pypy/translator/stm/gcsource.py b/pypy/translator/stm/gcsource.py --

[pypy-commit] pypy stm-gc: Kill this specialization. It's mostly pointless and it gives

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52653:c1db98c91413 Date: 2012-02-19 20:39 +0100 http://bitbucket.org/pypy/pypy/changeset/c1db98c91413/ Log:Kill this specialization. It's mostly pointless and it gives occasionally headaches because fatalerror() is called from several

[pypy-commit] pypy default: Clarify or fix these comments.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r52654:506419ff7de5 Date: 2012-02-19 21:01 +0100 http://bitbucket.org/pypy/pypy/changeset/506419ff7de5/ Log:Clarify or fix these comments. diff --git a/pypy/rlib/objectmodel.py b/pypy/rlib/objectmodel.py --- a/pypy/rlib/objectmodel.py +++ b/pypy/rlib/ob

[pypy-commit] pypy stm-gc: hg merge default

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52655:f43e80c81df4 Date: 2012-02-19 20:50 +0100 http://bitbucket.org/pypy/pypy/changeset/f43e80c81df4/ Log:hg merge default diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py b/pypy/jit/metainterp/optimizeopt/optimizer.py --- a/pypy/jit/m

[pypy-commit] pypy stm-gc: Bah, the problem was not about the 'traceback' argument.

2012-02-19 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52656:8c8b4968177b Date: 2012-02-19 21:03 +0100 http://bitbucket.org/pypy/pypy/changeset/8c8b4968177b/ Log:Bah, the problem was not about the 'traceback' argument. Proper fix. diff --git a/pypy/rlib/debug.py b/pypy/rlib/debug.py --- a/pypy/rlib/d

[pypy-commit] pypy default: Another cpyext stub: PyThread_start_new_thread

2012-02-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52658:a8321d3e8e9c Date: 2012-02-19 21:21 +0100 http://bitbucket.org/pypy/pypy/changeset/a8321d3e8e9c/ Log:Another cpyext stub: PyThread_start_new_thread diff --git a/pypy/module/cpyext/stubsactive.py b/pypy/module/cpyext/stubsactive.py ---

[pypy-commit] pypy default: Add a stub implementation for Py_AddPendingCall.

2012-02-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52657:fae75d81bc4f Date: 2012-02-19 21:13 +0100 http://bitbucket.org/pypy/pypy/changeset/fae75d81bc4f/ Log:Add a stub implementation for Py_AddPendingCall. It always returns an error for now... diff --git a/pypy/module/cpyext/stubs.py