[pypy-commit] pypy stm-gc: Move these too.

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54611:b3728c83978e Date: 2012-04-21 14:49 +0200 http://bitbucket.org/pypy/pypy/changeset/b3728c83978e/ Log:Move these too. diff --git a/pypy/translator/stm/test/targetdemo.py b/pypy/translator/stm/test/targetdemo.py --- a/pypy/translator/stm/tes

[pypy-commit] pypy stm-gc: Start to refactor the RPython interface to be higher-level. This should

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54613:9290ce3f4d40 Date: 2012-04-22 12:16 +0200 http://bitbucket.org/pypy/pypy/changeset/9290ce3f4d40/ Log:Start to refactor the RPython interface to be higher-level. This should make it easier to call directly C code from the higher-level

[pypy-commit] pypy stm-gc: A failing test.

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54612:a9866b7ee8ed Date: 2012-04-21 16:09 +0200 http://bitbucket.org/pypy/pypy/changeset/a9866b7ee8ed/ Log:A failing test. diff --git a/pypy/translator/stm/test/test_ztranslated.py b/pypy/translator/stm/test/test_ztranslated.py --- a/pypy/transl

[pypy-commit] pypy default: add where to compile

2012-04-22 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r54614:ee17da202bea Date: 2012-04-22 12:31 +0200 http://bitbucket.org/pypy/pypy/changeset/ee17da202bea/ Log:add where to compile diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compile.py --- a/pypy/module/micronumpy/com

[pypy-commit] pypy default: a passing test

2012-04-22 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r54615:034ec45e7799 Date: 2012-04-22 12:56 +0200 http://bitbucket.org/pypy/pypy/changeset/034ec45e7799/ Log:a passing test diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py --- a/pypy/modul

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

2012-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54617:866e71a3a373 Date: 2012-04-19 22:33 +0200 http://bitbucket.org/pypy/pypy/changeset/866e71a3a373/ Log:cpyext: implement PyList_GetSlice diff --git a/pypy/module/cpyext/listobject.py b/pypy/module/cpyext/listobject.py --- a/pypy/module/cp

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

2012-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54618:2829e1f34ab8 Date: 2012-04-21 22:18 +0200 http://bitbucket.org/pypy/pypy/changeset/2829e1f34ab8/ Log:cpyext: add PyObject_HashNotImplemented diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/object.py --- a/pypy/module/cpye

[pypy-commit] pypy default: cpyext: implement wrap_inquirypred() to respect the __nonzero__ slot.

2012-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54621:4e5b2e1949ae Date: 2012-04-22 18:16 +0200 http://bitbucket.org/pypy/pypy/changeset/4e5b2e1949ae/ Log:cpyext: implement wrap_inquirypred() to respect the __nonzero__ slot. diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module

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

2012-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54619:696f2ce3a963 Date: 2012-04-22 17:27 +0200 http://bitbucket.org/pypy/pypy/changeset/696f2ce3a963/ Log:cpyext: add PyString_AsDecodedObject diff --git a/pypy/module/cpyext/stringobject.py b/pypy/module/cpyext/stringobject.py --- a/pypy/m

[pypy-commit] pypy default: cleanup stubs.py

2012-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54620:6ed8c6cc3d8a Date: 2012-04-22 17:28 +0200 http://bitbucket.org/pypy/pypy/changeset/6ed8c6cc3d8a/ Log:cleanup stubs.py diff --git a/pypy/module/cpyext/stubs.py b/pypy/module/cpyext/stubs.py --- a/pypy/module/cpyext/stubs.py +++ b/pypy/mo

[pypy-commit] pypy stm-gc: Extra test.

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54622:c9a25e2c4e18 Date: 2012-04-22 15:49 +0200 http://bitbucket.org/pypy/pypy/changeset/c9a25e2c4e18/ Log:Extra test. diff --git a/pypy/rlib/test/test_rstm.py b/pypy/rlib/test/test_rstm.py --- a/pypy/rlib/test/test_rstm.py +++ b/pypy/rlib/test/t

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

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54625:45ec64b5f8c8 Date: 2012-04-22 19:27 +0200 http://bitbucket.org/pypy/pypy/changeset/45ec64b5f8c8/ Log:Fix. diff --git a/pypy/rpython/memory/gctransform/stmframework.py b/pypy/rpython/memory/gctransform/stmframework.py --- a/pypy/rpython/mem

[pypy-commit] pypy stm-gc: Progress

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54623:c3cbaae90b9e Date: 2012-04-22 17:29 +0200 http://bitbucket.org/pypy/pypy/changeset/c3cbaae90b9e/ Log:Progress diff --git a/pypy/rlib/rstm.py b/pypy/rlib/rstm.py --- a/pypy/rlib/rstm.py +++ b/pypy/rlib/rstm.py @@ -53,10 +53,17 @@ # is n

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

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54624:0a022231bea0 Date: 2012-04-22 19:10 +0200 http://bitbucket.org/pypy/pypy/changeset/0a022231bea0/ Log:Progress... diff --git a/pypy/rlib/rstm.py b/pypy/rlib/rstm.py --- a/pypy/rlib/rstm.py +++ b/pypy/rlib/rstm.py @@ -171,8 +171,7 @@ # T

[pypy-commit] pypy win32-stdlib: be more careful about closing open files

2012-04-22 Thread mattip
Author: Matti Picus Branch: win32-stdlib Changeset: r54626:36849667fd71 Date: 2012-04-22 23:27 +0300 http://bitbucket.org/pypy/pypy/changeset/36849667fd71/ Log:be more careful about closing open files diff --git a/lib-python/modified-2.7/tarfile.py b/lib-python/modified-2.7/tarfile.py --- a

[pypy-commit] pypy win32-stdlib: merge default into branch

2012-04-22 Thread mattip
Author: Matti Picus Branch: win32-stdlib Changeset: r54627:000d3f9fd903 Date: 2012-04-22 23:28 +0300 http://bitbucket.org/pypy/pypy/changeset/000d3f9fd903/ Log:merge default into branch diff --git a/pypy/module/cpyext/listobject.py b/pypy/module/cpyext/listobject.py --- a/pypy/module/cpyext/

[pypy-commit] pypy stm-gc: Ensure NEXT is cleared by C code after all.

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54629:c343346db868 Date: 2012-04-22 20:37 +0200 http://bitbucket.org/pypy/pypy/changeset/c343346db868/ Log:Ensure NEXT is cleared by C code after all. Adapt two more tests. diff --git a/pypy/rlib/rstm.py b/pypy/rlib/rstm.py --- a/pypy/rlib/rstm.p

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

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54630:0eb6503b3f3a Date: 2012-04-22 20:39 +0200 http://bitbucket.org/pypy/pypy/changeset/0eb6503b3f3a/ Log:Fix test diff --git a/pypy/translator/stm/test/test_localtracker.py b/pypy/translator/stm/test/test_localtracker.py --- a/pypy/translator/

[pypy-commit] pypy stm-gc: Start porting these tests as C code.

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54632:73a511a0a3df Date: 2012-04-22 22:00 +0200 http://bitbucket.org/pypy/pypy/changeset/73a511a0a3df/ Log:Start porting these tests as C code. diff --git a/pypy/translator/stm/test/getlib.py b/pypy/translator/stm/test/getlib.py deleted file mod

[pypy-commit] pypy stm-gc: Start to re-enable test_stmgcintf.

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54631:05577eabf224 Date: 2012-04-22 20:58 +0200 http://bitbucket.org/pypy/pypy/changeset/05577eabf224/ Log:Start to re-enable test_stmgcintf. diff --git a/pypy/translator/stm/src_stm/et.h b/pypy/translator/stm/src_stm/et.h --- a/pypy/translator/s

[pypy-commit] pypy stm-gc: Next test

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54633:111c611155d3 Date: 2012-04-22 22:06 +0200 http://bitbucket.org/pypy/pypy/changeset/111c611155d3/ Log:Next test diff --git a/pypy/translator/stm/test/test_stmgcintf.c b/pypy/translator/stm/test/test_stmgcintf.c --- a/pypy/translator/stm/tes

[pypy-commit] pypy stm-gc: Tests tests tests... and found one missing "return; " :-)

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54634:4aa01a6e557f Date: 2012-04-22 22:51 +0200 http://bitbucket.org/pypy/pypy/changeset/4aa01a6e557f/ Log:Tests tests tests... and found one missing "return;" :-) diff --git a/pypy/translator/stm/src_stm/core.c b/pypy/translator/stm/src_stm/cor

[pypy-commit] pypy win32-cleanup2: dummy op for cpyext/api.py

2012-04-22 Thread mattip
Author: Matti Picus Branch: win32-cleanup2 Changeset: r54635:f2e214d6b060 Date: 2012-04-22 23:46 +0300 http://bitbucket.org/pypy/pypy/changeset/f2e214d6b060/ Log:dummy op for cpyext/api.py diff --git a/pypy/rlib/rposix.py b/pypy/rlib/rposix.py --- a/pypy/rlib/rposix.py +++ b/pypy/rlib/rposix

[pypy-commit] pypy win32-cleanup2: be more conservative in failure of _validate_fd

2012-04-22 Thread mattip
Author: Matti Picus Branch: win32-cleanup2 Changeset: r54636:c97ac5d5d8b3 Date: 2012-04-23 01:57 +0300 http://bitbucket.org/pypy/pypy/changeset/c97ac5d5d8b3/ Log:be more conservative in failure of _validate_fd diff --git a/pypy/module/_file/interp_file.py b/pypy/module/_file/interp_file.py -

[pypy-commit] pypy default: fix translation (@Alex_Gaynor)

2012-04-22 Thread mattip
Author: Matti Picus Branch: Changeset: r54637:0b78258294b6 Date: 2012-04-23 02:15 +0300 http://bitbucket.org/pypy/pypy/changeset/0b78258294b6/ Log:fix translation (@Alex_Gaynor) diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/slotdefs.py

[pypy-commit] pypy win32-cleanup2: merge from default

2012-04-22 Thread mattip
Author: Matti Picus Branch: win32-cleanup2 Changeset: r54638:b926e74b1d0e Date: 2012-04-23 02:16 +0300 http://bitbucket.org/pypy/pypy/changeset/b926e74b1d0e/ Log:merge from default diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/slotdefs.

[pypy-commit] pypy default: fix translation

2012-04-22 Thread mattip
Author: Matti Picus Branch: Changeset: r54639:88576b6607fa Date: 2012-04-23 02:36 +0300 http://bitbucket.org/pypy/pypy/changeset/88576b6607fa/ Log:fix translation diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/slotdefs.py +++ b/pypy/mod

[pypy-commit] pypy win32-cleanup2: merge default into branch

2012-04-22 Thread mattip
Author: Matti Picus Branch: win32-cleanup2 Changeset: r54640:13e2ebeaf8d2 Date: 2012-04-23 02:37 +0300 http://bitbucket.org/pypy/pypy/changeset/13e2ebeaf8d2/ Log:merge default into branch diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/sl

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

2012-04-22 Thread arigo
Author: Armin Rigo Branch: stm-gc Changeset: r54641:bbacff2706c3 Date: 2012-04-23 07:46 +0200 http://bitbucket.org/pypy/pypy/changeset/bbacff2706c3/ Log:Fix test. diff --git a/pypy/rpython/memory/gc/test/test_stmgc.py b/pypy/rpython/memory/gc/test/test_stmgc.py --- a/pypy/rpython/memory/gc/

[pypy-commit] pypy default: Fixes:

2012-04-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r54642:73a34fe1ff67 Date: 2012-04-23 08:53 +0200 http://bitbucket.org/pypy/pypy/changeset/73a34fe1ff67/ Log:Fixes: * cannot do bool(res) if res is an INT on 32-bit * a return value of -1 doesn't necessarily mean we have an exception di