Re: [pypy-commit] pypy default: fix test_capi's test_long/test_longlong

2013-01-30 Thread Alex Gaynor
I don't think we want to be mutating w_type on an OperationError, I'm not even sure what it does, since w_value will have a different type from w_type. Alex On Wed, Jan 30, 2013 at 10:41 PM, bdkearns wrote: > Author: Brian Kearns > Branch: > Changeset: r60748:c8febcb60f46 > Date: 2013-01-31 00

[pypy-commit] pypy stdlib-2.7.4: merge default

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.4 Changeset: r60750:5b8631b71974 Date: 2013-01-31 01:42 -0500 http://bitbucket.org/pypy/pypy/changeset/5b8631b71974/ Log:merge default diff --git a/lib-python/2.7/sysconfig.py b/lib-python/2.7/sysconfig.py --- a/lib-python/2.7/sysconfig.py +++ b/lib-py

[pypy-commit] pypy default: fix sysconfig.py paths

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r60749:f4706c9d56b1 Date: 2013-01-31 01:38 -0500 http://bitbucket.org/pypy/pypy/changeset/f4706c9d56b1/ Log:fix sysconfig.py paths diff --git a/lib-python/2.7/sysconfig.py b/lib-python/2.7/sysconfig.py --- a/lib-python/2.7/sysconfig.py +++ b/lib-pytho

[pypy-commit] pypy default: fix test_capi's test_long/test_longlong

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r60748:c8febcb60f46 Date: 2013-01-31 00:59 -0500 http://bitbucket.org/pypy/pypy/changeset/c8febcb60f46/ Log:fix test_capi's test_long/test_longlong diff --git a/lib-python/2.7/test/test_capi.py b/lib-python/2.7/test/test_capi.py --- a/lib-python/2.7/t

[pypy-commit] pypy default: missing sys.path line

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r60747:1e66ac6b5318 Date: 2013-01-30 23:40 -0500 http://bitbucket.org/pypy/pypy/changeset/1e66ac6b5318/ Log:missing sys.path line diff --git a/pypy/bin/checkmodule.py b/pypy/bin/checkmodule.py --- a/pypy/bin/checkmodule.py +++ b/pypy/bin/checkmodule.p

[pypy-commit] pypy default: fix PyObject_Str/Repr/Unicode for NULL argument, test

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r60746:4dc55ac8a8fa Date: 2013-01-30 22:07 -0500 http://bitbucket.org/pypy/pypy/changeset/4dc55ac8a8fa/ Log:fix PyObject_Str/Repr/Unicode for NULL argument, test diff --git a/lib-python/2.7/test/test_capi.py b/lib-python/2.7/test/test_capi.py --- a/li

[pypy-commit] pypy default: fileio raise exception when given fd pointing to dir (cpython issue15247)

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r60745:0bc690239b1a Date: 2013-01-30 18:36 -0500 http://bitbucket.org/pypy/pypy/changeset/0bc690239b1a/ Log:fileio raise exception when given fd pointing to dir (cpython issue15247) diff --git a/pypy/module/_io/interp_fileio.py b/pypy/module/_

[pypy-commit] pypy py3k: really fix translation this time

2013-01-30 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r60744:3334c8f5aea5 Date: 2013-01-30 13:28 -0800 http://bitbucket.org/pypy/pypy/changeset/3334c8f5aea5/ Log:really fix translation this time diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy/interpreter/pyopcode.

[pypy-commit] pypy stdlib-2.7.4: fix/test fcntl ValueError on invalid fd

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.4 Changeset: r60743:b7e7e4b395c7 Date: 2013-01-30 08:05 -0500 http://bitbucket.org/pypy/pypy/changeset/b7e7e4b395c7/ Log:fix/test fcntl ValueError on invalid fd diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy

[pypy-commit] pypy stdlib-2.7.4: merge default

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.4 Changeset: r60742:6b92769a66d3 Date: 2013-01-30 08:01 -0500 http://bitbucket.org/pypy/pypy/changeset/6b92769a66d3/ Log:merge default diff --git a/pypy/doc/faq.rst b/pypy/doc/faq.rst --- a/pypy/doc/faq.rst +++ b/pypy/doc/faq.rst @@ -300,12 +300,26 @@

[pypy-commit] pypy default: we now use __length_hint__

2013-01-30 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r60741:da784fe683c0 Date: 2013-01-30 10:28 -0800 http://bitbucket.org/pypy/pypy/changeset/da784fe683c0/ Log:we now use __length_hint__ diff --git a/pypy/doc/cpython_differences.rst b/pypy/doc/cpython_differences.rst --- a/pypy/doc/cpython_differences

[pypy-commit] pypy jitframe-on-heap: memcpy called like that cannot collect (and does not free the GIL either)

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60740:c8a77fc582c4 Date: 2013-01-30 18:29 +0200 http://bitbucket.org/pypy/pypy/changeset/c8a77fc582c4/ Log:memcpy called like that cannot collect (and does not free the GIL either) diff --git a/rpython/jit/backend/x86/as

[pypy-commit] pypy jitframe-on-heap: merge

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60739:260450a5706c Date: 2013-01-30 18:22 +0200 http://bitbucket.org/pypy/pypy/changeset/260450a5706c/ Log:merge diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py --- a/rpython/jit/backend

[pypy-commit] pypy jitframe-on-heap: a test and some debug prints

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60738:d564608f9ea1 Date: 2013-01-30 17:33 +0200 http://bitbucket.org/pypy/pypy/changeset/d564608f9ea1/ Log:a test and some debug prints diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --

[pypy-commit] pypy kill-flowobjspace: Kill dead code and tests in ArgumentsForTranslation

2013-01-30 Thread rlamy
Author: Ronan Lamy Branch: kill-flowobjspace Changeset: r60736:c3132de8201b Date: 2013-01-30 05:11 + http://bitbucket.org/pypy/pypy/changeset/c3132de8201b/ Log:Kill dead code and tests in ArgumentsForTranslation diff --git a/rpython/annotator/argument.py b/rpython/annotator/argument.py -

[pypy-commit] pypy kill-flowobjspace: move RPythonCallsSpace to rpython/annotator/argument.py

2013-01-30 Thread rlamy
Author: Ronan Lamy Branch: kill-flowobjspace Changeset: r60734:702f5433fe4d Date: 2013-01-30 04:33 + http://bitbucket.org/pypy/pypy/changeset/702f5433fe4d/ Log:move RPythonCallsSpace to rpython/annotator/argument.py diff --git a/rpython/annotator/argument.py b/rpython/annotator/argument.

[pypy-commit] pypy kill-flowobjspace: Kill dead code in RPythonCallsSpace

2013-01-30 Thread rlamy
Author: Ronan Lamy Branch: kill-flowobjspace Changeset: r60735:5aecf9579c66 Date: 2013-01-30 04:49 + http://bitbucket.org/pypy/pypy/changeset/5aecf9579c66/ Log:Kill dead code in RPythonCallsSpace diff --git a/rpython/annotator/argument.py b/rpython/annotator/argument.py --- a/rpython/ann

[pypy-commit] pypy kill-flowobjspace: move ArgumentsForTranslation and friends to rpython/annotator/

2013-01-30 Thread rlamy
Author: Ronan Lamy Branch: kill-flowobjspace Changeset: r60733:c0328610075e Date: 2013-01-28 04:17 + http://bitbucket.org/pypy/pypy/changeset/c0328610075e/ Log:move ArgumentsForTranslation and friends to rpython/annotator/ diff --git a/rpython/flowspace/argument.py b/rpython/annotator/ar

[pypy-commit] pypy jitframe-on-heap: merge

2013-01-30 Thread bivab
Author: David Schneider Branch: jitframe-on-heap Changeset: r60732:8b3593ba24a1 Date: 2013-01-30 15:55 +0100 http://bitbucket.org/pypy/pypy/changeset/8b3593ba24a1/ Log:merge diff --git a/rpython/jit/backend/llsupport/gc.py b/rpython/jit/backend/llsupport/gc.py --- a/rpython/jit/backend/llsu

[pypy-commit] pypy jitframe-on-heap: bridges start to work again

2013-01-30 Thread bivab
Author: David Schneider Branch: jitframe-on-heap Changeset: r60731:281e082e0a08 Date: 2013-01-30 15:50 +0100 http://bitbucket.org/pypy/pypy/changeset/281e082e0a08/ Log:bridges start to work again diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py --- a/

[pypy-commit] pypy jitframe-on-heap: support for floats in failargs

2013-01-30 Thread bivab
Author: David Schneider Branch: jitframe-on-heap Changeset: r60730:e71902fae352 Date: 2013-01-30 15:49 +0100 http://bitbucket.org/pypy/pypy/changeset/e71902fae352/ Log:support for floats in failargs diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py ---

[pypy-commit] pypy missing-ndarray-attributes: detour around strange translation problem

2013-01-30 Thread mattip
Author: mattip Branch: missing-ndarray-attributes Changeset: r60729:2bdcf6e1287e Date: 2013-01-30 15:09 +0200 http://bitbucket.org/pypy/pypy/changeset/2bdcf6e1287e/ Log:detour around strange translation problem diff --git a/pypy/module/micronumpy/arrayimpl/sort.py b/pypy/module/micronumpy/ar

[pypy-commit] pypy default: more closely imitate cpython handling of file descriptors

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r60728:63ac31bd95de Date: 2013-01-30 07:59 -0500 http://bitbucket.org/pypy/pypy/changeset/63ac31bd95de/ Log:more closely imitate cpython handling of file descriptors diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py ---

[pypy-commit] pypy jitframe-on-heap: merge

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60727:9d5504affe3e Date: 2013-01-30 14:28 +0200 http://bitbucket.org/pypy/pypy/changeset/9d5504affe3e/ Log:merge diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py --- a/rpython/jit/backend

[pypy-commit] pypy jitframe-on-heap: some basic sanity check that seem to fail

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60726:76fcfafc2c24 Date: 2013-01-30 14:24 +0200 http://bitbucket.org/pypy/pypy/changeset/76fcfafc2c24/ Log:some basic sanity check that seem to fail diff --git a/rpython/jit/backend/llsupport/jitframe.py b/rpython/jit/backend/l

[pypy-commit] pypy jitframe-on-heap: this is nonsense

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60725:a6da35e6d791 Date: 2013-01-30 14:21 +0200 http://bitbucket.org/pypy/pypy/changeset/a6da35e6d791/ Log:this is nonsense diff --git a/rpython/jit/backend/llsupport/gc.py b/rpython/jit/backend/llsupport/gc.py --- a/rpython/ji

[pypy-commit] pypy jitframe-on-heap: merge upstream

2013-01-30 Thread bivab
Author: David Schneider Branch: jitframe-on-heap Changeset: r60724:bdaf37b11afb Date: 2013-01-30 13:01 +0100 http://bitbucket.org/pypy/pypy/changeset/bdaf37b11afb/ Log:merge upstream diff --git a/rpython/jit/backend/llsupport/gc.py b/rpython/jit/backend/llsupport/gc.py --- a/rpython/jit/bac

[pypy-commit] pypy jitframe-on-heap: test_float_operations passes

2013-01-30 Thread bivab
Author: David Schneider Branch: jitframe-on-heap Changeset: r60723:f410b2ca03ba Date: 2013-01-30 12:59 +0100 http://bitbucket.org/pypy/pypy/changeset/f410b2ca03ba/ Log:test_float_operations passes diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py --- a

[pypy-commit] pypy jitframe-on-heap: oops. a fresh frame *may* contain young pointers. a few debug checks extra

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60722:bca909dfddfb Date: 2013-01-30 13:38 +0200 http://bitbucket.org/pypy/pypy/changeset/bca909dfddfb/ Log:oops. a fresh frame *may* contain young pointers. a few debug checks extra diff --git a/rpython/jit/backend/llsup

[pypy-commit] pypy jitframe-on-heap: shuffle those tests around

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60721:87e655bb59b1 Date: 2013-01-30 12:21 +0200 http://bitbucket.org/pypy/pypy/changeset/87e655bb59b1/ Log:shuffle those tests around diff --git a/rpython/jit/backend/x86/test/test_zrpy_gc.py b/rpython/jit/backend/x86/test/test

[pypy-commit] pypy stdlib-2.7.4: some new OverflowErrors for socket functions

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.4 Changeset: r60720:b016dc93ead2 Date: 2013-01-30 05:47 -0500 http://bitbucket.org/pypy/pypy/changeset/b016dc93ead2/ Log:some new OverflowErrors for socket functions diff --git a/pypy/module/_socket/interp_socket.py b/pypy/module/_socket/interp_socket

[pypy-commit] pypy default: now unused

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r60719:dd68409a9954 Date: 2013-01-30 05:31 -0500 http://bitbucket.org/pypy/pypy/changeset/dd68409a9954/ Log:now unused diff --git a/rpython/jit/metainterp/test/test_ajit.py b/rpython/jit/metainterp/test/test_ajit.py --- a/rpython/jit/metainterp/test/

[pypy-commit] pypy default: change this test to no longer use a virtual.

2013-01-30 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r60718:792dd359c9ac Date: 2013-01-30 11:10 +0100 http://bitbucket.org/pypy/pypy/changeset/792dd359c9ac/ Log:change this test to no longer use a virtual. I checked that it's still testing what it is supposed to, by disabling the

[pypy-commit] pypy jitframe-on-heap: done

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60717:884b8fe27749 Date: 2013-01-30 12:15 +0200 http://bitbucket.org/pypy/pypy/changeset/884b8fe27749/ Log:done diff --git a/pypy/TODO b/pypy/TODO --- a/pypy/TODO +++ b/pypy/TODO @@ -2,6 +2,4 @@ * 32bit x86 * ARM * asmgcc -*

[pypy-commit] pypy jitframe-on-heap: fix single floats

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60716:586e0157f4d5 Date: 2013-01-30 12:15 +0200 http://bitbucket.org/pypy/pypy/changeset/586e0157f4d5/ Log:fix single floats diff --git a/rpython/jit/backend/test/calling_convention_test.py b/rpython/jit/backend/test/calling_co

[pypy-commit] pypy jitframe-on-heap: work on stack check

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60715:58fd72df1444 Date: 2013-01-30 11:44 +0200 http://bitbucket.org/pypy/pypy/changeset/58fd72df1444/ Log:work on stack check diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpyth

[pypy-commit] pypy jitframe-on-heap: oops not a great idea

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60714:0520de970ee0 Date: 2013-01-30 11:29 +0200 http://bitbucket.org/pypy/pypy/changeset/0520de970ee0/ Log:oops not a great idea diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpy

[pypy-commit] pypy jitframe-on-heap: merge

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60713:39bf1dd52892 Date: 2013-01-30 11:25 +0200 http://bitbucket.org/pypy/pypy/changeset/39bf1dd52892/ Log:merge diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py --- a/rpython/jit/backend

[pypy-commit] pypy jitframe-on-heap: some ugly checks

2013-01-30 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r60712:b7bd1559a188 Date: 2013-01-30 11:24 +0200 http://bitbucket.org/pypy/pypy/changeset/b7bd1559a188/ Log:some ugly checks diff --git a/rpython/jit/backend/llsupport/llmodel.py b/rpython/jit/backend/llsupport/llmodel.py --- a/

[pypy-commit] pypy stdlib-2.7.4: merge default

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.4 Changeset: r60710:354042e98f1a Date: 2013-01-30 02:06 -0500 http://bitbucket.org/pypy/pypy/changeset/354042e98f1a/ Log:merge default diff --git a/pypy/module/_bisect/interp_bisect.py b/pypy/module/_bisect/interp_bisect.py --- a/pypy/module/_bisect/i

[pypy-commit] pypy stdlib-2.7.4: file descriptors that don't fit in a c_int now raise OverflowError

2013-01-30 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.4 Changeset: r60711:590e925436af Date: 2013-01-30 03:58 -0500 http://bitbucket.org/pypy/pypy/changeset/590e925436af/ Log:file descriptors that don't fit in a c_int now raise OverflowError diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter

[pypy-commit] pypy default: Expand this section

2013-01-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r60709:8f7466dbf151 Date: 2013-01-30 09:23 +0100 http://bitbucket.org/pypy/pypy/changeset/8f7466dbf151/ Log:Expand this section diff --git a/pypy/doc/faq.rst b/pypy/doc/faq.rst --- a/pypy/doc/faq.rst +++ b/pypy/doc/faq.rst @@ -300,12 +300,26 @@ Do I ha