[pypy-commit] pypy default: Argh. I forgot that the _Py_get_xxx_type() functions also need a

2014-02-10 Thread arigo
Author: Armin Rigo Branch: Changeset: r69112:87a46a9756fb Date: 2014-02-10 09:15 +0100 http://bitbucket.org/pypy/pypy/changeset/87a46a9756fb/ Log:Argh. I forgot that the _Py_get_xxx_type() functions also need a declaration in the headers. Without it, it would compile and run

[pypy-commit] pypy default: Oups

2014-02-10 Thread arigo
Author: Armin Rigo Branch: Changeset: r69113:054bd73871cf Date: 2014-02-10 09:20 +0100 http://bitbucket.org/pypy/pypy/changeset/054bd73871cf/ Log:Oups diff --git a/pypy/doc/faq.rst b/pypy/doc/faq.rst --- a/pypy/doc/faq.rst +++ b/pypy/doc/faq.rst @@ -103,8 +103,7 @@ .. _`extension modules

[pypy-commit] pypy default: Test and fix.

2014-02-10 Thread arigo
Author: Armin Rigo Branch: Changeset: r69114:8c8b45fbe536 Date: 2014-02-10 11:00 +0100 http://bitbucket.org/pypy/pypy/changeset/8c8b45fbe536/ Log:Test and fix. diff --git a/rpython/rlib/rfile.py b/rpython/rlib/rfile.py --- a/rpython/rlib/rfile.py +++ b/rpython/rlib/rfile.py @@ -29,9 +29,9 @

[pypy-commit] pypy default: Add create_popen_file(), which calls directly the C library's popen()

2014-02-10 Thread arigo
Author: Armin Rigo Branch: Changeset: r69115:56fc72b18321 Date: 2014-02-10 11:09 +0100 http://bitbucket.org/pypy/pypy/changeset/56fc72b18321/ Log:Add create_popen_file(), which calls directly the C library's popen() function. diff --git a/rpython/rlib/rfile.py b/rpython/rlib/rfile.p

[pypy-commit] pypy default: Prevent a race condition whereby thread B can still use an RFile

2014-02-10 Thread arigo
Author: Armin Rigo Branch: Changeset: r69116:0388bb74d17c Date: 2014-02-10 11:13 +0100 http://bitbucket.org/pypy/pypy/changeset/0388bb74d17c/ Log:Prevent a race condition whereby thread B can still use an RFile while thread A is blocked in the call to fclose() or pclose(). diff --gi

[pypy-commit] pypy default: c_clearerror() inconsistently called. Fix

2014-02-10 Thread arigo
Author: Armin Rigo Branch: Changeset: r69117:0b6cac2a8414 Date: 2014-02-10 11:21 +0100 http://bitbucket.org/pypy/pypy/changeset/0b6cac2a8414/ Log:c_clearerror() inconsistently called. Fix diff --git a/rpython/rlib/rfile.py b/rpython/rlib/rfile.py --- a/rpython/rlib/rfile.py +++ b/rpython/rl

[pypy-commit] pypy default: Kill this outdated comment line: it should be implemented on any

2014-02-10 Thread arigo
Author: Armin Rigo Branch: Changeset: r69118:2c9c60b7e067 Date: 2014-02-10 12:02 +0100 http://bitbucket.org/pypy/pypy/changeset/2c9c60b7e067/ Log:Kill this outdated comment line: it should be implemented on any reasonable GC nowadays. diff --git a/rpython/rlib/rgc.py b/rpython/rlib/

[pypy-commit] stmgc c7-refactor: in-progress

2014-02-10 Thread arigo
Author: Armin Rigo Branch: c7-refactor Changeset: r717:9f7a1243b6ad Date: 2014-02-10 16:34 +0100 http://bitbucket.org/pypy/stmgc/changeset/9f7a1243b6ad/ Log:in-progress diff --git a/c7/stm/core.c b/c7/stm/core.c --- a/c7/stm/core.c +++ b/c7/stm/core.c @@ -1,6 +1,16 @@ +#ifndef _STM_CORE_H_ +

[pypy-commit] stmgc c7-refactor: Rename "region" -> "segment".

2014-02-10 Thread arigo
Author: Armin Rigo Branch: c7-refactor Changeset: r718:3b6d316ef539 Date: 2014-02-10 16:38 +0100 http://bitbucket.org/pypy/stmgc/changeset/3b6d316ef539/ Log:Rename "region" -> "segment". diff --git a/c7/stm/core.h b/c7/stm/core.h --- a/c7/stm/core.h +++ b/c7/stm/core.h @@ -7,7 +7,7 @@ #

[pypy-commit] stmgc c7-refactor: in-progress

2014-02-10 Thread arigo
Author: Armin Rigo Branch: c7-refactor Changeset: r719:b107802731ce Date: 2014-02-10 18:00 +0100 http://bitbucket.org/pypy/stmgc/changeset/b107802731ce/ Log:in-progress diff --git a/c7/pages.c b/c7/pages.c deleted file mode 100644 --- a/c7/pages.c +++ /dev/null @@ -1,157 +0,0 @@ -#define _GN

[pypy-commit] stmgc c7-refactor: in-progress

2014-02-10 Thread arigo
Author: Armin Rigo Branch: c7-refactor Changeset: r720:1da8e9545d83 Date: 2014-02-10 18:11 +0100 http://bitbucket.org/pypy/stmgc/changeset/1da8e9545d83/ Log:in-progress diff --git a/c7/stm/nursery.c b/c7/stm/nursery.c --- a/c7/stm/nursery.c +++ b/c7/stm/nursery.c @@ -4,6 +4,7 @@ /

[pypy-commit] stmgc c7-refactor: Enough to pass the first test.

2014-02-10 Thread arigo
Author: Armin Rigo Branch: c7-refactor Changeset: r721:0aa39c737d7f Date: 2014-02-10 19:10 +0100 http://bitbucket.org/pypy/stmgc/changeset/0aa39c737d7f/ Log:Enough to pass the first test. diff --git a/c7/stm/core.h b/c7/stm/core.h --- a/c7/stm/core.h +++ b/c7/stm/core.h @@ -70,3 +70,5 @@

[pypy-commit] stmgc c7-refactor: Align nursery sections

2014-02-10 Thread arigo
Author: Armin Rigo Branch: c7-refactor Changeset: r722:f4d87872cb45 Date: 2014-02-10 19:46 +0100 http://bitbucket.org/pypy/stmgc/changeset/f4d87872cb45/ Log:Align nursery sections diff --git a/c7/stm/nursery.c b/c7/stm/nursery.c --- a/c7/stm/nursery.c +++ b/c7/stm/nursery.c @@ -19,6 +19,9 @@

[pypy-commit] stmgc c7-refactor: fixing some more tests

2014-02-10 Thread arigo
Author: Armin Rigo Branch: c7-refactor Changeset: r724:efd9d37da8af Date: 2014-02-10 19:50 +0100 http://bitbucket.org/pypy/stmgc/changeset/efd9d37da8af/ Log:fixing some more tests diff --git a/c7/stm/core.c b/c7/stm/core.c --- a/c7/stm/core.c +++ b/c7/stm/core.c @@ -51,7 +51,6 @@ { stm

[pypy-commit] stmgc c7-refactor: in-progress

2014-02-10 Thread arigo
Author: Armin Rigo Branch: c7-refactor Changeset: r723:77132519fe37 Date: 2014-02-10 19:47 +0100 http://bitbucket.org/pypy/stmgc/changeset/77132519fe37/ Log:in-progress diff --git a/c7/stm/core.c b/c7/stm/core.c --- a/c7/stm/core.c +++ b/c7/stm/core.c @@ -53,3 +53,14 @@ release_thread_s

[pypy-commit] stmgc c7-refactor: Next test passes.

2014-02-10 Thread arigo
Author: Armin Rigo Branch: c7-refactor Changeset: r725:ef01288963ea Date: 2014-02-10 20:30 +0100 http://bitbucket.org/pypy/stmgc/changeset/ef01288963ea/ Log:Next test passes. diff --git a/c7/list.c b/c7/list.c deleted file mode 100644 --- a/c7/list.c +++ /dev/null @@ -1,39 +0,0 @@ -#include

[pypy-commit] pypy default: random test fixes for windows

2014-02-10 Thread mattip
Author: Matti Picus Branch: Changeset: r69119:5a5b32cdebb3 Date: 2014-02-10 22:28 +0200 http://bitbucket.org/pypy/pypy/changeset/5a5b32cdebb3/ Log:random test fixes for windows diff --git a/rpython/translator/c/test/test_extfunc.py b/rpython/translator/c/test/test_extfunc.py --- a/rpython/