[pypy-commit] pypy jit-optimizeopt-cleanups: translation fix

2011-09-27 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47651:652aecc043f4 Date: 2011-09-28 08:30 +0200 http://bitbucket.org/pypy/pypy/changeset/652aecc043f4/ Log:translation fix diff --git a/pypy/jit/metainterp/optimizeopt/virtualize.py b/pypy/jit/metainterp/optimizeopt/virtualize.

[pypy-commit] pypy jit-optimizeopt-cleanups: fix test

2011-09-27 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47650:cdd9ddbc5dc4 Date: 2011-09-28 08:28 +0200 http://bitbucket.org/pypy/pypy/changeset/cdd9ddbc5dc4/ Log:fix test diff --git a/pypy/jit/metainterp/test/test_resume.py b/pypy/jit/metainterp/test/test_resume.py --- a/pypy/jit/m

[pypy-commit] pypy jit-optimizeopt-cleanups: Make values forced at loop boundaries be emitted at the OptPure stage when unrolling

2011-09-27 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47649:52f393f9ced1 Date: 2011-09-28 08:02 +0200 http://bitbucket.org/pypy/pypy/changeset/52f393f9ced1/ Log:Make values forced at loop boundaries be emitted at the OptPure stage when unrolling diff --git a/pypy/jit/metain

[pypy-commit] pypy default: put in the same error checking CPython has.

2011-09-27 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47648:bd00e4636a74 Date: 2011-09-27 19:50 -0400 http://bitbucket.org/pypy/pypy/changeset/bd00e4636a74/ Log:put in the same error checking CPython has. diff --git a/pypy/module/_multiprocessing/interp_connection.py b/pypy/module/_multiprocessing/inter

[pypy-commit] pypy default: does not have to be an integer

2011-09-27 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r47646:0bc632abd204 Date: 2011-09-27 18:46 -0300 http://bitbucket.org/pypy/pypy/changeset/0bc632abd204/ Log:does not have to be an integer diff --git a/pypy/rlib/ropenssl.py b/pypy/rlib/ropenssl.py --- a/pypy/rlib/ropenssl.py +++ b/pypy/rlib/rop

[pypy-commit] pypy default: Implement _multiprocessing.SemLock._after_fork().

2011-09-27 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r47645:dbe24f2e28bc Date: 2011-09-27 23:24 +0200 http://bitbucket.org/pypy/pypy/changeset/dbe24f2e28bc/ Log:Implement _multiprocessing.SemLock._after_fork(). will it finally prevent test_multiprocessing from blocking? diff --git a/pypy

[pypy-commit] pypy kill-unary-multimethods: merging functions leaves unnecessary merges, fixing

2011-09-27 Thread fijal
Author: Maciej Fijalkowski Branch: kill-unary-multimethods Changeset: r47644:f251eb0f4322 Date: 2011-09-27 18:24 -0300 http://bitbucket.org/pypy/pypy/changeset/f251eb0f4322/ Log:merging functions leaves unnecessary merges, fixing diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpret

[pypy-commit] pypy default: Fix a recursion issue in ll2ctypes, when a struct contains a substructure and a pointer to this substructure.

2011-09-27 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r47642:59a89b3bca04 Date: 2011-09-20 21:46 +0200 http://bitbucket.org/pypy/pypy/changeset/59a89b3bca04/ Log:Fix a recursion issue in ll2ctypes, when a struct contains a substructure and a pointer to this substructure. diff --git a/pypy

[pypy-commit] pypy default: Support PyHeapTypeObject in cpyext;

2011-09-27 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r47643:2017ff82bfd2 Date: 2011-09-21 00:19 +0200 http://bitbucket.org/pypy/pypy/changeset/2017ff82bfd2/ Log:Support PyHeapTypeObject in cpyext; Most pypy types now use this structure as well. diff --git a/pypy/module/cpyext/api.py b/py

[pypy-commit] pypy kill-unary-multimethods: fix a test

2011-09-27 Thread fijal
Author: Maciej Fijalkowski Branch: kill-unary-multimethods Changeset: r47641:60af74daa81d Date: 2011-09-27 18:05 -0300 http://bitbucket.org/pypy/pypy/changeset/60af74daa81d/ Log:fix a test diff --git a/pypy/module/pypyjit/test/test_policy.py b/pypy/module/pypyjit/test/test_policy.py --- a/p

[pypy-commit] pypy default: Remove the leftover references to AVR. Whoever manages to figure

2011-09-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r47640:141df9290774 Date: 2011-09-27 22:05 +0200 http://bitbucket.org/pypy/pypy/changeset/141df9290774/ Log:Remove the leftover references to AVR. Whoever manages to figure out what it was for without spending at least 15 minutes looking at

[pypy-commit] pypy separate-applevel-numpy: implement creating arrays with tuples as size arguments.

2011-09-27 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47639:a38ccdc30d81 Date: 2011-09-27 22:03 +0200 http://bitbucket.org/pypy/pypy/changeset/a38ccdc30d81/ Log:implement creating arrays with tuples as size arguments. diff --git a/pypy/module/_numpy/interp_numarray.py b/pypy/mod

[pypy-commit] pypy separate-applevel-numpy: implement numpy.bincount with tests

2011-09-27 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47638:88a4e8b8d916 Date: 2011-09-27 21:43 +0200 http://bitbucket.org/pypy/pypy/changeset/88a4e8b8d916/ Log:implement numpy.bincount with tests diff --git a/lib_pypy/numpy/__init__.py b/lib_pypy/numpy/__init__.py --- a/lib_pypy

[pypy-commit] pypy stm: stm_setfield.

2011-09-27 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47637:6baab137c312 Date: 2011-09-27 21:53 +0200 http://bitbucket.org/pypy/pypy/changeset/6baab137c312/ Log:stm_setfield. diff --git a/pypy/translator/stm/funcgen.py b/pypy/translator/stm/funcgen.py --- a/pypy/translator/stm/funcgen.py +++ b/pypy/tra

[pypy-commit] pypy stm: Support fields of various types, including smaller arithmetic types.

2011-09-27 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47636:a52e42745258 Date: 2011-09-27 21:26 +0200 http://bitbucket.org/pypy/pypy/changeset/a52e42745258/ Log:Support fields of various types, including smaller arithmetic types. diff --git a/pypy/translator/c/funcgen.py b/pypy/translator/c/funcgen.py

[pypy-commit] pypy jit-optimizeopt-cleanups: Convert the optimizer attribute of VirtualValue into an argument of force_box() this way the ops produced by forcing a virtual is emitted from the optimzie

2011-09-27 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47635:28e8a5accc4b Date: 2011-09-27 21:04 +0200 http://bitbucket.org/pypy/pypy/changeset/28e8a5accc4b/ Log:Convert the optimizer attribute of VirtualValue into an argument of force_box() this way the ops produced by forci

[pypy-commit] pypy jit-optimizeopt-cleanups: kill a few force_box

2011-09-27 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47634:056a161776d4 Date: 2011-09-27 19:42 +0200 http://bitbucket.org/pypy/pypy/changeset/056a161776d4/ Log:kill a few force_box diff --git a/pypy/jit/metainterp/optimizeopt/fficall.py b/pypy/jit/metainterp/optimizeopt/fficall.p

[pypy-commit] pypy jit-optimizeopt-cleanups: Make forced virtuals emit ops using OptVirtualize.emit_operation(). This makes the heap optimizer see those ops, but in the wrong order and everything beco

2011-09-27 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47633:0e021f10e9aa Date: 2011-09-27 19:32 +0200 http://bitbucket.org/pypy/pypy/changeset/0e021f10e9aa/ Log:Make forced virtuals emit ops using OptVirtualize.emit_operation(). This makes the heap optimizer see those ops, b

[pypy-commit] lang-io default: fix and pass second tests forwarding messages with arguments

2011-09-27 Thread bivab
Author: David Schneider Branch: Changeset: r50:3d6c3bdd9e8c Date: 2011-09-27 16:14 +0200 http://bitbucket.org/pypy/lang-io/changeset/3d6c3bdd9e8c/ Log:fix and pass second tests forwarding messages with arguments diff --git a/io/test/test_object.py b/io/test/test_object.py --- a/io/test/test

[pypy-commit] lang-io default: failing tests for message forwarding

2011-09-27 Thread bivab
Author: David Schneider Branch: Changeset: r48:666f9eb82450 Date: 2011-09-27 16:06 +0200 http://bitbucket.org/pypy/lang-io/changeset/666f9eb82450/ Log:failing tests for message forwarding diff --git a/io/test/test_object.py b/io/test/test_object.py --- a/io/test/test_object.py +++ b/io/test

[pypy-commit] lang-io default: pass first test for forwding a message without arguments

2011-09-27 Thread bivab
Author: David Schneider Branch: Changeset: r49:59c883c71c04 Date: 2011-09-27 16:06 +0200 http://bitbucket.org/pypy/lang-io/changeset/59c883c71c04/ Log:pass first test for forwding a message without arguments diff --git a/io/model.py b/io/model.py --- a/io/model.py +++ b/io/model.py @@ -239,

[pypy-commit] pypy list-strategies: fix test by not putting string into list (which eats its identity)

2011-09-27 Thread cfbolz
Author: Carl Friedrich Bolz Branch: list-strategies Changeset: r47632:3e0d01090056 Date: 2011-09-27 15:55 +0200 http://bitbucket.org/pypy/pypy/changeset/3e0d01090056/ Log:fix test by not putting string into list (which eats its identity) diff --git a/pypy/objspace/std/test/test_dictmultiobje

[pypy-commit] pypy list-strategies: fix two problems

2011-09-27 Thread cfbolz
Author: Carl Friedrich Bolz Branch: list-strategies Changeset: r47631:7a368ba313a3 Date: 2011-09-27 15:48 +0200 http://bitbucket.org/pypy/pypy/changeset/7a368ba313a3/ Log:fix two problems diff --git a/pypy/module/gc/test/test_referents.py b/pypy/module/gc/test/test_referents.py --- a/pypy/m

[pypy-commit] pypy list-strategies: make the test use the official interface, and not rely on identities of ints

2011-09-27 Thread cfbolz
Author: Carl Friedrich Bolz Branch: list-strategies Changeset: r47630:29982801800d Date: 2011-09-27 15:45 +0200 http://bitbucket.org/pypy/pypy/changeset/29982801800d/ Log:make the test use the official interface, and not rely on identities of ints diff --git a/pypy/interpreter/test/t

[pypy-commit] pypy list-strategies: these tests fail due to integer lists. use mutable objects (lists) here instead

2011-09-27 Thread cfbolz
Author: Carl Friedrich Bolz Branch: list-strategies Changeset: r47629:1ebebc4a00d2 Date: 2011-09-27 15:37 +0200 http://bitbucket.org/pypy/pypy/changeset/1ebebc4a00d2/ Log:these tests fail due to integer lists. use mutable objects (lists) here instead diff --git a/pypy/module/gc/test/

[pypy-commit] pypy stm: stm_setfield in genc.

2011-09-27 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47628:af9b4a254b39 Date: 2011-09-27 15:39 +0200 http://bitbucket.org/pypy/pypy/changeset/af9b4a254b39/ Log:stm_setfield in genc. diff --git a/pypy/rpython/lltypesystem/lloperation.py b/pypy/rpython/lltypesystem/lloperation.py --- a/pypy/rpython/llt

[pypy-commit] pypy stm: stm_getfield in genc.

2011-09-27 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47627:7812e44b10c5 Date: 2011-09-27 15:23 +0200 http://bitbucket.org/pypy/pypy/changeset/7812e44b10c5/ Log:stm_getfield in genc. diff --git a/pypy/translator/c/funcgen.py b/pypy/translator/c/funcgen.py --- a/pypy/translator/c/funcgen.py +++ b/pypy/t

[pypy-commit] pypy stm: stm_setfield.

2011-09-27 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47625:d0c0f88ba590 Date: 2011-09-27 14:47 +0200 http://bitbucket.org/pypy/pypy/changeset/d0c0f88ba590/ Log:stm_setfield. diff --git a/pypy/translator/stm/rstm.py b/pypy/translator/stm/rstm.py --- a/pypy/translator/stm/rstm.py +++ b/pypy/translator/s

[pypy-commit] pypy stm: The compiled tests work out of the box, but I would

2011-09-27 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47626:c5b1f9aa7294 Date: 2011-09-27 15:01 +0200 http://bitbucket.org/pypy/pypy/changeset/c5b1f9aa7294/ Log:The compiled tests work out of the box, but I would be happy to work a bit more and avoid that a single stm_getfield() gets turned into

[pypy-commit] pypy stm: Start the rstm module.

2011-09-27 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47624:8c1978605a34 Date: 2011-09-27 14:46 +0200 http://bitbucket.org/pypy/pypy/changeset/8c1978605a34/ Log:Start the rstm module. diff --git a/pypy/rpython/lltypesystem/lloperation.py b/pypy/rpython/lltypesystem/lloperation.py --- a/pypy/rpython/ll

[pypy-commit] pypy stm: Aborting works, even in fully untranslated py.tests.

2011-09-27 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47622:72c3dfe0e868 Date: 2011-09-27 14:17 +0200 http://bitbucket.org/pypy/pypy/changeset/72c3dfe0e868/ Log:Aborting works, even in fully untranslated py.tests. diff --git a/pypy/translator/stm/_rffi_stm.py b/pypy/translator/stm/_rffi_stm.py --- a/py

[pypy-commit] pypy stm: Progress.

2011-09-27 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47623:f9b9cf3cebc6 Date: 2011-09-27 14:24 +0200 http://bitbucket.org/pypy/pypy/changeset/f9b9cf3cebc6/ Log:Progress. diff --git a/pypy/translator/stm/_rffi_stm.py b/pypy/translator/stm/_rffi_stm.py --- a/pypy/translator/stm/_rffi_stm.py +++ b/pypy/t

[pypy-commit] pypy stm: Import from arigo/hack/stm/c.

2011-09-27 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47621:29beb9a43433 Date: 2011-09-27 13:28 +0200 http://bitbucket.org/pypy/pypy/changeset/29beb9a43433/ Log:Import from arigo/hack/stm/c. diff --git a/pypy/translator/stm/__init__.py b/pypy/translator/stm/__init__.py new file mode 100644 diff --git a

[pypy-commit] pypy ppc-jit-backend: Removed bug from gen_exit_code.

2011-09-27 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r47620:4a2ca991d1aa Date: 2011-09-27 11:32 +0200 http://bitbucket.org/pypy/pypy/changeset/4a2ca991d1aa/ Log:Removed bug from gen_exit_code. diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.