[pypy-commit] pypy py3k: fill in missing export for RPyThreadAcquireLockTimed

2012-10-10 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r58004:fb00d62a9993 Date: 2012-10-10 17:45 -0700 http://bitbucket.org/pypy/pypy/changeset/fb00d62a9993/ Log:fill in missing export for RPyThreadAcquireLockTimed diff --git a/pypy/module/thread/ll_thread.py b/pypy/module/thread/ll_thread.py --- a/

[pypy-commit] pypy py3k: move py3's isfinite into rcomplex with the rest of the impls

2012-10-10 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r58003:b8c3b51ce509 Date: 2012-10-10 17:15 -0700 http://bitbucket.org/pypy/pypy/changeset/b8c3b51ce509/ Log:move py3's isfinite into rcomplex with the rest of the impls diff --git a/pypy/module/cmath/interp_cmath.py b/pypy/module/cmath/interp_cm

[pypy-commit] pypy default: isfinite already lives in rfloat

2012-10-10 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r58001:07b46876b954 Date: 2012-10-10 16:19 -0700 http://bitbucket.org/pypy/pypy/changeset/07b46876b954/ Log:isfinite already lives in rfloat diff --git a/pypy/rlib/rcomplex.py b/pypy/rlib/rcomplex.py --- a/pypy/rlib/rcomplex.py +++ b/pypy/rlib/rcompl

[pypy-commit] pypy py3k: map(), filter(), zip() now return iterators.

2012-10-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r58000:0fc04c38ab33 Date: 2012-10-10 23:24 +0200 http://bitbucket.org/pypy/pypy/changeset/0fc04c38ab33/ Log:map(), filter(), zip() now return iterators. Move the code and tests from the itertool module. Most of the tests no

[pypy-commit] pypy py3k: Fix test_chr to pass with -A (CPython 3.2)

2012-10-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r57998:18e23a442a38 Date: 2012-10-10 22:03 +0200 http://bitbucket.org/pypy/pypy/changeset/18e23a442a38/ Log:Fix test_chr to pass with -A (CPython 3.2) diff --git a/pypy/module/__builtin__/test/test_builtin.py b/pypy/module/__builtin__/tes

[pypy-commit] pypy py3k: Fix many tests for execution with -A.

2012-10-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r57999:77f2578283bd Date: 2012-10-10 22:26 +0200 http://bitbucket.org/pypy/pypy/changeset/77f2578283bd/ Log:Fix many tests for execution with -A. diff --git a/pypy/module/__builtin__/test/test_builtin.py b/pypy/module/__builtin__/test/tes

[pypy-commit] pypy py3k: Fix getattr unit tests.

2012-10-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r57997:4c065fffe139 Date: 2012-10-10 21:57 +0200 http://bitbucket.org/pypy/pypy/changeset/4c065fffe139/ Log:Fix getattr unit tests. diff --git a/pypy/module/__builtin__/operation.py b/pypy/module/__builtin__/operation.py --- a/pypy/module

[pypy-commit] pypy default: Issue1285: Python2 allows lone surrogates, also in string literals which appear in marshalled code.

2012-10-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r57996:ce4e0ff9862b Date: 2012-10-11 00:51 +0200 http://bitbucket.org/pypy/pypy/changeset/ce4e0ff9862b/ Log:Issue1285: Python2 allows lone surrogates, also in string literals which appear in marshalled code. Also use more direc

[pypy-commit] pypy py3k: switch to builtin next

2012-10-10 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r57995:10baee3314ed Date: 2012-10-09 18:17 -0700 http://bitbucket.org/pypy/pypy/changeset/10baee3314ed/ Log:switch to builtin next diff --git a/pypy/module/itertools/test/test_itertools.py b/pypy/module/itertools/test/test_itertools.py --- a/pyp

[pypy-commit] pypy default: run the getattr tests under the getattributeshortcut optimization too

2012-10-10 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r57994:a858967c9ad0 Date: 2012-10-10 14:57 -0700 http://bitbucket.org/pypy/pypy/changeset/a858967c9ad0/ Log:run the getattr tests under the getattributeshortcut optimization too diff --git a/pypy/module/__builtin__/test/test_builtin.py b/pyp

[pypy-commit] pypy default: remove TypeError, add failing test (missing res_type rule coerce_float for real, imag, abs)

2012-10-10 Thread mattip
Author: mattip Branch: Changeset: r57993:3157376a59f8 Date: 2012-10-10 23:47 +0200 http://bitbucket.org/pypy/pypy/changeset/3157376a59f8/ Log:remove TypeError, add failing test (missing res_type rule coerce_float for real, imag, abs) diff --git a/pypy/module/micronumpy/interp_boxes.

[pypy-commit] pypy kill-someobject: too bad, it works if we pass None (and people rely on it)

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57992:84caf75df304 Date: 2012-10-10 22:50 +0200 http://bitbucket.org/pypy/pypy/changeset/84caf75df304/ Log:too bad, it works if we pass None (and people rely on it) diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter

[pypy-commit] pypy kill-someobject: fixes to socket

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57991:4a0c4724828d Date: 2012-10-10 22:24 +0200 http://bitbucket.org/pypy/pypy/changeset/4a0c4724828d/ Log:fixes to socket diff --git a/pypy/module/_socket/interp_func.py b/pypy/module/_socket/interp_func.py --- a/pypy/module/_s

[pypy-commit] pypy kill-someobject: merge

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57990:673ea32b2cfe Date: 2012-10-10 22:18 +0200 http://bitbucket.org/pypy/pypy/changeset/673ea32b2cfe/ Log:merge diff --git a/pypy/interpreter/gateway.py b/pypy/interpreter/gateway.py --- a/pypy/interpreter/gateway.py +++ b/pypy/

[pypy-commit] pypy kill-someobject: fix some more stuff

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57989:c7b80d289313 Date: 2012-10-10 22:17 +0200 http://bitbucket.org/pypy/pypy/changeset/c7b80d289313/ Log:fix some more stuff diff --git a/pypy/interpreter/function.py b/pypy/interpreter/function.py --- a/pypy/interpreter/functi

[pypy-commit] pypy translation-cleanup: Disable closure creation in RPython

2012-10-10 Thread rlamy
Author: Ronan Lamy Branch: translation-cleanup Changeset: r57987:e1b4d5fe6b2d Date: 2012-10-10 20:28 +0100 http://bitbucket.org/pypy/pypy/changeset/e1b4d5fe6b2d/ Log:Disable closure creation in RPython * Trying to build the flow graph of a function whose code object contains

[pypy-commit] pypy translation-cleanup: Consolidate RPythonicity checks at the beginning of build_flow()

2012-10-10 Thread rlamy
Author: Ronan Lamy Branch: translation-cleanup Changeset: r57988:e0c6bf5e3dbf Date: 2012-10-10 20:43 +0100 http://bitbucket.org/pypy/pypy/changeset/e0c6bf5e3dbf/ Log:Consolidate RPythonicity checks at the beginning of build_flow() diff --git a/pypy/objspace/flow/bytecode.py b/pypy/objspace/f

[pypy-commit] pypy default: update comment

2012-10-10 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r57986:09c4d1749dc2 Date: 2012-10-10 12:03 -0700 http://bitbucket.org/pypy/pypy/changeset/09c4d1749dc2/ Log:update comment diff --git a/pypy/module/__builtin__/operation.py b/pypy/module/__builtin__/operation.py --- a/pypy/module/__builtin__/operati

[pypy-commit] pypy kill-someobject: merge heads

2012-10-10 Thread arigo
Author: Armin Rigo Branch: kill-someobject Changeset: r57985:ef338e0987e1 Date: 2012-10-10 19:28 +0200 http://bitbucket.org/pypy/pypy/changeset/ef338e0987e1/ Log:merge heads diff --git a/pypy/doc/discussion/improve-rpython.rst b/pypy/doc/discussion/improve-rpython.rst --- a/pypy/doc/discuss

[pypy-commit] pypy kill-someobject: An extra assert.

2012-10-10 Thread arigo
Author: Armin Rigo Branch: kill-someobject Changeset: r57984:88341d339b59 Date: 2012-10-10 19:19 +0200 http://bitbucket.org/pypy/pypy/changeset/88341d339b59/ Log:An extra assert. diff --git a/pypy/interpreter/gateway.py b/pypy/interpreter/gateway.py --- a/pypy/interpreter/gateway.py +++ b/py

[pypy-commit] pypy kill-someobject: kill NoneNotWrapped

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57983:34bc0615b806 Date: 2012-10-10 19:28 +0200 http://bitbucket.org/pypy/pypy/changeset/34bc0615b806/ Log:kill NoneNotWrapped diff --git a/pypy/doc/discussion/improve-rpython.rst b/pypy/doc/discussion/improve-rpython.rst --- a/

[pypy-commit] pypy kill-someobject: (fijal, arigo)

2012-10-10 Thread arigo
Author: Armin Rigo Branch: kill-someobject Changeset: r57982:1b821342e675 Date: 2012-10-10 19:06 +0200 http://bitbucket.org/pypy/pypy/changeset/1b821342e675/ Log:(fijal, arigo) Complicated messy logic for assigning defaults diff --git a/pypy/interpreter/gateway.py b/pypy/interpreter

[pypy-commit] pypy kill-someobject: Fix fix fix in-progress

2012-10-10 Thread arigo
Author: Armin Rigo Branch: kill-someobject Changeset: r57981:2fee47ecd40e Date: 2012-10-10 18:44 +0200 http://bitbucket.org/pypy/pypy/changeset/2fee47ecd40e/ Log:Fix fix fix in-progress diff --git a/pypy/conftest.py b/pypy/conftest.py --- a/pypy/conftest.py +++ b/pypy/conftest.py @@ -101,15

[pypy-commit] pypy kill-someobject: make test_newgc pass

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57980:c2dd48042f55 Date: 2012-10-10 18:02 +0200 http://bitbucket.org/pypy/pypy/changeset/c2dd48042f55/ Log:make test_newgc pass diff --git a/pypy/translator/c/test/test_newgc.py b/pypy/translator/c/test/test_newgc.py --- a/pypy/

[pypy-commit] pypy kill-someobject: finish module

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57979:bb4344e09c6e Date: 2012-10-10 17:50 +0200 http://bitbucket.org/pypy/pypy/changeset/bb4344e09c6e/ Log:finish module diff --git a/pypy/module/__builtin__/compiling.py b/pypy/module/__builtin__/compiling.py --- a/pypy/module/

[pypy-commit] pypy kill-someobject: Fix fix fix a bit more

2012-10-10 Thread arigo
Author: Armin Rigo Branch: kill-someobject Changeset: r57978:18f173be9b33 Date: 2012-10-10 17:42 +0200 http://bitbucket.org/pypy/pypy/changeset/18f173be9b33/ Log:Fix fix fix a bit more diff --git a/pypy/interpreter/gateway.py b/pypy/interpreter/gateway.py --- a/pypy/interpreter/gateway.py ++

[pypy-commit] pypy kill-someobject: try to use more consistently space.is_none

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57977:56e41853186e Date: 2012-10-10 17:37 +0200 http://bitbucket.org/pypy/pypy/changeset/56e41853186e/ Log:try to use more consistently space.is_none diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.p

[pypy-commit] pypy py3k: bah, of course we need to call unicode_w in the unicode set strategy

2012-10-10 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57975:ba0a57363695 Date: 2012-10-10 16:53 +0200 http://bitbucket.org/pypy/pypy/changeset/ba0a57363695/ Log:bah, of course we need to call unicode_w in the unicode set strategy diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobj

[pypy-commit] pypy py3k: this is a cpython impl detail

2012-10-10 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57974:c40e27031eda Date: 2012-10-10 16:11 +0200 http://bitbucket.org/pypy/pypy/changeset/c40e27031eda/ Log:this is a cpython impl detail diff --git a/lib-python/3.2/test/test_int.py b/lib-python/3.2/test/test_int.py --- a/lib-python/3.2/test/test

[pypy-commit] pypy py3k: allow unicode spaces in int literals

2012-10-10 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57973:76ac06f4ecdf Date: 2012-10-10 16:08 +0200 http://bitbucket.org/pypy/pypy/changeset/76ac06f4ecdf/ Log:allow unicode spaces in int literals diff --git a/pypy/objspace/std/test/test_unicodeobject.py b/pypy/objspace/std/test/test_unicodeobject

[pypy-commit] pypy py3k: getsizeof is an impl detail

2012-10-10 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57976:7e1c4acc4231 Date: 2012-10-10 17:01 +0200 http://bitbucket.org/pypy/pypy/changeset/7e1c4acc4231/ Log:getsizeof is an impl detail diff --git a/lib-python/3.2/test/test_collections.py b/lib-python/3.2/test/test_collections.py --- a/lib-pytho

[pypy-commit] extradoc extradoc: a rough structure of the talk

2012-10-10 Thread cfbolz
Author: Carl Friedrich Bolz Branch: extradoc Changeset: r4845:2f3f32b81966 Date: 2012-10-10 16:37 +0200 http://bitbucket.org/pypy/extradoc/changeset/2f3f32b81966/ Log:a rough structure of the talk diff --git a/talk/vmil2012/presentation/talk.tex b/talk/vmil2012/presentation/talk.tex --- a/t

[pypy-commit] pypy kill-someobject: in-progress

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57972:d3d2090571dd Date: 2012-10-10 15:21 +0200 http://bitbucket.org/pypy/pypy/changeset/d3d2090571dd/ Log:in-progress diff --git a/pypy/module/_rawffi/array.py b/pypy/module/_rawffi/array.py --- a/pypy/module/_rawffi/array.py ++

[pypy-commit] pypy kill-someobject: (fijal, arigo)

2012-10-10 Thread arigo
Author: Armin Rigo Branch: kill-someobject Changeset: r57971:cccfbccb0b5a Date: 2012-10-10 14:48 +0200 http://bitbucket.org/pypy/pypy/changeset/cccfbccb0b5a/ Log:(fijal, arigo) in-progress: refactoring the NoneNotWrapped away, yay diff --git a/pypy/interpreter/gateway.py b/pypy/inte

[pypy-commit] pypy kill-someobject: Needs a custom ErrorWrapper class to repr nicely instead of with escaping.

2012-10-10 Thread arigo
Author: Armin Rigo Branch: kill-someobject Changeset: r57970:5543bcb2c705 Date: 2012-10-10 13:19 +0200 http://bitbucket.org/pypy/pypy/changeset/5543bcb2c705/ Log:Needs a custom ErrorWrapper class to repr nicely instead of with escaping. diff --git a/pypy/annotation/annrpython.py b/py

[pypy-commit] pypy kill-someobject: Fix this test too

2012-10-10 Thread arigo
Author: Armin Rigo Branch: kill-someobject Changeset: r57969:5efa41fbc8c6 Date: 2012-10-10 13:00 +0200 http://bitbucket.org/pypy/pypy/changeset/5efa41fbc8c6/ Log:Fix this test too diff --git a/pypy/translator/c/test/test_extfunc.py b/pypy/translator/c/test/test_extfunc.py --- a/pypy/transla

[pypy-commit] pypy kill-someobject: Fix test_exception. Adds a general way to expect fatal RPython errors.

2012-10-10 Thread arigo
Author: Armin Rigo Branch: kill-someobject Changeset: r57968:b11c05a74ff1 Date: 2012-10-10 11:51 +0200 http://bitbucket.org/pypy/pypy/changeset/b11c05a74ff1/ Log:Fix test_exception. Adds a general way to expect fatal RPython errors. diff --git a/pypy/translator/c/test/test_exception.

[pypy-commit] pypy kill-someobject: Fix in test_extfunc: avoids the test runner getting killed with SIGUSR1.

2012-10-10 Thread arigo
Author: Armin Rigo Branch: kill-someobject Changeset: r57967:cec6ccad68b1 Date: 2012-10-10 11:38 +0200 http://bitbucket.org/pypy/pypy/changeset/cec6ccad68b1/ Log:Fix in test_extfunc: avoids the test runner getting killed with SIGUSR1. diff --git a/pypy/translator/c/test/test_extfunc.

[pypy-commit] pypy default: Spelling and grammatical errors spotted by lintian

2012-10-10 Thread stefanor
Author: Stefano Rivera Branch: Changeset: r57966:188d16ca09be Date: 2012-10-10 11:28 +0200 http://bitbucket.org/pypy/pypy/changeset/188d16ca09be/ Log:Spelling and grammatical errors spotted by lintian diff --git a/py/_io/capture.py b/py/_io/capture.py --- a/py/_io/capture.py +++ b/py/_io/ca

[pypy-commit] pypy default: Update from cffi.

2012-10-10 Thread arigo
Author: Armin Rigo Branch: Changeset: r57965:565fa280208d Date: 2012-10-10 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/565fa280208d/ Log:Update from cffi. diff --git a/pypy/module/_cffi_backend/newtype.py b/pypy/module/_cffi_backend/newtype.py --- a/pypy/module/_cffi_backend/newty

[pypy-commit] pypy kill-someobject: fix test_interactive

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57964:b55b47d177f4 Date: 2012-10-10 11:12 +0200 http://bitbucket.org/pypy/pypy/changeset/b55b47d177f4/ Log:fix test_interactive diff --git a/pypy/bin/translatorshell.py b/pypy/bin/translatorshell.py --- a/pypy/bin/translatorshell

[pypy-commit] pypy kill-someobject: kill the ability to not pass arguments to translate

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: kill-someobject Changeset: r57963:f81dc995c1dc Date: 2012-10-09 18:23 +0200 http://bitbucket.org/pypy/pypy/changeset/f81dc995c1dc/ Log:kill the ability to not pass arguments to translate diff --git a/pypy/config/test/test_config.py b/pypy/config/test/test_c

[pypy-commit] cffi default: Fixes for Python 3.

2012-10-10 Thread arigo
Author: Armin Rigo Branch: Changeset: r997:69cddb87c25f Date: 2012-10-10 11:07 +0200 http://bitbucket.org/cffi/cffi/changeset/69cddb87c25f/ Log:Fixes for Python 3. diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -1161,7 +1161,7 @@ assert "must be a str or

[pypy-commit] buildbot default: reorder and disable the lock for now

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r708:f0489e4edd86 Date: 2012-10-10 11:00 +0200 http://bitbucket.org/pypy/buildbot/changeset/f0489e4edd86/ Log:reorder and disable the lock for now diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybuildbot/master.py --- a/bot2/pypybuildbot/mas

[pypy-commit] buildbot default: oops, one missing

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r707:8b5f1dc1dd1e Date: 2012-10-10 10:57 +0200 http://bitbucket.org/pypy/buildbot/changeset/8b5f1dc1dd1e/ Log:oops, one missing diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybuildbot/master.py --- a/bot2/pypybuildbot/master.py +++ b/bot2/p

[pypy-commit] buildbot default: reconfigure slaves and kill old unused target

2012-10-10 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r706:552456ffa2ed Date: 2012-10-10 10:52 +0200 http://bitbucket.org/pypy/buildbot/changeset/552456ffa2ed/ Log:reconfigure slaves and kill old unused target diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybuildbot/master.py --- a/bot2/pypybui

[pypy-commit] cffi default: Enum types are always 'int' so far. Detect overflows.

2012-10-10 Thread arigo
Author: Armin Rigo Branch: Changeset: r996:edd85beeb288 Date: 2012-10-10 09:25 +0200 http://bitbucket.org/cffi/cffi/changeset/edd85beeb288/ Log:Enum types are always 'int' so far. Detect overflows. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_back