[pypy-commit] pypy default: fix test

2011-10-21 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48338:f7b183bbffb3 Date: 2011-10-21 21:27 -0700 http://bitbucket.org/pypy/pypy/changeset/f7b183bbffb3/ Log:fix test diff --git a/pypy/module/pypyjit/test_pypy_c/test_containers.py b/pypy/module/pypyjit/test_pypy_c/test_containers.py --- a/pypy/module

[pypy-commit] pypy py3k: Reduce the list of non-working modules

2011-10-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48336:56294dacd7ca Date: 2011-10-22 00:24 +0200 http://bitbucket.org/pypy/pypy/changeset/56294dacd7ca/ Log:Reduce the list of non-working modules diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyopt

[pypy-commit] pypy py3k: Implement _hashlib.openssl_md_meth_names, needed by hashlib.py

2011-10-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48333:08ea3258278e Date: 2011-10-22 00:24 +0200 http://bitbucket.org/pypy/pypy/changeset/08ea3258278e/ Log:Implement _hashlib.openssl_md_meth_names, needed by hashlib.py diff --git a/pypy/module/_hashlib/__init__.py b/pypy/module/_hashlib

[pypy-commit] pypy py3k: Correctly implement isatty() on text files.

2011-10-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48332:c4c393a85de6 Date: 2011-10-22 00:24 +0200 http://bitbucket.org/pypy/pypy/changeset/c4c393a85de6/ Log:Correctly implement isatty() on text files. Important for the interactive mode! diff --git a/pypy/module/_io/interp_textio.

[pypy-commit] pypy py3k: Various translation fixes

2011-10-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48331:dd152a06badd Date: 2011-10-22 00:24 +0200 http://bitbucket.org/pypy/pypy/changeset/dd152a06badd/ Log:Various translation fixes diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py --- a/pypy/modu

[pypy-commit] pypy py3k: This tweak is not necessary anymore

2011-10-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48335:643e31c7752c Date: 2011-10-22 00:24 +0200 http://bitbucket.org/pypy/pypy/changeset/643e31c7752c/ Log:This tweak is not necessary anymore diff --git a/lib-python/3.2/tokenize.py b/lib-python/3.2/tokenize.py --- a/lib-python/3.2/token

[pypy-commit] pypy py3k: astcompiler: remove special code for the exec statement

2011-10-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48330:8e974d408b19 Date: 2011-10-22 00:24 +0200 http://bitbucket.org/pypy/pypy/changeset/8e974d408b19/ Log:astcompiler: remove special code for the exec statement diff --git a/pypy/interpreter/astcompiler/codegen.py b/pypy/interpreter/as

[pypy-commit] pypy py3k: Fixes for the hashlib module

2011-10-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48334:7ab59b0b6fc2 Date: 2011-10-22 00:24 +0200 http://bitbucket.org/pypy/pypy/changeset/7ab59b0b6fc2/ Log:Fixes for the hashlib module diff --git a/lib_pypy/_sha.py b/lib_pypy/_sha.py deleted file mode 100644 --- a/lib_pypy/_sha.py +++ /

[pypy-commit] pypy py3k: Fix the cpyext module, at least py.py can import it without segfaulting

2011-10-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48329:928a4651aa4e Date: 2011-10-22 00:24 +0200 http://bitbucket.org/pypy/pypy/changeset/928a4651aa4e/ Log:Fix the cpyext module, at least py.py can import it without segfaulting diff --git a/pypy/module/cpyext/funcobject.py b/pyp

pypy-commit@python.org

2011-10-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48328:8b87c77d1645 Date: 2011-10-22 00:24 +0200 http://bitbucket.org/pypy/pypy/changeset/8b87c77d1645/ Log:Use the new io stack for sys.stdout &friends sys.stdout is not prebuilt anymore - translated code build it in app_ma

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

2011-10-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r48326:a1b22fb6a092 Date: 2011-10-21 23:26 +0200 http://bitbucket.org/pypy/pypy/changeset/a1b22fb6a092/ Log:Test and trivial fix. diff --git a/pypy/module/__builtin__/app_io.py b/pypy/module/__builtin__/app_io.py --- a/pypy/module/__builtin__/app_io.py

[pypy-commit] pypy inline-dict-ops: closed branch for merge

2011-10-21 Thread alex_gaynor
Author: Alex Gaynor Branch: inline-dict-ops Changeset: r48324:f5cb6b7f9319 Date: 2011-10-21 14:24 -0700 http://bitbucket.org/pypy/pypy/changeset/f5cb6b7f9319/ Log:closed branch for merge ___ pypy-commit mailing list pypy-commit@python.org http://ma

[pypy-commit] pypy inline-dict-ops: Workaround: add 'arraydescr' and 'fielddescr' on the class too,

2011-10-21 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r48322:60b28b27a311 Date: 2011-10-21 23:14 +0200 http://bitbucket.org/pypy/pypy/changeset/60b28b27a311/ Log:Workaround: add 'arraydescr' and 'fielddescr' on the class too, like we do in other classes, for tests where the annotator

[pypy-commit] pypy inline-dict-ops: Revert d0bcf756f012, which breaks test_ztranslation. Will fix

2011-10-21 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r48321:0c7d048ff30c Date: 2011-10-21 23:12 +0200 http://bitbucket.org/pypy/pypy/changeset/0c7d048ff30c/ Log:Revert d0bcf756f012, which breaks test_ztranslation. Will fix test_zrpy_gc in a way that is more consistent with the existi

[pypy-commit] pypy inline-dict-ops: Add missing setannotation(..).

2011-10-21 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r48320:f5633dceb9bf Date: 2011-10-21 23:01 +0200 http://bitbucket.org/pypy/pypy/changeset/f5633dceb9bf/ Log:Add missing setannotation(..). diff --git a/pypy/jit/backend/llgraph/llimpl.py b/pypy/jit/backend/llgraph/llimpl.py --- a/pypy/ji

[pypy-commit] extradoc extradoc: Add Sam Lade.

2011-10-21 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r3937:e6950a6c5199 Date: 2011-10-21 22:27 +0200 http://bitbucket.org/pypy/extradoc/changeset/e6950a6c5199/ Log:Add Sam Lade. diff --git a/sprintinfo/gothenburg-2011-2/people.txt b/sprintinfo/gothenburg-2011-2/people.txt --- a/sprintinfo/gothenb

[pypy-commit] pypy default: (arigo, cfbolz): add sanity checks to make sure that tagged pointers are

2011-10-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r48319:d33ecc0a1ac0 Date: 2011-10-21 17:58 +0200 http://bitbucket.org/pypy/pypy/changeset/d33ecc0a1ac0/ Log:(arigo, cfbolz): add sanity checks to make sure that tagged pointers are enabled when erase_int is used. diff --git a/pypy/rlib/

[pypy-commit] pypy default: merge

2011-10-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r48317:9718181b5d75 Date: 2011-10-21 17:47 +0200 http://bitbucket.org/pypy/pypy/changeset/9718181b5d75/ Log:merge diff --git a/pypy/translator/c/database.py b/pypy/translator/c/database.py --- a/pypy/translator/c/database.py +++ b/pypy/translat

[pypy-commit] pypy default: (arigo, cfbolz): also split up the nonfuncnodes according to where they are

2011-10-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r48316:9a6c4ff948c1 Date: 2011-10-21 17:37 +0200 http://bitbucket.org/pypy/pypy/changeset/9a6c4ff948c1/ Log:(arigo, cfbolz): also split up the nonfuncnodes according to where they are used. slightly obscure (just as the rest of the C bac

[pypy-commit] pypy default: a test that rerased works after translation to C, which it didn't, so a fix too.

2011-10-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r48315:8494d35800e1 Date: 2011-10-21 17:23 +0200 http://bitbucket.org/pypy/pypy/changeset/8494d35800e1/ Log:a test that rerased works after translation to C, which it didn't, so a fix too. diff --git a/pypy/translator/c/gcc/test/test_as

[pypy-commit] pypy ppc-jit-backend: Implemented PTR_EQ and PTR_NE.

2011-10-21 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48314:51bb8d251b9f Date: 2011-10-21 17:36 +0200 http://bitbucket.org/pypy/pypy/changeset/51bb8d251b9f/ Log:Implemented PTR_EQ and PTR_NE. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.py --

[pypy-commit] pypy ppc-jit-backend: Implemented GUARD_CLASS and GUARD_NONNULL_CLASS.

2011-10-21 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48313:6c9c2b1b0146 Date: 2011-10-21 17:16 +0200 http://bitbucket.org/pypy/pypy/changeset/6c9c2b1b0146/ Log:Implemented GUARD_CLASS and GUARD_NONNULL_CLASS. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen

[pypy-commit] pypy inline-dict-ops: Add correct overflow checking for Boehm's malloc

2011-10-21 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r48312:ea30df33f75c Date: 2011-10-21 16:23 +0200 http://bitbucket.org/pypy/pypy/changeset/ea30df33f75c/ Log:Add correct overflow checking for Boehm's malloc diff --git a/pypy/jit/backend/llsupport/gc.py b/pypy/jit/backend/llsupport/gc.py

[pypy-commit] pypy ppc-jit-backend: Implemented a few guard operations.

2011-10-21 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48311:63cb14dbd14c Date: 2011-10-21 16:05 +0200 http://bitbucket.org/pypy/pypy/changeset/63cb14dbd14c/ Log:Implemented a few guard operations. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.

[pypy-commit] pypy inline-dict-ops: Move this hack away from lltype. This logic is needed to have

2011-10-21 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r48310:cebb862ad03f Date: 2011-10-21 15:12 +0200 http://bitbucket.org/pypy/pypy/changeset/cebb862ad03f/ Log:Move this hack away from lltype. This logic is needed to have lltype correctly detect accesses inside dead GcStruct. diff

[pypy-commit] pypy inline-dict-ops: Small fixes in preparation for the merge.

2011-10-21 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r48309:bf8fa9caf308 Date: 2011-10-21 15:05 +0200 http://bitbucket.org/pypy/pypy/changeset/bf8fa9caf308/ Log:Small fixes in preparation for the merge. diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py ---

[pypy-commit] pypy ppc-jit-backend: Implemented GETFIELD_GC and SETFIELD_GC.

2011-10-21 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48308:528c82230eac Date: 2011-10-21 15:03 +0200 http://bitbucket.org/pypy/pypy/changeset/528c82230eac/ Log:Implemented GETFIELD_GC and SETFIELD_GC. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassem

[pypy-commit] pypy ppc-jit-backend: (bivab, hager): Implemented GUARD_FALSE.

2011-10-21 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48307:28ec327820ce Date: 2011-10-21 11:52 +0200 http://bitbucket.org/pypy/pypy/changeset/28ec327820ce/ Log:(bivab, hager): Implemented GUARD_FALSE. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassem

[pypy-commit] pypy inline-dict-ops: Sign in getinteriorfield_gc, test and fix (at least for llsupport).

2011-10-21 Thread arigo
Author: Armin Rigo Branch: inline-dict-ops Changeset: r48306:c9296c708287 Date: 2011-10-21 14:08 +0200 http://bitbucket.org/pypy/pypy/changeset/c9296c708287/ Log:Sign in getinteriorfield_gc, test and fix (at least for llsupport). diff --git a/pypy/jit/backend/llsupport/llmodel.py b/pypy/jit

[pypy-commit] pypy stm: Extra checks.

2011-10-21 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48303:95787a032c12 Date: 2011-10-20 22:26 +0200 http://bitbucket.org/pypy/pypy/changeset/95787a032c12/ Log:Extra checks. diff --git a/pypy/translator/stm/test/test_rstm.py b/pypy/translator/stm/test/test_rstm.py --- a/pypy/translator/stm/test/test_

[pypy-commit] pypy inline-dict-ops: fix for 32-bits

2011-10-21 Thread alex_gaynor
Author: Alex Gaynor Branch: inline-dict-ops Changeset: r48302:c4e352fecd3c Date: 2011-10-21 13:39 +0200 http://bitbucket.org/pypy/pypy/changeset/c4e352fecd3c/ Log:fix for 32-bits diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py --- a/pypy/jit/backend/

[pypy-commit] pypy ppc-jit-backend: (bivab, hager): Implemented support for bridges.

2011-10-21 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48301:e944a8524e86 Date: 2011-10-21 11:45 +0200 http://bitbucket.org/pypy/pypy/changeset/e944a8524e86/ Log:(bivab, hager): Implemented support for bridges. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen

[pypy-commit] pypy list-strategies: quicksort turned out to be not that good. instead we use a special TimSort implementation for ints

2011-10-21 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r48300:05582d7696ee Date: 2011-10-21 11:07 +0200 http://bitbucket.org/pypy/pypy/changeset/05582d7696ee/ Log:quicksort turned out to be not that good. instead we use a special TimSort implementation for ints diff --git a/pypy/o

[pypy-commit] pypy list-strategies: more test coverage

2011-10-21 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r48299:13c5be7af43d Date: 2011-10-21 11:01 +0200 http://bitbucket.org/pypy/pypy/changeset/13c5be7af43d/ Log:more test coverage diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/list

[pypy-commit] pypy inline-dict-ops: fix the numbers

2011-10-21 Thread alex_gaynor
Author: Alex Gaynor Branch: inline-dict-ops Changeset: r48298:e9121bf561b1 Date: 2011-10-21 03:55 -0400 http://bitbucket.org/pypy/pypy/changeset/e9121bf561b1/ Log:fix the numbers diff --git a/pypy/module/pypyjit/test_pypy_c/test_containers.py b/pypy/module/pypyjit/test_pypy_c/test_container