[pypy-commit] pypy gc-del: Fixes. Now an -O2 translates :-)

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63674:1a9bed8849c5 Date: 2013-04-27 09:03 +0200 http://bitbucket.org/pypy/pypy/changeset/1a9bed8849c5/ Log:Fixes. Now an -O2 translates :-) diff --git a/pypy/module/_multibytecodec/interp_incremental.py b/pypy/module/_multibytecodec/interp_incre

[pypy-commit] pypy gc-del: Minimal support for register_finalizer() in the JIT

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63675:bc7623f7e088 Date: 2013-04-27 10:05 +0200 http://bitbucket.org/pypy/pypy/changeset/bc7623f7e088/ Log:Minimal support for register_finalizer() in the JIT diff --git a/rpython/jit/backend/llsupport/gc.py b/rpython/jit/backend/llsupport/gc.py

[pypy-commit] pypy gc-del: Fix.

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63676:5b73e19cd57a Date: 2013-04-27 11:08 +0200 http://bitbucket.org/pypy/pypy/changeset/5b73e19cd57a/ Log:Fix. diff --git a/rpython/jit/backend/model.py b/rpython/jit/backend/model.py --- a/rpython/jit/backend/model.py +++ b/rpython/jit/backend/

[pypy-commit] pypy gc-del: Document the limitations of __del__ methods.

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63677:3cf9d416b252 Date: 2013-04-27 11:10 +0200 http://bitbucket.org/pypy/pypy/changeset/3cf9d416b252/ Log:Document the limitations of __del__ methods. diff --git a/pypy/doc/coding-guide.rst b/pypy/doc/coding-guide.rst --- a/pypy/doc/coding-guide

[pypy-commit] pypy gc-del: Fix the JIT.

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63678:22647ef08aef Date: 2013-04-27 11:58 +0200 http://bitbucket.org/pypy/pypy/changeset/22647ef08aef/ Log:Fix the JIT. diff --git a/rpython/jit/backend/llsupport/gc.py b/rpython/jit/backend/llsupport/gc.py --- a/rpython/jit/backend/llsupport/gc

[pypy-commit] pypy default: Use %r in case it is a random character

2013-04-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r63679:11228d2fa0bb Date: 2013-04-27 12:29 +0200 http://bitbucket.org/pypy/pypy/changeset/11228d2fa0bb/ Log:Use %r in case it is a random character diff --git a/rpython/translator/backendopt/merge_if_blocks.py b/rpython/translator/backendopt/merge_if_b

[pypy-commit] pypy gc-del: Constant-fold some more checks of GCFLAG_HAS_CARDS for the case

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63680:2e7d8798d967 Date: 2013-04-27 12:55 +0200 http://bitbucket.org/pypy/pypy/changeset/2e7d8798d967/ Log:Constant-fold some more checks of GCFLAG_HAS_CARDS for the case where we're compiled without card support. diff --git a/rpython/mem

[pypy-commit] pypy gc-del: More fixes

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63683:7c88b2c3b7ca Date: 2013-04-27 13:15 +0200 http://bitbucket.org/pypy/pypy/changeset/7c88b2c3b7ca/ Log:More fixes diff --git a/rpython/memory/gc/minimark.py b/rpython/memory/gc/minimark.py --- a/rpython/memory/gc/minimark.py +++ b/rpython/mem

[pypy-commit] pypy gc-del: Fix

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63684:1506fbf06b43 Date: 2013-04-27 13:24 +0200 http://bitbucket.org/pypy/pypy/changeset/1506fbf06b43/ Log:Fix diff --git a/rpython/memory/gctransform/test/test_boehm.py b/rpython/memory/gctransform/test/test_boehm.py --- a/rpython/memory/gctran

[pypy-commit] pypy gc-del: Fix test_newgc.

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63682:185c73ab726e Date: 2013-04-27 13:05 +0200 http://bitbucket.org/pypy/pypy/changeset/185c73ab726e/ Log:Fix test_newgc. diff --git a/rpython/memory/test/snippet.py b/rpython/memory/test/snippet.py --- a/rpython/memory/test/snippet.py +++ b/rpy

[pypy-commit] pypy gc-del: Only call this if cards are enabled.

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63685:b83f0a157dda Date: 2013-04-27 13:24 +0200 http://bitbucket.org/pypy/pypy/changeset/b83f0a157dda/ Log:Only call this if cards are enabled. diff --git a/rpython/memory/gc/minimark.py b/rpython/memory/gc/minimark.py --- a/rpython/memory/gc/min

[pypy-commit] pypy gc-del: Fix test

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63686:ea4247e83d9c Date: 2013-04-27 13:29 +0200 http://bitbucket.org/pypy/pypy/changeset/ea4247e83d9c/ Log:Fix test diff --git a/rpython/jit/backend/llsupport/test/test_gc.py b/rpython/jit/backend/llsupport/test/test_gc.py --- a/rpython/jit/back

[pypy-commit] pypy gc-del: Fix: directly output the error message here, because we're not in finalizer_perform().

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63687:5b847a6c3864 Date: 2013-04-27 13:34 +0200 http://bitbucket.org/pypy/pypy/changeset/5b847a6c3864/ Log:Fix: directly output the error message here, because we're not in finalizer_perform(). diff --git a/pypy/module/_file/interp_file.p

[pypy-commit] pypy gc-del: Use minimark here.

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63688:94a009fde44c Date: 2013-04-27 13:38 +0200 http://bitbucket.org/pypy/pypy/changeset/94a009fde44c/ Log:Use minimark here. diff --git a/pypy/module/thread/test/test_gil.py b/pypy/module/thread/test/test_gil.py --- a/pypy/module/thread/test/te

[pypy-commit] pypy gc-del: Remove the "import x" from the same file x...

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63689:b8bac9d240e7 Date: 2013-04-27 13:38 +0200 http://bitbucket.org/pypy/pypy/changeset/b8bac9d240e7/ Log:Remove the "import x" from the same file x... diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py --- a/pypy/obj

[pypy-commit] pypy gc-del: can't use lookup() here, must use _lookup(): see test_methodcache

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63690:ec1b02874f96 Date: 2013-04-27 13:41 +0200 http://bitbucket.org/pypy/pypy/changeset/ec1b02874f96/ Log:can't use lookup() here, must use _lookup(): see test_methodcache diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobje

[pypy-commit] pypy gc-del: Add missing operation

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63691:39bf0e2e6e2c Date: 2013-04-27 13:43 +0200 http://bitbucket.org/pypy/pypy/changeset/39bf0e2e6e2c/ Log:Add missing operation diff --git a/rpython/rtyper/llinterp.py b/rpython/rtyper/llinterp.py --- a/rpython/rtyper/llinterp.py +++ b/rpython/r

[pypy-commit] pypy gc-del: Convert to use minimark.

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63692:9cfe83160f91 Date: 2013-04-27 13:44 +0200 http://bitbucket.org/pypy/pypy/changeset/9cfe83160f91/ Log:Convert to use minimark. diff --git a/rpython/rtyper/lltypesystem/test/test_rffi.py b/rpython/rtyper/lltypesystem/test/test_rffi.py --- a/

[pypy-commit] pypy gc-del: Fixes

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63693:5a165d74f315 Date: 2013-04-27 15:30 +0200 http://bitbucket.org/pypy/pypy/changeset/5a165d74f315/ Log:Fixes diff --git a/rpython/translator/c/gcc/test/test_asmgcroot.py b/rpython/translator/c/gcc/test/test_asmgcroot.py --- a/rpython/transla

[pypy-commit] pypy gc-del: More fixes

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63694:da5b88a6c4e4 Date: 2013-04-27 15:34 +0200 http://bitbucket.org/pypy/pypy/changeset/da5b88a6c4e4/ Log:More fixes diff --git a/rpython/translator/c/test/test_standalone.py b/rpython/translator/c/test/test_standalone.py --- a/rpython/translat

[pypy-commit] pypy gc-del: Kill the config options for the removed GC, and fix test_sandbox.

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63695:dc83e26b5a7e Date: 2013-04-27 15:45 +0200 http://bitbucket.org/pypy/pypy/changeset/dc83e26b5a7e/ Log:Kill the config options for the removed GC, and fix test_sandbox. diff --git a/rpython/config/translationoption.py b/rpython/config/transl

[pypy-commit] pypy gc-del: Reorganize this document, making it clear that all GCs apart from

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63696:f8dc49da7391 Date: 2013-04-27 15:56 +0200 http://bitbucket.org/pypy/pypy/changeset/f8dc49da7391/ Log:Reorganize this document, making it clear that all GCs apart from minimark have been removed. diff --git a/pypy/doc/garbage_collect

[pypy-commit] pypy gc-del: Remove this GC from the test

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63697:808aa174fe40 Date: 2013-04-27 16:13 +0200 http://bitbucket.org/pypy/pypy/changeset/808aa174fe40/ Log:Remove this GC from the test diff --git a/pypy/config/test/test_pypyoption.py b/pypy/config/test/test_pypyoption.py --- a/pypy/config/test

[pypy-commit] pypy gc-del: Fixes

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63698:cafd31ba5a2a Date: 2013-04-27 16:34 +0200 http://bitbucket.org/pypy/pypy/changeset/cafd31ba5a2a/ Log:Fixes diff --git a/rpython/jit/backend/llsupport/gc.py b/rpython/jit/backend/llsupport/gc.py --- a/rpython/jit/backend/llsupport/gc.py +++

[pypy-commit] pypy gc-del: when not translated, be careful about multiple spaces for

2013-04-27 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63699:b48d17b0ec37 Date: 2013-04-27 16:51 +0200 http://bitbucket.org/pypy/pypy/changeset/b48d17b0ec37/ Log:when not translated, be careful about multiple spaces for the tests: we must not keep calling rgc.finalize_later() for an old object

[pypy-commit] pypy py3k: merge default

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r63701:da1f74c2347f Date: 2013-04-27 12:42 -0700 http://bitbucket.org/pypy/pypy/changeset/da1f74c2347f/ Log:merge default diff --git a/rpython/translator/backendopt/merge_if_blocks.py b/rpython/translator/backendopt/merge_if_blocks.py --- a/rpyt

[pypy-commit] pypy default: target .o files to the udir to hopefully avoid clashes between concurrent

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r63700:d41d4710360e Date: 2013-04-27 12:40 -0700 http://bitbucket.org/pypy/pypy/changeset/d41d4710360e/ Log:target .o files to the udir to hopefully avoid clashes between concurrent buildbot runs diff --git a/rpython/translator/platform/__ini

[pypy-commit] pypy default: I mean rpythonroot, not py.path.local(), minor cleanup

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r63702:d50aea69d5ef Date: 2013-04-27 13:03 -0700 http://bitbucket.org/pypy/pypy/changeset/d50aea69d5ef/ Log:I mean rpythonroot, not py.path.local(), minor cleanup diff --git a/rpython/translator/platform/__init__.py b/rpython/translator/platform/__i

[pypy-commit] pypy py3k: merge default

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r63703:8cf10874388f Date: 2013-04-27 13:03 -0700 http://bitbucket.org/pypy/pypy/changeset/8cf10874388f/ Log:merge default diff --git a/rpython/translator/platform/__init__.py b/rpython/translator/platform/__init__.py --- a/rpython/translator/pla

[pypy-commit] pypy default: merged upstream

2013-04-27 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r63705:1d8dd0055879 Date: 2013-04-27 13:12 -0700 http://bitbucket.org/pypy/pypy/changeset/1d8dd0055879/ Log:merged upstream diff --git a/rpython/translator/platform/__init__.py b/rpython/translator/platform/__init__.py --- a/rpython/translator/platfor

[pypy-commit] pypy default: Added str.isalnum for strings (it already existed on chars)

2013-04-27 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r63704:2523e1972966 Date: 2013-04-27 13:11 -0700 http://bitbucket.org/pypy/pypy/changeset/2523e1972966/ Log:Added str.isalnum for strings (it already existed on chars) diff --git a/rpython/annotator/unaryop.py b/rpython/annotator/unaryop.py --- a/rpyth

[pypy-commit] pypy py3k: on CPython, fallback to importing usemodules incase they're extension modules

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r63706:0d7e97357d2b Date: 2013-04-27 14:44 -0700 http://bitbucket.org/pypy/pypy/changeset/0d7e97357d2b/ Log:on CPython, fallback to importing usemodules incase they're extension modules diff --git a/pypy/tool/pytest/apptest.py b/pypy/tool

[pypy-commit] pypy py3k: CO_CONTAINSGLOBALS was killed

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r63707:aaeb66e0ab84 Date: 2013-04-27 14:54 -0700 http://bitbucket.org/pypy/pypy/changeset/aaeb66e0ab84/ Log:CO_CONTAINSGLOBALS was killed diff --git a/lib-python/3/test/test_code.py b/lib-python/3/test/test_code.py --- a/lib-python/3/test/test_co

[pypy-commit] pypy py3k: backout 631a86b75fe6: CO_CONTAINSGLOBALS was killed

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r63708:3adfaa9d590f Date: 2013-04-27 14:57 -0700 http://bitbucket.org/pypy/pypy/changeset/3adfaa9d590f/ Log:backout 631a86b75fe6: CO_CONTAINSGLOBALS was killed diff --git a/lib-python/3/test/test_dis.py b/lib-python/3/test/test_dis.py --- a/lib-p

[pypy-commit] pypy default: apply 95eb1111a1b0 from upstream: py3 compat

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r63709:4a26bf1ffb4f Date: 2013-04-27 15:01 -0700 http://bitbucket.org/pypy/pypy/changeset/4a26bf1ffb4f/ Log:apply 95eba1b0 from upstream: py3 compat diff --git a/pypy/module/test_lib_pypy/cffi_tests/test_verify.py b/pypy/module/test_lib_pypy/cff

[pypy-commit] pypy default: apply e2b9db908b90 from upstream:

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r63710:c4ecb23cac56 Date: 2013-04-27 15:02 -0700 http://bitbucket.org/pypy/pypy/changeset/c4ecb23cac56/ Log:apply e2b9db908b90 from upstream: fix handling w/ py3 hasattr, which only swallows AttributeErrors diff --git a/lib_pypy/cffi/api.py b

[pypy-commit] pypy py3k: merge default

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r63711:1d8fa565aa74 Date: 2013-04-27 15:03 -0700 http://bitbucket.org/pypy/pypy/changeset/1d8fa565aa74/ Log:merge default diff --git a/lib_pypy/cffi/api.py b/lib_pypy/cffi/api.py --- a/lib_pypy/cffi/api.py +++ b/lib_pypy/cffi/api.py @@ -370,7 +37

[pypy-commit] pypy py3k: kill the deflated test, it's been duplicated in test_zipimport_deflated

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r63712:5006546b372b Date: 2013-04-27 18:40 -0700 http://bitbucket.org/pypy/pypy/changeset/5006546b372b/ Log:kill the deflated test, it's been duplicated in test_zipimport_deflated diff --git a/pypy/module/zipimport/test/test_zipimport.py

[pypy-commit] pypy py3k: fix for dict_keys

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r63713:089b85bb1c93 Date: 2013-04-27 19:09 -0700 http://bitbucket.org/pypy/pypy/changeset/089b85bb1c93/ Log:fix for dict_keys diff --git a/pypy/objspace/std/test/test_proxy_object.py b/pypy/objspace/std/test/test_proxy_object.py --- a/pypy/objsp

[pypy-commit] pypy py3k: file is dead, kill

2013-04-27 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r63714:429037cfae60 Date: 2013-04-27 19:09 -0700 http://bitbucket.org/pypy/pypy/changeset/429037cfae60/ Log:file is dead, kill diff --git a/pypy/objspace/std/test/test_proxy_internals.py b/pypy/objspace/std/test/test_proxy_internals.py --- a/pyp