[pypy-commit] pypy add_PyErr_SetFromErrnoWithFilenameObject_try_2: Add PyErr_SetFromErrnoWithFilenameObject to cpyext

2014-03-23 Thread Marc Abramowitz
Author: Marc Abramowitz Branch: add_PyErr_SetFromErrnoWithFilenameObject_try_2 Changeset: r70224:0bc8a372d4b2 Date: 2014-03-23 18:12 -0700 http://bitbucket.org/pypy/pypy/changeset/0bc8a372d4b2/ Log:Add PyErr_SetFromErrnoWithFilenameObject to cpyext diff --git a/pypy/module/cpyext/pyerrors.py

[pypy-commit] pypy add_PyErr_SetFromErrnoWithFilenameObject_try_2: Make PyErr_SetFromErrnoWithFilenameObject work with any Python object; not just strings

2014-03-23 Thread Marc Abramowitz
Author: Marc Abramowitz Branch: add_PyErr_SetFromErrnoWithFilenameObject_try_2 Changeset: r70225:a00eb16f44ee Date: 2014-03-23 23:29 -0700 http://bitbucket.org/pypy/pypy/changeset/a00eb16f44ee/ Log:Make PyErr_SetFromErrnoWithFilenameObject work with any Python object; not just strings

[pypy-commit] pypy default: Merged in msabramo/pypy/add_PyErr_SetFromErrnoWithFilenameObject_try_2 (pull request #211)

2014-03-23 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r70226:0f14db5ced36 Date: 2014-03-23 23:38 -0700 http://bitbucket.org/pypy/pypy/changeset/0f14db5ced36/ Log:Merged in msabramo/pypy/add_PyErr_SetFromErrnoWithFilenameObject_try_2 (pull request #211) Add PyErr_SetFromErrnoWithFil

[pypy-commit] pypy stmgc-c7: Add __pypy__.thread.getsegmentlimit()

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70223:4eb53be43a92 Date: 2014-03-24 07:29 +0100 http://bitbucket.org/pypy/pypy/changeset/4eb53be43a92/ Log:Add __pypy__.thread.getsegmentlimit() diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -34,6 +34,15 @@ --

[pypy-commit] pypy test_SetFromErrnoWithFilename__tweaks: Tweaks to test_SetFromErrnoWithFilename

2014-03-23 Thread Marc Abramowitz
Author: Marc Abramowitz Branch: test_SetFromErrnoWithFilename__tweaks Changeset: r70220:cbd73b7272c6 Date: 2014-03-23 17:16 -0700 http://bitbucket.org/pypy/pypy/changeset/cbd73b7272c6/ Log:Tweaks to test_SetFromErrnoWithFilename - Use `raises` to ensure that OSError is raised

[pypy-commit] pypy default: Merged in msabramo/pypy/test_SetFromErrnoWithFilename__tweaks (pull request #210)

2014-03-23 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r70221:556f9ed20ccc Date: 2014-03-23 17:23 -0700 http://bitbucket.org/pypy/pypy/changeset/556f9ed20ccc/ Log:Merged in msabramo/pypy/test_SetFromErrnoWithFilename__tweaks (pull request #210) Tweaks to test_SetFromErrnoWithFilename diff

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

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70219:98b2f4f06e5e Date: 2014-03-23 18:38 +0100 http://bitbucket.org/pypy/pypy/changeset/98b2f4f06e5e/ Log:in-progress diff --git a/rpython/jit/backend/x86/arch.py b/rpython/jit/backend/x86/arch.py --- a/rpython/jit/backend/x86/arch.py +++ b/rp

[pypy-commit] pypy stmgc-c7: hg merge default

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70218:09a81b58e77a Date: 2014-03-23 17:58 +0100 http://bitbucket.org/pypy/pypy/changeset/09a81b58e77a/ Log:hg merge default diff --git a/pypy/module/pypyjit/test_pypy_c/test_containers.py b/pypy/module/pypyjit/test_pypy_c/test_containers.py --

[pypy-commit] pypy default: Uh, seems that either I'm confused or we wasted one word in the JIT

2014-03-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r70217:a44d490bf21c Date: 2014-03-23 17:53 +0100 http://bitbucket.org/pypy/pypy/changeset/a44d490bf21c/ Log:Uh, seems that either I'm confused or we wasted one word in the JIT frames. Not that I care too much, but trying to re-understand the

[pypy-commit] pypy win32-fixes4: clibffi minimal tests fix

2014-03-23 Thread mattip
Author: Matti Picus Branch: win32-fixes4 Changeset: r70216:1dcc8039fbaf Date: 2014-03-23 18:34 +0200 http://bitbucket.org/pypy/pypy/changeset/1dcc8039fbaf/ Log:clibffi minimal tests fix diff --git a/rpython/rlib/test/test_clibffi.py b/rpython/rlib/test/test_clibffi.py --- a/rpython/rlib/tes

[pypy-commit] pypy stmgc-c7: bug fix

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70215:9f7f5339c0f4 Date: 2014-03-23 17:02 +0100 http://bitbucket.org/pypy/pypy/changeset/9f7f5339c0f4/ Log:bug fix diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assembler

[pypy-commit] pypy win32-fixes4: win32 uses ll_os functions for rposix calls, which work differently

2014-03-23 Thread mattip
Author: Matti Picus Branch: win32-fixes4 Changeset: r70214:cf76d42b70fb Date: 2014-03-23 17:58 +0200 http://bitbucket.org/pypy/pypy/changeset/cf76d42b70fb/ Log:win32 uses ll_os functions for rposix calls, which work differently - no as_bytes() on str args, - float/double diffe

[pypy-commit] pypy stmgc-c7: comment

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70213:802bc9683f29 Date: 2014-03-23 16:48 +0100 http://bitbucket.org/pypy/pypy/changeset/802bc9683f29/ Log:comment diff --git a/rpython/jit/backend/x86/rx86.py b/rpython/jit/backend/x86/rx86.py --- a/rpython/jit/backend/x86/rx86.py +++ b/rpytho

[pypy-commit] pypy stmgc-c7: fixes

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70212:a20b4b8dbf27 Date: 2014-03-23 16:43 +0100 http://bitbucket.org/pypy/pypy/changeset/a20b4b8dbf27/ Log:fixes diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assembler.p

[pypy-commit] pypy stmgc-c7: fixes

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70211:db9c0c61d0c6 Date: 2014-03-23 16:41 +0100 http://bitbucket.org/pypy/pypy/changeset/db9c0c61d0c6/ Log:fixes diff --git a/rpython/jit/backend/x86/regloc.py b/rpython/jit/backend/x86/regloc.py --- a/rpython/jit/backend/x86/regloc.py +++ b/r

[pypy-commit] pypy stmgc-c7: test (locally in the source) and fix

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70210:93660d35aeb4 Date: 2014-03-23 16:39 +0100 http://bitbucket.org/pypy/pypy/changeset/93660d35aeb4/ Log:test (locally in the source) and fix diff --git a/rpython/jit/backend/x86/regloc.py b/rpython/jit/backend/x86/regloc.py --- a/rpython/ji

[pypy-commit] pypy stmgc-c7: fixes

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70209:d80633d4a761 Date: 2014-03-23 16:33 +0100 http://bitbucket.org/pypy/pypy/changeset/d80633d4a761/ Log:fixes diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assembler.p

[pypy-commit] pypy stmgc-c7: fixes

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70208:f05956b0d800 Date: 2014-03-23 16:30 +0100 http://bitbucket.org/pypy/pypy/changeset/f05956b0d800/ Log:fixes diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assembler.p

[pypy-commit] pypy stmgc-c7: fixes

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70207:e585aef6450f Date: 2014-03-23 16:27 +0100 http://bitbucket.org/pypy/pypy/changeset/e585aef6450f/ Log:fixes diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assembler.p

[pypy-commit] pypy stmgc-c7: fix

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70206:e9791bb17c6c Date: 2014-03-23 16:23 +0100 http://bitbucket.org/pypy/pypy/changeset/e9791bb17c6c/ Log:fix diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assembler.py

[pypy-commit] pypy stmgc-c7: fix

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70205:a37be1ce64d8 Date: 2014-03-23 16:22 +0100 http://bitbucket.org/pypy/pypy/changeset/a37be1ce64d8/ Log:fix diff --git a/rpython/jit/backend/x86/regloc.py b/rpython/jit/backend/x86/regloc.py --- a/rpython/jit/backend/x86/regloc.py +++ b/rpy

[pypy-commit] pypy stmgc-c7: fixes

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70204:05d2f79f365d Date: 2014-03-23 16:20 +0100 http://bitbucket.org/pypy/pypy/changeset/05d2f79f365d/ Log:fixes diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assembler.p

[pypy-commit] pypy stmgc-c7: More fixes

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70203:9b37af797a13 Date: 2014-03-23 16:17 +0100 http://bitbucket.org/pypy/pypy/changeset/9b37af797a13/ Log:More fixes diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assemb

[pypy-commit] pypy stmgc-c7: fixes fixes fixes fixes

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70202:913db8f92462 Date: 2014-03-23 16:09 +0100 http://bitbucket.org/pypy/pypy/changeset/913db8f92462/ Log:fixes fixes fixes fixes diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backe

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

2014-03-23 Thread mattip
Author: Matti Picus Branch: win32-fixes4 Changeset: r70201:dec6e4c4c504 Date: 2014-03-23 16:19 +0200 http://bitbucket.org/pypy/pypy/changeset/dec6e4c4c504/ Log:merge default into branch diff --git a/rpython/jit/backend/llsupport/test/test_rewrite.py b/rpython/jit/backend/llsupport/test/test

[pypy-commit] pypy default: Test fix (OS/X, Win)

2014-03-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r70200:99ea05cf50b8 Date: 2014-03-23 15:15 +0100 http://bitbucket.org/pypy/pypy/changeset/99ea05cf50b8/ Log:Test fix (OS/X, Win) diff --git a/rpython/jit/backend/llsupport/test/test_rewrite.py b/rpython/jit/backend/llsupport/test/test_rewrite.py --- a/

[pypy-commit] pypy default: Point out the textual differences

2014-03-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r70199:29c8f43f8625 Date: 2014-03-23 15:08 +0100 http://bitbucket.org/pypy/pypy/changeset/29c8f43f8625/ Log:Point out the textual differences diff --git a/rpython/jit/metainterp/optimizeopt/util.py b/rpython/jit/metainterp/optimizeopt/util.py --- a/rpy

[pypy-commit] pypy stmgc-c7: Fix regloc, as far as test_regloc says.

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70198:85dc2a0ebc48 Date: 2014-03-23 14:50 +0100 http://bitbucket.org/pypy/pypy/changeset/85dc2a0ebc48/ Log:Fix regloc, as far as test_regloc says. diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/r

[pypy-commit] pypy stmgc-c7: Adapt the auto-encoding tests to generate %fs and %gs as well

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70197:3ffbce87ab7b Date: 2014-03-23 14:33 +0100 http://bitbucket.org/pypy/pypy/changeset/3ffbce87ab7b/ Log:Adapt the auto-encoding tests to generate %fs and %gs as well diff --git a/rpython/jit/backend/x86/test/test_rx86.py b/rpython/jit/backe

[pypy-commit] pypy stmgc-c7: In-progress: add the %fs or %gs segment prefix in the core of

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70196:0a1abc01bb9f Date: 2014-03-23 13:42 +0100 http://bitbucket.org/pypy/pypy/changeset/0a1abc01bb9f/ Log:In-progress: add the %fs or %gs segment prefix in the core of the assembler production. We'll have to fix all places that use memo

[pypy-commit] pypy stmgc-c7: simplify

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70195:6cab230db021 Date: 2014-03-23 12:41 +0100 http://bitbucket.org/pypy/pypy/changeset/6cab230db021/ Log:simplify diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assemble

[pypy-commit] pypy stmgc-c7: clang emits a warning when casting from ptr to "char TLPREFIX *".

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70194:d968c3d4d7f1 Date: 2014-03-23 12:22 +0100 http://bitbucket.org/pypy/pypy/changeset/d968c3d4d7f1/ Log:clang emits a warning when casting from ptr to "char TLPREFIX *". diff --git a/rpython/translator/c/primitive.py b/rpython/translator/c/

[pypy-commit] pypy stmgc-c7: in-progress: temporarily disable some stm helpers

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70191:2b3d2341edde Date: 2014-03-23 11:55 +0100 http://bitbucket.org/pypy/pypy/changeset/2b3d2341edde/ Log:in-progress: temporarily disable some stm helpers diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.

[pypy-commit] pypy stmgc-c7: fix

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70193:dba83bbc67c6 Date: 2014-03-23 12:15 +0100 http://bitbucket.org/pypy/pypy/changeset/dba83bbc67c6/ Log:fix diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86/assembler.py

[pypy-commit] pypy stmgc-c7: Revert a little bit more code handling multiple write-barriers

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70192:55ef5dced4ff Date: 2014-03-23 12:12 +0100 http://bitbucket.org/pypy/pypy/changeset/55ef5dced4ff/ Log:Revert a little bit more code handling multiple write-barriers diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backen

[pypy-commit] pypy stmgc-c7: Test and fix

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70190:c2aa0c41cac7 Date: 2014-03-23 10:15 +0100 http://bitbucket.org/pypy/pypy/changeset/c2aa0c41cac7/ Log:Test and fix diff --git a/rpython/translator/c/funcgen.py b/rpython/translator/c/funcgen.py --- a/rpython/translator/c/funcgen.py +++ b/r

[pypy-commit] pypy stmgc-c7: Add a test

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70189:55b694971c42 Date: 2014-03-23 10:02 +0100 http://bitbucket.org/pypy/pypy/changeset/55b694971c42/ Log:Add a test diff --git a/rpython/translator/stm/test/test_readbarrier.py b/rpython/translator/stm/test/test_readbarrier.py --- a/rpython/

[pypy-commit] pypy stmgc-c7: Fix (see existing test)

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70188:b06faf7b2607 Date: 2014-03-23 09:29 +0100 http://bitbucket.org/pypy/pypy/changeset/b06faf7b2607/ Log:Fix (see existing test) diff --git a/rpython/rlib/atomic_ops.py b/rpython/rlib/atomic_ops.py --- a/rpython/rlib/atomic_ops.py +++ b/rpyth

[pypy-commit] pypy stmgc-c7: The old interface box.getaddr() should now only be used to cast a

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70187:dc3260a800db Date: 2014-03-23 09:21 +0100 http://bitbucket.org/pypy/pypy/changeset/dc3260a800db/ Log:The old interface box.getaddr() should now only be used to cast a raw pointer to an address, not a GC pointer. diff --git a/rpyth

[pypy-commit] pypy default: The old interface box.getaddr() should now only be used to cast a raw

2014-03-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r70186:69395dff1d5c Date: 2014-03-23 09:21 +0100 http://bitbucket.org/pypy/pypy/changeset/69395dff1d5c/ Log:The old interface box.getaddr() should now only be used to cast a raw pointer to an address, not a GC pointer. diff --git a/rpython/jit/m

[pypy-commit] pypy stmgc-c7: Test and fix

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70185:2b49d01603f9 Date: 2014-03-23 09:03 +0100 http://bitbucket.org/pypy/pypy/changeset/2b49d01603f9/ Log:Test and fix diff --git a/rpython/rtyper/lltypesystem/lloperation.py b/rpython/rtyper/lltypesystem/lloperation.py --- a/rpython/rtyper/l

[pypy-commit] pypy stmgc-c7: Test and fix

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70184:b76622eef525 Date: 2014-03-23 08:51 +0100 http://bitbucket.org/pypy/pypy/changeset/b76622eef525/ Log:Test and fix diff --git a/rpython/memory/gctransform/framework.py b/rpython/memory/gctransform/framework.py --- a/rpython/memory/gctrans

[pypy-commit] pypy stmgc-c7: Next fix

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70183:0b83cbb912b2 Date: 2014-03-23 08:37 +0100 http://bitbucket.org/pypy/pypy/changeset/0b83cbb912b2/ Log:Next fix diff --git a/rpython/memory/gctransform/stmframework.py b/rpython/memory/gctransform/stmframework.py --- a/rpython/memory/gctra

[pypy-commit] pypy stmgc-c7: Un-delete this test (see 53a2a9ecde3e) and make it pass

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70182:52f5f6d0153b Date: 2014-03-23 08:24 +0100 http://bitbucket.org/pypy/pypy/changeset/52f5f6d0153b/ Log:Un-delete this test (see 53a2a9ecde3e) and make it pass diff --git a/rpython/memory/gctransform/stmframework.py b/rpython/memory/gctrans

[pypy-commit] pypy stmgc-c7: Silence warnings

2014-03-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70181:bd87e99d44f6 Date: 2014-03-23 08:13 +0100 http://bitbucket.org/pypy/pypy/changeset/bd87e99d44f6/ Log:Silence warnings diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py --- a/rpython/translator/c/genc.py +++ b/rpytho