[pypy-commit] pypy default: remove some dead imports, some PEP8, general cleanups

2013-02-16 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r61342:5d31d8fd913b Date: 2013-02-16 21:12 -0800 http://bitbucket.org/pypy/pypy/changeset/5d31d8fd913b/ Log:remove some dead imports, some PEP8, general cleanups diff --git a/rpython/rtyper/annlowlevel.py b/rpython/rtyper/annlowlevel.py --- a/rpython/r

[pypy-commit] pypy jitframe-on-heap: fix for call_assembler with floats. The offset calculation for the arguments to call_assembler in rewrite.py assumes a double-word aligned JITFRAME

2013-02-16 Thread bivab
Author: David Schneider Branch: jitframe-on-heap Changeset: r61341:017892f48c74 Date: 2013-02-17 02:59 +0100 http://bitbucket.org/pypy/pypy/changeset/017892f48c74/ Log:fix for call_assembler with floats. The offset calculation for the arguments to call_assembler in rewrite.py assumes

[pypy-commit] pypy jitframe-on-heap: refactor load, store and move helper methods.

2013-02-16 Thread bivab
Author: David Schneider Branch: jitframe-on-heap Changeset: r61340:413242473067 Date: 2013-02-17 02:56 +0100 http://bitbucket.org/pypy/pypy/changeset/413242473067/ Log:refactor load, store and move helper methods. Use imm offsets for VLDR and VSTR if possible diff --git a/rpython/ji

[pypy-commit] pypy default: try to fix test_rarithmetic again, this time on 64bit

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61339:e589c0ef83d7 Date: 2013-02-16 19:50 -0500 http://bitbucket.org/pypy/pypy/changeset/e589c0ef83d7/ Log:try to fix test_rarithmetic again, this time on 64bit diff --git a/rpython/rlib/test/test_rarithmetic.py b/rpython/rlib/test/test_rarithmetic.

[pypy-commit] pypy jitframe-on-heap: disable the debug to have less assembler to read

2013-02-16 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r61338:4c8a7712012c Date: 2013-02-17 00:43 +0200 http://bitbucket.org/pypy/pypy/changeset/4c8a7712012c/ Log:disable the debug to have less assembler to read diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend

[pypy-commit] pypy py3k: update sys.flags: add quiet, remove others

2013-02-16 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r61337:60025b983898 Date: 2013-02-16 14:38 -0800 http://bitbucket.org/pypy/pypy/changeset/60025b983898/ Log:update sys.flags: add quiet, remove others diff --git a/lib_pypy/_pypy_interact.py b/lib_pypy/_pypy_interact.py --- a/lib_pypy/_pypy_inter

[pypy-commit] pypy jitframe-on-heap: disable debug when we're translated

2013-02-16 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r61336:b41f1cbf3d8f Date: 2013-02-16 23:35 +0200 http://bitbucket.org/pypy/pypy/changeset/b41f1cbf3d8f/ Log:disable debug when we're translated diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assemble

[pypy-commit] pypy py3k: 2to3, fix fix fix

2013-02-16 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r61335:2664c3cf8d21 Date: 2013-02-16 13:17 -0800 http://bitbucket.org/pypy/pypy/changeset/2664c3cf8d21/ Log:2to3, fix fix fix diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py --- a/pypy/interpreter/app_main.py +++ b/pypy/i

[pypy-commit] pypy default: fix thread+fork+signals after _signalsenabled dict removal

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61334:6bf80dae95f7 Date: 2013-02-16 16:19 -0500 http://bitbucket.org/pypy/pypy/changeset/6bf80dae95f7/ Log:fix thread+fork+signals after _signalsenabled dict removal diff --git a/pypy/module/thread/threadlocals.py b/pypy/module/thread/threadlocals.p

[pypy-commit] pypy default: fix the test: this now raises a thread.error

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61333:b53715e21d4d Date: 2013-02-16 16:09 -0500 http://bitbucket.org/pypy/pypy/changeset/b53715e21d4d/ Log:fix the test: this now raises a thread.error diff --git a/pypy/module/__pypy__/test/test_signal.py b/pypy/module/__pypy__/test/test_signal.py

[pypy-commit] pypy default: make this test failure more obvious

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61332:b5e96acf8bd1 Date: 2013-02-16 05:39 -0500 http://bitbucket.org/pypy/pypy/changeset/b5e96acf8bd1/ Log:make this test failure more obvious diff --git a/pypy/module/test_lib_pypy/numpypy/test_numpy.py b/pypy/module/test_lib_pypy/numpypy/test_nump

[pypy-commit] pypy jitframe-on-heap: cleanup

2013-02-16 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r61331:c56108e2bdc3 Date: 2013-02-16 23:11 +0200 http://bitbucket.org/pypy/pypy/changeset/c56108e2bdc3/ Log:cleanup diff --git a/rpython/jit/backend/arm/opassembler.py b/rpython/jit/backend/arm/opassembler.py --- a/rpython/jit/b

[pypy-commit] pypy default: merge

2013-02-16 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r61330:36e9ac53a32b Date: 2013-02-16 21:46 +0100 http://bitbucket.org/pypy/pypy/changeset/36e9ac53a32b/ Log:merge diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py --- a/pypy/interpreter/pycode.py +++ b/pypy/interpreter/pycode

[pypy-commit] pypy default: fix

2013-02-16 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r61329:9c21a81579d9 Date: 2013-02-16 11:09 + http://bitbucket.org/pypy/pypy/changeset/9c21a81579d9/ Log:fix diff --git a/rpython/rlib/test/test_rarithmetic.py b/rpython/rlib/test/test_rarithmetic.py --- a/rpython/rlib/test/test_rarithmetic.

[pypy-commit] pypy default: (alex, arigo) Make sure this value is immutable, otherwise traces are suboptimal

2013-02-16 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r61328:f8fe57996da9 Date: 2013-02-16 10:48 -0800 http://bitbucket.org/pypy/pypy/changeset/f8fe57996da9/ Log:(alex, arigo) Make sure this value is immutable, otherwise traces are suboptimal diff --git a/pypy/interpreter/pycode.py b/pypy/interpre

[pypy-commit] pypy stm-thread-2: hg merge default

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61327:65ec96e15463 Date: 2013-02-16 17:34 +0100 http://bitbucket.org/pypy/pypy/changeset/65ec96e15463/ Log:hg merge default diff --git a/pypy/interpreter/miscutils.py b/pypy/interpreter/miscutils.py --- a/pypy/interpreter/miscutils.py +++ b

[pypy-commit] pypy default: Kill the _signalsenabled dictionary. Replace it by a value directly

2013-02-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r61326:5f7c2b2fcddd Date: 2013-02-16 17:33 +0100 http://bitbucket.org/pypy/pypy/changeset/5f7c2b2fcddd/ Log:Kill the _signalsenabled dictionary. Replace it by a value directly on the ExecutionContext. This avoids stm issues. diff --git a/pypy/mo

[pypy-commit] pypy stm-thread-2: Use __pypy__.thread.signals_enabled here.

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61325:92cea4991f95 Date: 2013-02-16 16:14 +0100 http://bitbucket.org/pypy/pypy/changeset/92cea4991f95/ Log:Use __pypy__.thread.signals_enabled here. diff --git a/lib_pypy/transaction.py b/lib_pypy/transaction.py --- a/lib_pypy/transaction.p

[pypy-commit] pypy stm-thread-2: Kill the section about signals.

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61324:a821fcfdb066 Date: 2013-02-16 16:14 +0100 http://bitbucket.org/pypy/pypy/changeset/a821fcfdb066/ Log:Kill the section about signals. diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -3,32 +3,6 @@ --

[pypy-commit] pypy stm-thread-2: Needs a become_inevitable()

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61323:d3c03a277e35 Date: 2013-02-16 16:09 +0100 http://bitbucket.org/pypy/pypy/changeset/d3c03a277e35/ Log:Needs a become_inevitable() diff --git a/pypy/module/signal/stmactionflag.py b/pypy/module/signal/stmactionflag.py --- a/pypy/module

[pypy-commit] pypy stm-thread-2: Argh. Disable this cache if we are running with stm.

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61322:b692761b4013 Date: 2013-02-16 15:58 +0100 http://bitbucket.org/pypy/pypy/changeset/b692761b4013/ Log:Argh. Disable this cache if we are running with stm. diff --git a/pypy/module/thread/os_local.py b/pypy/module/thread/os_local.py ---

[pypy-commit] pypy stm-thread-2: Probably fix stm_PtrEq, to never cause transaction aborts.

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61321:effc55eb6a11 Date: 2013-02-16 15:43 +0100 http://bitbucket.org/pypy/pypy/changeset/effc55eb6a11/ Log:Probably fix stm_PtrEq, to never cause transaction aborts. diff --git a/rpython/translator/stm/src_stm/et.c b/rpython/translator/stm

[pypy-commit] pypy stm-thread-2: hg merge default

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61317:8eedaf9d0459 Date: 2013-02-16 11:17 +0100 http://bitbucket.org/pypy/pypy/changeset/8eedaf9d0459/ Log:hg merge default diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc

[pypy-commit] pypy default: merge heads

2013-02-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r61320:95b58361ccf1 Date: 2013-02-16 12:19 +0100 http://bitbucket.org/pypy/pypy/changeset/95b58361ccf1/ Log:merge heads diff --git a/pypy/interpreter/miscutils.py b/pypy/interpreter/miscutils.py --- a/pypy/interpreter/miscutils.py +++ b/pypy/interpreter

[pypy-commit] pypy default: Don't name the SignalActionFlag explicitly here.

2013-02-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r61316:e7bbbe5d09ce Date: 2013-02-16 11:15 +0100 http://bitbucket.org/pypy/pypy/changeset/e7bbbe5d09ce/ Log:Don't name the SignalActionFlag explicitly here. diff --git a/pypy/module/signal/interp_signal.py b/pypy/module/signal/interp_signal.py --- a/py

[pypy-commit] pypy stm-thread-2: Fix

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61319:f7cc11bdaed8 Date: 2013-02-16 11:51 +0100 http://bitbucket.org/pypy/pypy/changeset/f7cc11bdaed8/ Log:Fix diff --git a/pypy/module/signal/stmactionflag.py b/pypy/module/signal/stmactionflag.py --- a/pypy/module/signal/stmactionflag.py

[pypy-commit] pypy stm-thread-2: Untested so far: attempt to fix signals for stm

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61318:1bf6c8d6fe7b Date: 2013-02-16 11:35 +0100 http://bitbucket.org/pypy/pypy/changeset/1bf6c8d6fe7b/ Log:Untested so far: attempt to fix signals for stm diff --git a/pypy/module/signal/__init__.py b/pypy/module/signal/__init__.py --- a/py

[pypy-commit] pypy jitframe-on-heap: merge

2013-02-16 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r61315:3cab31c2fdbd Date: 2013-02-16 12:56 +0200 http://bitbucket.org/pypy/pypy/changeset/3cab31c2fdbd/ Log:merge diff --git a/rpython/jit/backend/arm/opassembler.py b/rpython/jit/backend/arm/opassembler.py --- a/rpython/jit/bac

[pypy-commit] pypy jitframe-on-heap: make viewcode here support ARM

2013-02-16 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r61314:ea07028f1133 Date: 2013-02-16 12:21 +0200 http://bitbucket.org/pypy/pypy/changeset/ea07028f1133/ Log:make viewcode here support ARM diff --git a/rpython/jit/backend/x86/tool/viewcode.py b/rpython/jit/backend/x86/tool/view

[pypy-commit] pypy stm-thread-2: Fix this import.

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61313:e1fb39f86281 Date: 2013-02-16 10:55 +0100 http://bitbucket.org/pypy/pypy/changeset/e1fb39f86281/ Log:Fix this import. diff --git a/lib_pypy/transaction.py b/lib_pypy/transaction.py --- a/lib_pypy/transaction.py +++ b/lib_pypy/transact

[pypy-commit] pypy stm-thread-2: Move thread.atomic to __pypy__.thread.atomic.

2013-02-16 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r61312:43ffd21dc40e Date: 2013-02-16 10:54 +0100 http://bitbucket.org/pypy/pypy/changeset/43ffd21dc40e/ Log:Move thread.atomic to __pypy__.thread.atomic. diff --git a/pypy/module/__pypy__/__init__.py b/pypy/module/__pypy__/__init__.py --- a/

[pypy-commit] pypy default: wrap the exception in signals_exit

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61311:46b70943f54b Date: 2013-02-16 04:28 -0500 http://bitbucket.org/pypy/pypy/changeset/46b70943f54b/ Log:wrap the exception in signals_exit diff --git a/pypy/interpreter/miscutils.py b/pypy/interpreter/miscutils.py --- a/pypy/interpreter/miscutils.

[pypy-commit] pypy default: mark these unroll safe also

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61310:06d109391705 Date: 2013-02-16 04:28 -0500 http://bitbucket.org/pypy/pypy/changeset/06d109391705/ Log:mark these unroll safe also diff --git a/rpython/rlib/rstruct/ieee.py b/rpython/rlib/rstruct/ieee.py --- a/rpython/rlib/rstruct/ieee.py +++ b/r

[pypy-commit] pypy default: try to clean up more on fork

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61309:8f52d162f0ee Date: 2013-02-16 04:27 -0500 http://bitbucket.org/pypy/pypy/changeset/8f52d162f0ee/ Log:try to clean up more on fork diff --git a/pypy/module/thread/threadlocals.py b/pypy/module/thread/threadlocals.py --- a/pypy/module/thread/thr

[pypy-commit] pypy default: Update to cffi/70927696eb9c

2013-02-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r61308:c44d9205dbb4 Date: 2013-02-16 10:29 +0100 http://bitbucket.org/pypy/pypy/changeset/c44d9205dbb4/ Log:Update to cffi/70927696eb9c diff --git a/pypy/module/_cffi_backend/newtype.py b/pypy/module/_cffi_backend/newtype.py --- a/pypy/module/_cffi_bac

[pypy-commit] cffi default: Moving the determination of the base integer type of an enum

2013-02-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r1160:70927696eb9c Date: 2013-02-16 10:17 +0100 http://bitbucket.org/cffi/cffi/changeset/70927696eb9c/ Log:Moving the determination of the base integer type of an enum out of C code, into the 'cffi' package. This is work in progress; it s

[pypy-commit] pypy default: clean up the thread's signals enabled count on thread exit

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61307:0fb9480d9d6d Date: 2013-02-16 03:16 -0500 http://bitbucket.org/pypy/pypy/changeset/0fb9480d9d6d/ Log:clean up the thread's signals enabled count on thread exit diff --git a/pypy/module/thread/threadlocals.py b/pypy/module/thread/threadlocals.p

[pypy-commit] pypy default: prevent signals from being disabled twice

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61306:04926eb3ab15 Date: 2013-02-16 03:15 -0500 http://bitbucket.org/pypy/pypy/changeset/04926eb3ab15/ Log:prevent signals from being disabled twice diff --git a/pypy/module/__pypy__/test/test_signal.py b/pypy/module/__pypy__/test/test_signal.py ---

[pypy-commit] pypy default: fix the failing test by still keeping track of mainthreadident so we know if

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61305:2fe373e0724e Date: 2013-02-16 02:44 -0500 http://bitbucket.org/pypy/pypy/changeset/2fe373e0724e/ Log:fix the failing test by still keeping track of mainthreadident so we know if the forking thread should get an enable_signals point for

[pypy-commit] pypy default: a failing test for the signals_enabled context manager's fork logic

2013-02-16 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r61304:320c4790eae6 Date: 2013-02-16 02:26 -0500 http://bitbucket.org/pypy/pypy/changeset/320c4790eae6/ Log:a failing test for the signals_enabled context manager's fork logic diff --git a/pypy/module/__pypy__/test/test_signal.py b/pypy/module/__pypy