[pypy-commit] pypy py3k: fix test_escape_encode (thanks amaury)

2011-11-09 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r48985:7275e7c2a49a Date: 2011-11-09 00:46 -0800 http://bitbucket.org/pypy/pypy/changeset/7275e7c2a49a/ Log:fix test_escape_encode (thanks amaury) diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py --- a/pyp

[pypy-commit] pypy default: skip the test in progress

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r48986:f4506e827118 Date: 2011-11-09 10:52 +0100 http://bitbucket.org/pypy/pypy/changeset/f4506e827118/ Log:skip the test in progress diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py b/pypy/jit/metainterp/optimizeopt/test/test_op

[pypy-commit] pypy default: oups.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r48987:8ca9a7426505 Date: 2011-11-09 10:54 +0100 http://bitbucket.org/pypy/pypy/changeset/8ca9a7426505/ Log:oups. diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/genc.py --- a/pypy/translator/c/genc.py +++ b/pypy/translator/c/genc.py @@ -622,

[pypy-commit] pypy default: (antocuni, arigo)

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r48988:c7616f7a871d Date: 2011-11-09 11:48 +0100 http://bitbucket.org/pypy/pypy/changeset/c7616f7a871d/ Log:(antocuni, arigo) Tentatively fix on Windows: the default calling convention for the JIT should be CDECL (=1), not STDCALL (=0).

[pypy-commit] pyrepl default: adapt encopyright to hg

2011-11-09 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: Changeset: r159:74eb359b4292 Date: 2011-11-09 12:30 +0100 http://bitbucket.org/pypy/pyrepl/changeset/74eb359b4292/ Log:adapt encopyright to hg diff --git a/encopyright.py b/encopyright.py --- a/encopyright.py +++ b/encopyright.py @@ -20,11 +20,10 @@ # CON

[pypy-commit] pyrepl default: cherry pick over tox.ini and hgignore from py3ksupport branch

2011-11-09 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: Changeset: r160:4c4f19046887 Date: 2011-11-09 12:35 +0100 http://bitbucket.org/pypy/pyrepl/changeset/4c4f19046887/ Log:cherry pick over tox.ini and hgignore from py3ksupport branch diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@ -1,3

[pypy-commit] pyrepl py3ksupport: merge default

2011-11-09 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r161:9234e4d1b551 Date: 2011-11-09 12:36 +0100 http://bitbucket.org/pypy/pyrepl/changeset/9234e4d1b551/ Log:merge default diff --git a/encopyright.py b/encopyright.py --- a/encopyright.py +++ b/encopyright.py @@ -20,11 +20,10 @@ # CO

[pypy-commit] pypy win64_gborg: fixed ovfcheck, which needs to skip symbolics. This caused 50 or more gs tests to fail

2011-11-09 Thread ctismer
Author: Christian Tismer Branch: win64_gborg Changeset: r48989:8a0ade5786bf Date: 2011-11-09 12:37 +0100 http://bitbucket.org/pypy/pypy/changeset/8a0ade5786bf/ Log:fixed ovfcheck, which needs to skip symbolics. This caused 50 or more gs tests to fail diff --git a/pypy/rlib/rarithmeti

[pypy-commit] pypy jit-targets: Improve the checking: kills values that are not explicitly given

2011-11-09 Thread arigo
Author: Armin Rigo Branch: jit-targets Changeset: r48990:afc8cfdd9b68 Date: 2011-11-09 13:37 +0100 http://bitbucket.org/pypy/pypy/changeset/afc8cfdd9b68/ Log:Improve the checking: kills values that are not explicitly given as argument. diff --git a/pypy/jit/backend/llgraph/llimpl.py

[pypy-commit] pypy jit-targets: Fix runner_test.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: jit-targets Changeset: r48991:3eba23e52e42 Date: 2011-11-09 13:37 +0100 http://bitbucket.org/pypy/pypy/changeset/3eba23e52e42/ Log:Fix runner_test. diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py --- a/pypy/jit/backend/test

[pypy-commit] pypy jit-targets: Fix.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: jit-targets Changeset: r48992:5477569cf46c Date: 2011-11-09 13:43 +0100 http://bitbucket.org/pypy/pypy/changeset/5477569cf46c/ Log:Fix. diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py --- a/pypy/jit/backend/x86/assembler.py +++ b

[pypy-commit] pypy default: Kill ovfcheck_lshift(), which was only needed before Python 2.4.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r48993:d12fc92b04cc Date: 2011-11-09 13:45 +0100 http://bitbucket.org/pypy/pypy/changeset/d12fc92b04cc/ Log:Kill ovfcheck_lshift(), which was only needed before Python 2.4. diff --git a/pypy/jit/metainterp/optimizeopt/intutils.py b/pypy/jit/metainterp/

[pypy-commit] pypy ffistruct: move this test at the end, after the ones which directly operate on StructDescr

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r48994:128dbcd93861 Date: 2011-11-08 10:46 +0100 http://bitbucket.org/pypy/pypy/changeset/128dbcd93861/ Log:move this test at the end, after the ones which directly operate on StructDescr diff --git a/pypy/module/_ffi/test/test_struct

[pypy-commit] pypy ffistruct: copy the logic to cope with field alignment from _rawffi, the failing test now passes

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r48996:fd6938fabf7b Date: 2011-11-08 13:00 +0100 http://bitbucket.org/pypy/pypy/changeset/fd6938fabf7b/ Log:copy the logic to cope with field alignment from _rawffi, the failing test now passes diff --git a/pypy/module/_ffi/interp_ffi

[pypy-commit] pypy ffistruct: small refactor, and add a failing test

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r48995:0d79a558d6fc Date: 2011-11-08 12:11 +0100 http://bitbucket.org/pypy/pypy/changeset/0d79a558d6fc/ Log:small refactor, and add a failing test diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pypy/

[pypy-commit] pypy ffistruct: adjust the total size according to the alignment: this makes more tests passing

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r48998:f73603fe9a7d Date: 2011-11-08 14:10 +0100 http://bitbucket.org/pypy/pypy/changeset/f73603fe9a7d/ Log:adjust the total size according to the alignment: this makes more tests passing diff --git a/pypy/module/_ffi/interp_struct.py

[pypy-commit] pypy ffistruct: add unit tests for compute_size_and_alignment; the last ones fails and are commented out for now

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r48997:9bd55ee3776f Date: 2011-11-08 13:19 +0100 http://bitbucket.org/pypy/pypy/changeset/9bd55ee3776f/ Log:add unit tests for compute_size_and_alignment; the last ones fails and are commented out for now diff --git a/pypy/module/_ffi

[pypy-commit] pypy ffistruct: add support for getting/setting signed values other than long

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49000:175c37225dc8 Date: 2011-11-08 18:49 +0100 http://bitbucket.org/pypy/pypy/changeset/175c37225dc8/ Log:add support for getting/setting signed values other than long diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/inter

[pypy-commit] pypy ffistruct: build the TYPE_MAP dictionaries but preserves the list: this is because we want to avoid key-clashing (e.g., on 32bit rffi.UINT: ffi_type_sint is overwritten by rffi.LONG

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r48999:e9fe7124b7c6 Date: 2011-11-08 18:46 +0100 http://bitbucket.org/pypy/pypy/changeset/e9fe7124b7c6/ Log:build the TYPE_MAP dictionaries but preserves the list: this is because we want to avoid key-clashing (e.g., on 32bit rffi.UINT

[pypy-commit] pypy ffistruct: make sure that we properly convert a sbyte >= 128 into a negative value when we set it. This requires to change the TYPE_MAP_INT in clibffi.py, which was wrong before (rf

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49001:aa53c87e4cdf Date: 2011-11-09 10:00 +0100 http://bitbucket.org/pypy/pypy/changeset/aa53c87e4cdf/ Log:make sure that we properly convert a sbyte >= 128 into a negative value when we set it. This requires to change the TYPE_MAP_IN

[pypy-commit] pypy ffistruct: add a test for shorts

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49004:b1f919c81753 Date: 2011-11-09 12:33 +0100 http://bitbucket.org/pypy/pypy/changeset/b1f919c81753/ Log:add a test for shorts diff --git a/pypy/module/_ffi/test/test_struct.py b/pypy/module/_ffi/test/test_struct.py --- a/pypy/module/_ffi

[pypy-commit] pypy ffistruct: add support and tests for unsigned types

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49005:25ce0a707991 Date: 2011-11-09 12:40 +0100 http://bitbucket.org/pypy/pypy/changeset/25ce0a707991/ Log:add support and tests for unsigned types diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pyp

[pypy-commit] pypy ffistruct: make sure that we correctly handle the app-level-long to interp-level-slong conversion

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49002:879029fb8b50 Date: 2011-11-09 10:02 +0100 http://bitbucket.org/pypy/pypy/changeset/879029fb8b50/ Log:make sure that we correctly handle the app-level-long to interp- level-slong conversion diff --git a/pypy/module/_ffi/test/tes

[pypy-commit] pypy ffistruct: (antocuni, arigo around): correctly truncate all the values to a Signed"

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49003:3d6add2cfe84 Date: 2011-11-09 12:14 +0100 http://bitbucket.org/pypy/pypy/changeset/3d6add2cfe84/ Log:(antocuni, arigo around): correctly truncate all the values to a Signed" diff --git a/pypy/module/_ffi/interp_struct.py b/pyp

[pypy-commit] pypy ffistruct: add a new space method to truncate longlongs, similar to space.truncatedint

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49007:ceb799c62245 Date: 2011-11-09 13:39 +0100 http://bitbucket.org/pypy/pypy/changeset/ceb799c62245/ Log:add a new space method to truncate longlongs, similar to space.truncatedint diff --git a/pypy/interpreter/baseobjspace.py b/py

[pypy-commit] pypy ffistruct: add low-level support to get/set (u)longlong fields in libffi

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49006:07587050b13c Date: 2011-11-09 13:16 +0100 http://bitbucket.org/pypy/pypy/changeset/07587050b13c/ Log:add low-level support to get/set (u)longlong fields in libffi diff --git a/pypy/rlib/libffi.py b/pypy/rlib/libffi.py --- a/pypy/rlib/l

[pypy-commit] pypy ffistruct: add an XXX so that I hopefully don't forget this :-)

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49009:f2c743343892 Date: 2011-11-09 13:50 +0100 http://bitbucket.org/pypy/pypy/changeset/f2c743343892/ Log:add an XXX so that I hopefully don't forget this :-) diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.

[pypy-commit] pypy ffistruct: add support for longlongs at applevel

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49008:4e792ca0116c Date: 2011-11-09 13:49 +0100 http://bitbucket.org/pypy/pypy/changeset/4e792ca0116c/ Log:add support for longlongs at applevel diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pypy/m

[pypy-commit] pypy win64_gborg: fixed memorylayout of the GC for win64, format characters

2011-11-09 Thread ctismer
Author: Christian Tismer Branch: win64_gborg Changeset: r49010:305bded94dfb Date: 2011-11-09 13:49 +0100 http://bitbucket.org/pypy/pypy/changeset/305bded94dfb/ Log:fixed memorylayout of the GC for win64, format characters diff --git a/pypy/jit/backend/llsupport/descr.py b/pypy/jit/backend/l

[pypy-commit] pypy win64_gborg: merge

2011-11-09 Thread ctismer
Author: Christian Tismer Branch: win64_gborg Changeset: r49011:5353e7a1dade Date: 2011-11-09 14:37 +0100 http://bitbucket.org/pypy/pypy/changeset/5353e7a1dade/ Log:merge diff --git a/pypy/jit/metainterp/optimizeopt/intutils.py b/pypy/jit/metainterp/optimizeopt/intutils.py --- a/pypy/jit/met

[pypy-commit] pypy jit-targets: Cannot attach the LoopToken by default on a jump(), because we

2011-11-09 Thread arigo
Author: Armin Rigo Branch: jit-targets Changeset: r49013:e41703ed7368 Date: 2011-11-09 13:53 +0100 http://bitbucket.org/pypy/pypy/changeset/e41703ed7368/ Log:Cannot attach the LoopToken by default on a jump(), because we would need to have a TargetToken instead. Fall back to no descr,

[pypy-commit] pypy jit-targets: Fix.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: jit-targets Changeset: r49016:132fd58cb353 Date: 2011-11-09 14:48 +0100 http://bitbucket.org/pypy/pypy/changeset/132fd58cb353/ Log:Fix. diff --git a/pypy/jit/backend/x86/regalloc.py b/pypy/jit/backend/x86/regalloc.py --- a/pypy/jit/backend/x86/regalloc.py +++ b/pyp

[pypy-commit] pypy jit-targets: Fix.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: jit-targets Changeset: r49012:c7eb819ab63b Date: 2011-11-09 13:52 +0100 http://bitbucket.org/pypy/pypy/changeset/c7eb819ab63b/ Log:Fix. diff --git a/pypy/jit/backend/test/calling_convention_test.py b/pypy/jit/backend/test/calling_convention_test.py --- a/pypy/jit/

[pypy-commit] pypy jit-targets: Fixes.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: jit-targets Changeset: r49014:b68ac3a19cec Date: 2011-11-09 14:10 +0100 http://bitbucket.org/pypy/pypy/changeset/b68ac3a19cec/ Log:Fixes. diff --git a/pypy/jit/backend/x86/regalloc.py b/pypy/jit/backend/x86/regalloc.py --- a/pypy/jit/backend/x86/regalloc.py +++ b/p

[pypy-commit] pypy jit-targets: Fix test_random.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: jit-targets Changeset: r49015:6803897157d0 Date: 2011-11-09 14:15 +0100 http://bitbucket.org/pypy/pypy/changeset/6803897157d0/ Log:Fix test_random. diff --git a/pypy/jit/backend/test/test_random.py b/pypy/jit/backend/test/test_random.py --- a/pypy/jit/backend/test

[pypy-commit] pypy ffistruct: rename space.truncatedint into truncatedint_w, and move the corresponding test to test_objspace

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49017:e72220b3ba49 Date: 2011-11-09 14:05 +0100 http://bitbucket.org/pypy/pypy/changeset/e72220b3ba49/ Log:rename space.truncatedint into truncatedint_w, and move the corresponding test to test_objspace diff --git a/pypy/interpreter/

[pypy-commit] pypy numpy-dtype-refactor: start to re-flesh out the dtype interface. now we get to the fun part of exposing the boxes at app level

2011-11-09 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-refactor Changeset: r49019:4f8dd56c9505 Date: 2011-11-09 09:48 -0500 http://bitbucket.org/pypy/pypy/changeset/4f8dd56c9505/ Log:start to re-flesh out the dtype interface. now we get to the fun part of exposing the boxes at app level diff --git

[pypy-commit] pypy ppc-jit-backend: fix an issue in clibffi that is triggered on big endian platforms due to the byte order when casting a larger data type to smaller one to be passed to a function ca

2011-11-09 Thread bivab
Author: David Schneider Branch: ppc-jit-backend Changeset: r49020:1c63c71d3b29 Date: 2011-11-09 16:22 +0100 http://bitbucket.org/pypy/pypy/changeset/1c63c71d3b29/ Log:fix an issue in clibffi that is triggered on big endian platforms due to the byte order when casting a larger data typ

[pypy-commit] pypy numpy-dtype-refactor: added files I forgot

2011-11-09 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-refactor Changeset: r49021:7578bf6439b7 Date: 2011-11-09 10:28 -0500 http://bitbucket.org/pypy/pypy/changeset/7578bf6439b7/ Log:added files I forgot diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__.py --- a/pypy/module

[pypy-commit] pypy ffistruct: Make rarithmetic.longlongmask() translatable.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: ffistruct Changeset: r49022:9699c8a780e1 Date: 2011-11-09 17:03 +0100 http://bitbucket.org/pypy/pypy/changeset/9699c8a780e1/ Log:Make rarithmetic.longlongmask() translatable. diff --git a/pypy/annotation/builtin.py b/pypy/annotation/builtin.py --- a/pypy/annotation

[pypy-commit] pypy ppc-jit-backend: Store PPC64 LR at frame_depth + WORD in prologue. Load R2 in

2011-11-09 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r49024:1bda9131792d Date: 2011-11-09 11:12 -0500 http://bitbucket.org/pypy/pypy/changeset/1bda9131792d/ Log:Store PPC64 LR at frame_depth + WORD in prologue. Load R2 in gen_exit_path call and store R1 when allocating stack. diff --gi

[pypy-commit] pypy win64_gborg: gc inspector works

2011-11-09 Thread ctismer
Author: Christian Tismer Branch: win64_gborg Changeset: r49025:71ab3a388b25 Date: 2011-11-09 17:21 +0100 http://bitbucket.org/pypy/pypy/changeset/71ab3a388b25/ Log:gc inspector works diff --git a/pypy/rpython/lltypesystem/rffi.py b/pypy/rpython/lltypesystem/rffi.py --- a/pypy/rpython/lltype

[pypy-commit] pypy ppc-jit-backend: Deallocate stack in emit_call on PPC64 path.

2011-11-09 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r49026:7589bb11c7e5 Date: 2011-11-09 11:31 -0500 http://bitbucket.org/pypy/pypy/changeset/7589bb11c7e5/ Log:Deallocate stack in emit_call on PPC64 path. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/o

[pypy-commit] pypy default: Must close the file explicitly; otherwise, on Windows, we cannot unlink it before the GC runs

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r49027:d44e050d460e Date: 2011-11-09 17:28 +0100 http://bitbucket.org/pypy/pypy/changeset/d44e050d460e/ Log:Must close the file explicitly; otherwise, on Windows, we cannot unlink it before the GC runs diff --git a/lib-python/2.7/test/test_os.py

[pypy-commit] pypy default: Rename the decorator. Fijal: can you use it on some of

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r49028:5476689a4d73 Date: 2011-11-09 17:40 +0100 http://bitbucket.org/pypy/pypy/changeset/5476689a4d73/ Log:Rename the decorator. Fijal: can you use it on some of the __del__s where it is important that the finalizer is lightweight? Thanks :-) d

[pypy-commit] pypy default: Missing f.close().

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r49029:36f8f2531dfe Date: 2011-11-09 17:46 +0100 http://bitbucket.org/pypy/pypy/changeset/36f8f2531dfe/ Log:Missing f.close(). diff --git a/lib-python/2.7/pkgutil.py b/lib-python/modified-2.7/pkgutil.py copy from lib-python/2.7/pkgutil.py copy to lib-py

[pypy-commit] pypy default: Copy the logic for math.fmod() from CPython 2.7.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r49030:165672fb2aef Date: 2011-11-09 17:54 +0100 http://bitbucket.org/pypy/pypy/changeset/165672fb2aef/ Log:Copy the logic for math.fmod() from CPython 2.7. diff --git a/pypy/rpython/lltypesystem/module/ll_math.py b/pypy/rpython/lltypesystem/module/ll_

[pypy-commit] pypy default: Tweak for the common case: use isfinite() more often,

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r49031:df7f0844e6b4 Date: 2011-11-09 18:13 +0100 http://bitbucket.org/pypy/pypy/changeset/df7f0844e6b4/ Log:Tweak for the common case: use isfinite() more often, and only fall back to checking isnan() and isinf() if it returns False. diff --git

[pypy-commit] pypy default: Tweak.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r49032:2466f0e89311 Date: 2011-11-09 19:00 +0100 http://bitbucket.org/pypy/pypy/changeset/2466f0e89311/ Log:Tweak. diff --git a/pypy/rpython/lltypesystem/module/ll_math.py b/pypy/rpython/lltypesystem/module/ll_math.py --- a/pypy/rpython/lltypesystem/mo

[pypy-commit] pypy ffistruct: these two functions are not_rpython

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49033:9c29ae18d46b Date: 2011-11-09 17:43 +0100 http://bitbucket.org/pypy/pypy/changeset/9c29ae18d46b/ Log:these two functions are not_rpython diff --git a/pypy/rlib/rarithmetic.py b/pypy/rlib/rarithmetic.py --- a/pypy/rlib/rarithmetic.py ++

[pypy-commit] pypy ffistruct: hg merge default

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49034:06d63733756d Date: 2011-11-09 17:43 +0100 http://bitbucket.org/pypy/pypy/changeset/06d63733756d/ Log:hg merge default diff --git a/lib-python/2.7/test/test_os.py b/lib-python/2.7/test/test_os.py --- a/lib-python/2.7/test/test_os.py +++

[pypy-commit] pypy ffistruct: (antocuni, arigo): this is probably how the test was meant to be

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49035:08175c33f891 Date: 2011-11-09 17:48 +0100 http://bitbucket.org/pypy/pypy/changeset/08175c33f891/ Log:(antocuni, arigo): this is probably how the test was meant to be diff --git a/pypy/translator/backendopt/test/test_finalizer.py b/pyp

[pypy-commit] pypy ffistruct: make sure that these two finalizers are lightweight

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49036:af3519406a19 Date: 2011-11-09 17:49 +0100 http://bitbucket.org/pypy/pypy/changeset/af3519406a19/ Log:make sure that these two finalizers are lightweight diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.p

[pypy-commit] pypy ffistruct: low level support for float fields

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49037:deebd66d7766 Date: 2011-11-09 17:56 +0100 http://bitbucket.org/pypy/pypy/changeset/deebd66d7766/ Log:low level support for float fields diff --git a/pypy/rlib/libffi.py b/pypy/rlib/libffi.py --- a/pypy/rlib/libffi.py +++ b/pypy/rlib/li

[pypy-commit] pypy ffistruct: low-level support for single float fields

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49040:eb02c4c1c0f0 Date: 2011-11-09 18:14 +0100 http://bitbucket.org/pypy/pypy/changeset/eb02c4c1c0f0/ Log:low-level support for single float fields diff --git a/pypy/rlib/libffi.py b/pypy/rlib/libffi.py --- a/pypy/rlib/libffi.py +++ b/pypy/

[pypy-commit] pypy ffistruct: kill duplicate test

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49038:92eec651058f Date: 2011-11-09 17:57 +0100 http://bitbucket.org/pypy/pypy/changeset/92eec651058f/ Log:kill duplicate test diff --git a/pypy/module/_ffi/test/test_struct.py b/pypy/module/_ffi/test/test_struct.py --- a/pypy/module/_ffi/t

[pypy-commit] pypy ffistruct: applevel support for float fields

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49039:0aad7df24682 Date: 2011-11-09 18:02 +0100 http://bitbucket.org/pypy/pypy/changeset/0aad7df24682/ Log:applevel support for float fields diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pypy/modul

[pypy-commit] pypy ffistruct: applevel support for single float fields

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49041:119ae38c2394 Date: 2011-11-09 18:23 +0100 http://bitbucket.org/pypy/pypy/changeset/119ae38c2394/ Log:applevel support for single float fields diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pyp

[pypy-commit] pypy ffistruct: add support for char/unichar fields

2011-11-09 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r49042:5ed2330756bb Date: 2011-11-09 19:11 +0100 http://bitbucket.org/pypy/pypy/changeset/5ed2330756bb/ Log:add support for char/unichar fields diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pypy/mod

[pypy-commit] pypy default: Fix? the Windows build by using the Windows functions _isnan()

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r49043:40d990865485 Date: 2011-11-09 19:20 +0100 http://bitbucket.org/pypy/pypy/changeset/40d990865485/ Log:Fix? the Windows build by using the Windows functions _isnan() and _finite() if we are *not* jitted. diff --git a/pypy/rpython/lltypesyst

[pypy-commit] pypy ppc-jit-backend: Alias TOC as r2.

2011-11-09 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r49044:81f3267b04ed Date: 2011-11-09 13:23 -0500 http://bitbucket.org/pypy/pypy/changeset/81f3267b04ed/ Log:Alias TOC as r2. diff --git a/pypy/jit/backend/ppc/ppcgen/register.py b/pypy/jit/backend/ppc/ppcgen/register.py --- a/pypy/jit/backe

[pypy-commit] pypy ppc-jit-backend: Use PPC64 instructions in _emit_call stack adjustment.

2011-11-09 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r49045:caa24e9f3445 Date: 2011-11-09 13:25 -0500 http://bitbucket.org/pypy/pypy/changeset/caa24e9f3445/ Log:Use PPC64 instructions in _emit_call stack adjustment. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/pp

[pypy-commit] pypy ppc-jit-backend: Implemented calls to C functions.

2011-11-09 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r49046:93688057e7f3 Date: 2011-11-09 19:45 +0100 http://bitbucket.org/pypy/pypy/changeset/93688057e7f3/ Log:Implemented calls to C functions. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.py

[pypy-commit] pypy ppc-jit-backend: merge

2011-11-09 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r49047:68560c739dce Date: 2011-11-09 19:52 +0100 http://bitbucket.org/pypy/pypy/changeset/68560c739dce/ Log:merge diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.py --- a/pypy/jit/backend/ppc/

[pypy-commit] pypy default: Oups.

2011-11-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r49048:d6c0d1f92e1b Date: 2011-11-09 20:34 +0100 http://bitbucket.org/pypy/pypy/changeset/d6c0d1f92e1b/ Log:Oups. diff --git a/pypy/rpython/lltypesystem/module/ll_math.py b/pypy/rpython/lltypesystem/module/ll_math.py --- a/pypy/rpython/lltypesystem/mod

[pypy-commit] pypy jit-targets: hg merge jit-refactor-tests

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49049:83bf8f708ffa Date: 2011-11-08 18:02 +0100 http://bitbucket.org/pypy/pypy/changeset/83bf8f708ffa/ Log:hg merge jit-refactor-tests diff --git a/pypy/jit/metainterp/test/test_del.py b/pypy/jit/metainterp/test/test_del.py --- a/pypy/jit/m

[pypy-commit] pypy jit-targets: merge messup?

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49050:91a9170e92e8 Date: 2011-11-08 18:13 +0100 http://bitbucket.org/pypy/pypy/changeset/91a9170e92e8/ Log:merge messup? diff --git a/pypy/jit/metainterp/test/test_ajit.py b/pypy/jit/metainterp/test/test_ajit.py --- a/pypy/jit/metainterp/te

[pypy-commit] pypy jit-targets: add test and comment

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49052:8163b98e813f Date: 2011-11-08 19:05 +0100 http://bitbucket.org/pypy/pypy/changeset/8163b98e813f/ Log:add test and comment diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py --- a/pypy/jit/metainterp/compile.py

[pypy-commit] pypy jit-targets: kill OptInlineShortPreamble

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49053:3dde4cbdcf1b Date: 2011-11-08 19:24 +0100 http://bitbucket.org/pypy/pypy/changeset/3dde4cbdcf1b/ Log:kill OptInlineShortPreamble diff --git a/pypy/jit/metainterp/optimizeopt/__init__.py b/pypy/jit/metainterp/optimizeopt/__init__.py --

[pypy-commit] pypy jit-targets: started to fix tests (in progress)

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49054:f9dccf780ad3 Date: 2011-11-09 20:28 +0100 http://bitbucket.org/pypy/pypy/changeset/f9dccf780ad3/ Log:started to fix tests (in progress) diff --git a/pypy/jit/metainterp/test/test_virtual.py b/pypy/jit/metainterp/test/test_virtual.py -

[pypy-commit] pypy jit-targets: fixed test

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49051:08641d9e164d Date: 2011-11-08 18:32 +0100 http://bitbucket.org/pypy/pypy/changeset/08641d9e164d/ Log:fixed test diff --git a/pypy/jit/metainterp/test/test_ajit.py b/pypy/jit/metainterp/test/test_ajit.py --- a/pypy/jit/metainterp/test/

[pypy-commit] pypy win64_gborg: fixed test_compute_hash

2011-11-09 Thread ctismer
Author: Christian Tismer Branch: win64_gborg Changeset: r49056:de489f7cb78d Date: 2011-11-09 20:50 +0100 http://bitbucket.org/pypy/pypy/changeset/de489f7cb78d/ Log:fixed test_compute_hash diff --git a/pypy/rpython/lltypesystem/opimpl.py b/pypy/rpython/lltypesystem/opimpl.py --- a/pypy/rpyth

[pypy-commit] pypy ppc-jit-backend: Added code for call to C functions again :(

2011-11-09 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r49057:dcde3df53cd8 Date: 2011-11-09 20:53 +0100 http://bitbucket.org/pypy/pypy/changeset/dcde3df53cd8/ Log:Added code for call to C functions again :( diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py b/pypy/jit/backend/ppc/ppcgen/pp

[pypy-commit] pypy ppc-jit-backend: PPC64 guard compares

2011-11-09 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r49058:1e101fe11932 Date: 2011-11-09 15:02 -0500 http://bitbucket.org/pypy/pypy/changeset/1e101fe11932/ Log:PPC64 guard compares diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.py --- a/pypy

[pypy-commit] pypy win64_gborg: fixed rbigint

2011-11-09 Thread ctismer
Author: Christian Tismer Branch: win64_gborg Changeset: r49059:8ac04a128037 Date: 2011-11-09 21:23 +0100 http://bitbucket.org/pypy/pypy/changeset/8ac04a128037/ Log:fixed rbigint diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py --- a/pypy/rlib/rbigint.py +++ b/pypy/rlib/rbigint.py @@

[pypy-commit] pypy win64_gborg: fixed test_rerased to show only the single error which it apparently had before ; -)

2011-11-09 Thread ctismer
Author: Christian Tismer Branch: win64_gborg Changeset: r49060:0bf72ed106e7 Date: 2011-11-09 21:43 +0100 http://bitbucket.org/pypy/pypy/changeset/0bf72ed106e7/ Log:fixed test_rerased to show only the single error which it apparently had before ;-) diff --git a/pypy/rlib/rerased.py b/

[pypy-commit] pypy jit-targets: fix test

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49061:ae7f187cc6fc Date: 2011-11-09 20:55 +0100 http://bitbucket.org/pypy/pypy/changeset/ae7f187cc6fc/ Log:fix test diff --git a/pypy/jit/metainterp/test/test_virtual.py b/pypy/jit/metainterp/test/test_virtual.py --- a/pypy/jit/metainterp/t

[pypy-commit] pypy jit-targets: centralize target token counter

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49062:915eabbf8e27 Date: 2011-11-09 21:00 +0100 http://bitbucket.org/pypy/pypy/changeset/915eabbf8e27/ Log:centralize target token counter diff --git a/pypy/jit/metainterp/test/support.py b/pypy/jit/metainterp/test/support.py --- a/pypy/jit

[pypy-commit] pypy jit-targets: fix tests

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49065:b2fbfc8c5fef Date: 2011-11-09 21:19 +0100 http://bitbucket.org/pypy/pypy/changeset/b2fbfc8c5fef/ Log:fix tests diff --git a/pypy/jit/metainterp/test/test_string.py b/pypy/jit/metainterp/test/test_string.py --- a/pypy/jit/metainterp/te

[pypy-commit] pypy jit-targets: fix test

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49063:8fc9c0d93a1c Date: 2011-11-09 21:07 +0100 http://bitbucket.org/pypy/pypy/changeset/8fc9c0d93a1c/ Log:fix test diff --git a/pypy/jit/metainterp/test/test_virtual.py b/pypy/jit/metainterp/test/test_virtual.py --- a/pypy/jit/metainterp/t

[pypy-commit] pypy jit-targets: optimize_trace might be forced to insert sameas operations infront of the label

2011-11-09 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r49064:aa824f7255e6 Date: 2011-11-09 21:15 +0100 http://bitbucket.org/pypy/pypy/changeset/aa824f7255e6/ Log:optimize_trace might be forced to insert sameas operations infront of the label diff --git a/pypy/jit/metainterp/compile.py b/

[pypy-commit] pypy default: Allow very basic multiple inheritance of app-level types in RPython. Thanks to amaury for the review/suggestions.

2011-11-09 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r49066:90b293e995c7 Date: 2011-11-09 16:44 -0500 http://bitbucket.org/pypy/pypy/changeset/90b293e995c7/ Log:Allow very basic multiple inheritance of app-level types in RPython. Thanks to amaury for the review/suggestions. diff --git a/pypy/inte

[pypy-commit] pypy default: Fix for various ops on bools.

2011-11-09 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r49067:6ccba9d4e2b8 Date: 2011-11-09 17:40 -0500 http://bitbucket.org/pypy/pypy/changeset/6ccba9d4e2b8/ Log:Fix for various ops on bools. diff --git a/pypy/objspace/std/stdtypedef.py b/pypy/objspace/std/stdtypedef.py --- a/pypy/objspace/std/stdtypedef.

[pypy-commit] pypy default: fix for a typo and cpyext

2011-11-09 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r49068:1428f8ab1883 Date: 2011-11-09 17:42 -0500 http://bitbucket.org/pypy/pypy/changeset/1428f8ab1883/ Log:fix for a typo and cpyext diff --git a/pypy/module/cpyext/pyobject.py b/pypy/module/cpyext/pyobject.py --- a/pypy/module/cpyext/pyobject.py +++

[pypy-commit] pypy default: This needs to be a list ot be RPython

2011-11-09 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r49069:62bc56457861 Date: 2011-11-09 17:53 -0500 http://bitbucket.org/pypy/pypy/changeset/62bc56457861/ Log:This needs to be a list ot be RPython diff --git a/pypy/interpreter/typedef.py b/pypy/interpreter/typedef.py --- a/pypy/interpreter/typedef.py +

[pypy-commit] pypy py3k: fix str() on bytes, reenable the -b cmd line opt

2011-11-09 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r49070:c1972bf3e125 Date: 2011-11-09 16:54 -0800 http://bitbucket.org/pypy/pypy/changeset/c1972bf3e125/ Log:fix str() on bytes, reenable the -b cmd line opt diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py --- a

[pypy-commit] pypy py3k: pass through source as bytes to the compiler

2011-11-09 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r49071:bc99fcedc6e4 Date: 2011-11-09 17:51 -0800 http://bitbucket.org/pypy/pypy/changeset/bc99fcedc6e4/ Log:pass through source as bytes to the compiler diff --git a/pypy/interpreter/main.py b/pypy/interpreter/main.py --- a/pypy/interpreter/main.

[pypy-commit] pypy py3k: builtins.ascii

2011-11-09 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r49072:e0b22cef21b6 Date: 2011-11-09 17:53 -0800 http://bitbucket.org/pypy/pypy/changeset/e0b22cef21b6/ Log:builtins.ascii diff --git a/pypy/module/__builtin__/__init__.py b/pypy/module/__builtin__/__init__.py --- a/pypy/module/__builtin__/__ini

[pypy-commit] pypy py3k: reapply our sysconfig modifications to 3.2

2011-11-09 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r49073:d1ca09d10665 Date: 2011-11-09 18:20 -0800 http://bitbucket.org/pypy/pypy/changeset/d1ca09d10665/ Log:reapply our sysconfig modifications to 3.2 diff --git a/lib-python/modified-3.2/sysconfig.py b/lib-python/modified-3.2/sysconfig.py new f

[pypy-commit] pypy py3k: get ascii translating

2011-11-09 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r49074:53974c65ef6d Date: 2011-11-09 19:36 -0800 http://bitbucket.org/pypy/pypy/changeset/53974c65ef6d/ Log:get ascii translating diff --git a/pypy/module/__builtin__/operation.py b/pypy/module/__builtin__/operation.py --- a/pypy/module/__builti

[pypy-commit] pypy py3k: fix translation

2011-11-09 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r49075:670a25758031 Date: 2011-11-09 20:21 -0800 http://bitbucket.org/pypy/pypy/changeset/670a25758031/ Log:fix translation diff --git a/pypy/objspace/std/unicodetype.py b/pypy/objspace/std/unicodetype.py --- a/pypy/objspace/std/unicodetype.py ++