[pypy-commit] pypy speedup-list-comprehension: removing this was accidental

2012-02-23 Thread fijal
Author: Maciej Fijalkowski Branch: speedup-list-comprehension Changeset: r52831:67935212c8c2 Date: 2012-02-23 20:21 -0700 http://bitbucket.org/pypy/pypy/changeset/67935212c8c2/ Log:removing this was accidental diff --git a/pypy/rpython/lltypesystem/rlist.py b/pypy/rpython/lltypesystem/rlist

[pypy-commit] pypy speedup-list-comprehension: merge default

2012-02-23 Thread fijal
Author: Maciej Fijalkowski Branch: speedup-list-comprehension Changeset: r52830:5b39d23e1c0e Date: 2012-02-23 20:10 -0700 http://bitbucket.org/pypy/pypy/changeset/5b39d23e1c0e/ Log:merge default diff --git a/pypy/module/_io/__init__.py b/pypy/module/_io/__init__.py --- a/pypy/module/_io/__in

[pypy-commit] pypy speedup-list-comprehension: remove confusing oopspecs

2012-02-23 Thread fijal
Author: Maciej Fijalkowski Branch: speedup-list-comprehension Changeset: r52829:19b8e4c5fe4f Date: 2012-02-23 20:05 -0700 http://bitbucket.org/pypy/pypy/changeset/19b8e4c5fe4f/ Log:remove confusing oopspecs diff --git a/pypy/rpython/lltypesystem/rlist.py b/pypy/rpython/lltypesystem/rlist.py

[pypy-commit] pypy speedup-list-comprehension: redo the reasonable part

2012-02-23 Thread fijal
Author: Maciej Fijalkowski Branch: speedup-list-comprehension Changeset: r52828:45a68e50a262 Date: 2012-02-23 19:34 -0700 http://bitbucket.org/pypy/pypy/changeset/45a68e50a262/ Log:redo the reasonable part diff --git a/pypy/interpreter/astcompiler/codegen.py b/pypy/interpreter/astcompiler/c

[pypy-commit] pypy speedup-list-comprehension: Backed out changeset b3406c3e63a4

2012-02-23 Thread fijal
Author: Maciej Fijalkowski Branch: speedup-list-comprehension Changeset: r52826:baf60af5868e Date: 2012-02-23 19:30 -0700 http://bitbucket.org/pypy/pypy/changeset/baf60af5868e/ Log:Backed out changeset b3406c3e63a4 diff --git a/pypy/interpreter/astcompiler/codegen.py b/pypy/interpreter/astc

[pypy-commit] pypy speedup-list-comprehension: backout. not worth having a bytecode without arg

2012-02-23 Thread fijal
Author: Maciej Fijalkowski Branch: speedup-list-comprehension Changeset: r52827:febd5ba50dab Date: 2012-02-23 19:31 -0700 http://bitbucket.org/pypy/pypy/changeset/febd5ba50dab/ Log:backout. not worth having a bytecode without arg diff --git a/lib-python/modified-2.7/opcode.py b/lib-python/m

[pypy-commit] pypy speedup-list-comprehension: disable the code dump. A bit of progress when and how we emit the correct

2012-02-23 Thread fijal
Author: Maciej Fijalkowski Branch: speedup-list-comprehension Changeset: r52825:b3406c3e63a4 Date: 2012-02-23 19:20 -0700 http://bitbucket.org/pypy/pypy/changeset/b3406c3e63a4/ Log:disable the code dump. A bit of progress when and how we emit the correct opcode. diff --git a/pypy/int

[pypy-commit] pypy speedup-list-comprehension: bump the pycode number and the sad case of renaming opcodes

2012-02-23 Thread fijal
Author: Maciej Fijalkowski Branch: speedup-list-comprehension Changeset: r52824:287a83309e74 Date: 2012-02-23 18:35 -0700 http://bitbucket.org/pypy/pypy/changeset/287a83309e74/ Log:bump the pycode number and the sad case of renaming opcodes diff --git a/lib-python/modified-2.7/opcode.py b/l

[pypy-commit] pypy default: Translation fixes

2012-02-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52823:f50a42098ae3 Date: 2012-02-23 16:02 +0100 http://bitbucket.org/pypy/pypy/changeset/f50a42098ae3/ Log:Translation fixes diff --git a/pypy/module/cpyext/eval.py b/pypy/module/cpyext/eval.py --- a/pypy/module/cpyext/eval.py +++ b/pypy/modu

[pypy-commit] pypy default: cpyext: add PyEval_EvalCode()

2012-02-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52820:33f342e61049 Date: 2012-02-23 01:05 +0100 http://bitbucket.org/pypy/pypy/changeset/33f342e61049/ Log:cpyext: add PyEval_EvalCode() diff --git a/pypy/module/cpyext/eval.py b/pypy/module/cpyext/eval.py --- a/pypy/module/cpyext/eval.py +++

[pypy-commit] pypy default: cpyext: add PyCode_Check(), PyCode_GetNumFree()

2012-02-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52819:6cc0977ede36 Date: 2012-02-23 00:50 +0100 http://bitbucket.org/pypy/pypy/changeset/6cc0977ede36/ Log:cpyext: add PyCode_Check(), PyCode_GetNumFree() diff --git a/pypy/module/cpyext/funcobject.py b/pypy/module/cpyext/funcobject.py --- a/

[pypy-commit] pypy default: cpyext: Implement PyEval_MergeCompilerFlags()

2012-02-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52822:116c15429aa4 Date: 2012-02-23 02:05 +0100 http://bitbucket.org/pypy/pypy/changeset/116c15429aa4/ Log:cpyext: Implement PyEval_MergeCompilerFlags() diff --git a/pypy/module/cpyext/eval.py b/pypy/module/cpyext/eval.py --- a/pypy/module/cp

[pypy-commit] pypy default: cpyext: implement PyRun_StringFlags()

2012-02-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52821:91960d426061 Date: 2012-02-23 01:37 +0100 http://bitbucket.org/pypy/pypy/changeset/91960d426061/ Log:cpyext: implement PyRun_StringFlags() diff --git a/pypy/module/cpyext/eval.py b/pypy/module/cpyext/eval.py --- a/pypy/module/cpyext/eva

[pypy-commit] pypy default: cpyext: implement remaining Py_UNICODE_IS* functions

2012-02-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52818:4f01039bfe04 Date: 2012-02-23 00:38 +0100 http://bitbucket.org/pypy/pypy/changeset/4f01039bfe04/ Log:cpyext: implement remaining Py_UNICODE_IS* functions diff --git a/pypy/module/cpyext/stubs.py b/pypy/module/cpyext/stubs.py --- a/pypy/

[pypy-commit] pypy default: cpyext: add PyUnicode_GetMax()

2012-02-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52817:16b015b252c3 Date: 2012-02-23 00:25 +0100 http://bitbucket.org/pypy/pypy/changeset/16b015b252c3/ Log:cpyext: add PyUnicode_GetMax() diff --git a/pypy/module/cpyext/unicodeobject.py b/pypy/module/cpyext/unicodeobject.py --- a/pypy/modul

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

2012-02-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52816:7bf5725d49fd Date: 2012-02-23 00:20 +0100 http://bitbucket.org/pypy/pypy/changeset/7bf5725d49fd/ Log:cpyext: add PyFrozenSet_Type diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/p

[pypy-commit] pypy default: cpyext: implement PyUnicode_Tailmatch

2012-02-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52815:db6f7731ed5f Date: 2012-02-23 00:19 +0100 http://bitbucket.org/pypy/pypy/changeset/db6f7731ed5f/ Log:cpyext: implement PyUnicode_Tailmatch diff --git a/pypy/module/cpyext/stubs.py b/pypy/module/cpyext/stubs.py --- a/pypy/module/cpyext/s

[pypy-commit] pypy default: cpyext: add pymath.h and a definition of Py_HUGE_VAL.

2012-02-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52814:13ea80daa6d4 Date: 2012-02-23 00:07 +0100 http://bitbucket.org/pypy/pypy/changeset/13ea80daa6d4/ Log:cpyext: add pymath.h and a definition of Py_HUGE_VAL. diff --git a/pypy/module/cpyext/include/Python.h b/pypy/module/cpyext/include/Py

[pypy-commit] pypy default: Fix.

2012-02-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r52812:b8aed975987f Date: 2012-02-23 18:30 +0100 http://bitbucket.org/pypy/pypy/changeset/b8aed975987f/ Log:Fix. diff --git a/pypy/rlib/debug.py b/pypy/rlib/debug.py --- a/pypy/rlib/debug.py +++ b/pypy/rlib/debug.py @@ -26,6 +26,7 @@ llop.debug_pri

[pypy-commit] pypy default: Fix this test

2012-02-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r52813:55fd1d7090fb Date: 2012-02-23 18:32 +0100 http://bitbucket.org/pypy/pypy/changeset/55fd1d7090fb/ Log:Fix this test diff --git a/pypy/translator/sandbox/test/test_sandbox.py b/pypy/translator/sandbox/test/test_sandbox.py --- a/pypy/translator/san

[pypy-commit] pypy default: Fixes. Sorry.

2012-02-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r52811:9ba62b41a086 Date: 2012-02-23 18:28 +0100 http://bitbucket.org/pypy/pypy/changeset/9ba62b41a086/ Log:Fixes. Sorry. diff --git a/pypy/jit/backend/x86/test/test_ztranslation.py b/pypy/jit/backend/x86/test/test_ztranslation.py --- a/pypy/jit/backen

[pypy-commit] pypy speedup-list-comprehension: oops, a missing case

2012-02-23 Thread fijal
Author: Maciej Fijalkowski Branch: speedup-list-comprehension Changeset: r52810:de49996d2864 Date: 2012-02-23 08:40 -0700 http://bitbucket.org/pypy/pypy/changeset/de49996d2864/ Log:oops, a missing case diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/

[pypy-commit] pypy speedup-list-comprehension: store sizehint on listobjects

2012-02-23 Thread fijal
Author: Maciej Fijalkowski Branch: speedup-list-comprehension Changeset: r52809:a3b63091cb8c Date: 2012-02-23 08:37 -0700 http://bitbucket.org/pypy/pypy/changeset/a3b63091cb8c/ Log:store sizehint on listobjects diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/py

[pypy-commit] pypy default: merge heads

2012-02-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r52808:599b70ca76ec Date: 2012-02-23 16:26 +0100 http://bitbucket.org/pypy/pypy/changeset/599b70ca76ec/ Log:merge heads diff --git a/pypy/module/_io/__init__.py b/pypy/module/_io/__init__.py --- a/pypy/module/_io/__init__.py +++ b/pypy/module/_io/__in

[pypy-commit] pypy default: make sure to flush all _io streams when we exit the interpreter

2012-02-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r52806:d4dee87e47cc Date: 2012-02-23 12:06 +0100 http://bitbucket.org/pypy/pypy/changeset/d4dee87e47cc/ Log:make sure to flush all _io streams when we exit the interpreter diff --git a/pypy/module/_io/__init__.py b/pypy/module/_io/__init__.py --- a/py

[pypy-commit] pypy default: refactor the autoflush of streams: we cannot keep a set of w_iobase instances, else they would be never collected by the GC. Instead, we keep a set of 'holders', which have

2012-02-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r52807:4867e38be6fb Date: 2012-02-23 16:11 +0100 http://bitbucket.org/pypy/pypy/changeset/4867e38be6fb/ Log:refactor the autoflush of streams: we cannot keep a set of w_iobase instances, else they would be never collected by the GC. Instead, we

[pypy-commit] pypy stm-gc: Disable the signal module with stm for now.

2012-02-23 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52805:5c85b1a8c846 Date: 2012-02-23 15:00 +0100 http://bitbucket.org/pypy/pypy/changeset/5c85b1a8c846/ Log:Disable the signal module with stm for now. diff --git a/pypy/translator/goal/targetpypystandalone.py b/pypy/translator/goal/targetpypysta

[pypy-commit] pypy stm-gc: Change what is printed. Now even non-debug builds can have

2012-02-23 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52803:a70cb92dc2e7 Date: 2012-02-23 14:58 +0100 http://bitbucket.org/pypy/pypy/changeset/a70cb92dc2e7/ Log:Change what is printed. Now even non-debug builds can have logged the operation that caused the transaction to become inevitable. d

[pypy-commit] pypy stm-gc: merge heads

2012-02-23 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52804:5501a1e8eba4 Date: 2012-02-23 14:59 +0100 http://bitbucket.org/pypy/pypy/changeset/5501a1e8eba4/ Log:merge heads diff --git a/pypy/translator/stm/localtracker.py b/pypy/translator/stm/localtracker.py --- a/pypy/translator/stm/localtracker.

[pypy-commit] pypy stm-gc: Ignore calls to collect() for now

2012-02-23 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52802:7326ccf9874d Date: 2012-02-23 14:00 +0100 http://bitbucket.org/pypy/pypy/changeset/7326ccf9874d/ Log:Ignore calls to collect() for now diff --git a/pypy/rpython/memory/gc/stmgc.py b/pypy/rpython/memory/gc/stmgc.py --- a/pypy/rpython/memory/

[pypy-commit] pypy default: Test and fix: skip that test on 64-bit.

2012-02-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r52801:f3469e6103b2 Date: 2012-02-23 14:42 +0100 http://bitbucket.org/pypy/pypy/changeset/f3469e6103b2/ Log:Test and fix: skip that test on 64-bit. diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py --- a/pypy/rlib/jit.py +++ b/pypy/rlib/jit.py @@ -469,14

[pypy-commit] pypy stm-gc: Unifies the two detections of 'Constant' in this function.

2012-02-23 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52800:f4469915accd Date: 2012-02-23 14:17 +0100 http://bitbucket.org/pypy/pypy/changeset/f4469915accd/ Log:Unifies the two detections of 'Constant' in this function. diff --git a/pypy/translator/stm/localtracker.py b/pypy/translator/stm/localtra

[pypy-commit] pypy stm-gc: Fix pointer comparison between two non-NULL objects.

2012-02-23 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52799:077ddb94d35b Date: 2012-02-23 13:57 +0100 http://bitbucket.org/pypy/pypy/changeset/077ddb94d35b/ Log:Fix pointer comparison between two non-NULL objects. diff --git a/pypy/rpython/lltypesystem/lloperation.py b/pypy/rpython/lltypesystem/llo

[pypy-commit] pypy stm-gc: Add comment

2012-02-23 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52797:8b5bdb3aeda9 Date: 2012-02-23 13:18 +0100 http://bitbucket.org/pypy/pypy/changeset/8b5bdb3aeda9/ Log:Add comment diff --git a/pypy/translator/stm/test/test_transform.py b/pypy/translator/stm/test/test_transform.py --- a/pypy/translator/stm

[pypy-commit] pypy stm-gc: Add a failing test

2012-02-23 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52798:64b23c237c68 Date: 2012-02-23 13:18 +0100 http://bitbucket.org/pypy/pypy/changeset/64b23c237c68/ Log:Add a failing test diff --git a/pypy/translator/stm/test/targetdemo.py b/pypy/translator/stm/test/targetdemo.py --- a/pypy/translator/stm/

[pypy-commit] pypy stm-gc: Auto-enable the 'transaction' module if --stm is specified.

2012-02-23 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52796:5c8abeef1057 Date: 2012-02-23 11:30 +0100 http://bitbucket.org/pypy/pypy/changeset/5c8abeef1057/ Log:Auto-enable the 'transaction' module if --stm is specified. diff --git a/pypy/translator/goal/targetpypystandalone.py b/pypy/translator/go

[pypy-commit] pypy stm-gc: Trying out a version of the RTyper that runs every block in its own

2012-02-23 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r52795:df24c4bac7bc Date: 2012-02-23 11:20 +0100 http://bitbucket.org/pypy/pypy/changeset/df24c4bac7bc/ Log:Trying out a version of the RTyper that runs every block in its own transaction. diff --git a/pypy/rpython/rtyper.py b/pypy/rpython

[pypy-commit] pypy ppc-jit-backend: (edelsohn, bivab) fix jump conditions in malloc_cond and cond_call_gc_wb to jump on equality

2012-02-23 Thread bivab
Author: David Schneider Branch: ppc-jit-backend Changeset: r52794:6af6f2607858 Date: 2012-02-23 01:45 -0800 http://bitbucket.org/pypy/pypy/changeset/6af6f2607858/ Log:(edelsohn, bivab) fix jump conditions in malloc_cond and cond_call_gc_wb to jump on equality diff --git a/pypy/jit/ba

[pypy-commit] pypy ppc-jit-backend: Add missing get/set interiorfield_raw operations

2012-02-23 Thread bivab
Author: David Schneider Branch: ppc-jit-backend Changeset: r52793:d2db5350e2aa Date: 2012-02-23 01:44 -0800 http://bitbucket.org/pypy/pypy/changeset/d2db5350e2aa/ Log:Add missing get/set interiorfield_raw operations diff --git a/pypy/jit/backend/ppc/opassembler.py b/pypy/jit/backend/ppc/opa