[pypy-commit] pypy gc-del: Weakrefs, some small simplifications.

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63629:8cf66f2f61cd Date: 2013-04-26 10:29 +0200 http://bitbucket.org/pypy/pypy/changeset/8cf66f2f61cd/ Log:Weakrefs, some small simplifications. diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpret

[pypy-commit] pypy gc-del: Mapdict requires WeakrefLifeline to be a subclass of W_Root.

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63631:655de6b677ae Date: 2013-04-26 10:42 +0200 http://bitbucket.org/pypy/pypy/changeset/655de6b677ae/ Log:Mapdict requires WeakrefLifeline to be a subclass of W_Root. diff --git a/pypy/module/_weakref/interp__weakref.py b/pypy/module/_weakref/i

[pypy-commit] pypy gc-del: Fixes for module/gc.

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63630:0c9a73e39d8e Date: 2013-04-26 10:37 +0200 http://bitbucket.org/pypy/pypy/changeset/0c9a73e39d8e/ Log:Fixes for module/gc. diff --git a/pypy/interpreter/executioncontext.py b/pypy/interpreter/executioncontext.py --- a/pypy/interpreter/execu

[pypy-commit] pypy default: Kill CO_CONTAINSGLOBALS, which was used by celldict.py but no longer is.

2013-04-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r63632:f48d790fc17b Date: 2013-04-26 10:56 +0200 http://bitbucket.org/pypy/pypy/changeset/f48d790fc17b/ Log:Kill CO_CONTAINSGLOBALS, which was used by celldict.py but no longer is. diff --git a/pypy/interpreter/astcompiler/consts.py b/pypy/inte

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

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63634:a242524f2ed4 Date: 2013-04-26 12:11 +0200 http://bitbucket.org/pypy/pypy/changeset/a242524f2ed4/ Log:Fix generator. diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py --- a/pypy/interpreter/generator.py +++ b/pypy/in

[pypy-commit] pypy win32-fixes3: app_main.py needs __pypy__ for windows console codepage handling

2013-04-26 Thread mattip
Author: mattip Branch: win32-fixes3 Changeset: r63635:fbe73ecc1d01 Date: 2013-04-20 22:16 +0300 http://bitbucket.org/pypy/pypy/changeset/fbe73ecc1d01/ Log:app_main.py needs __pypy__ for windows console codepage handling diff --git a/pypy/interpreter/test2/test_app_main.py b/pypy/interpreter

[pypy-commit] pypy win32-fixes3: wip - respect calling convention in lltypesystem/ll2ctypes

2013-04-26 Thread mattip
Author: mattip Branch: win32-fixes3 Changeset: r63636:b4eed482703d Date: 2013-04-26 14:46 +0300 http://bitbucket.org/pypy/pypy/changeset/b4eed482703d/ Log:wip - respect calling convention in lltypesystem/ll2ctypes diff --git a/rpython/jit/backend/llgraph/runner.py b/rpython/jit/backend/llgr

[pypy-commit] pypy gc-del: Fix

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63638:00e1300152fb Date: 2013-04-26 14:22 +0200 http://bitbucket.org/pypy/pypy/changeset/00e1300152fb/ Log:Fix diff --git a/pypy/interpreter/test/test_typedef.py b/pypy/interpreter/test/test_typedef.py --- a/pypy/interpreter/test/test_typedef.py

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

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63639:8ea45acf31ec Date: 2013-04-26 14:22 +0200 http://bitbucket.org/pypy/pypy/changeset/8ea45acf31ec/ Log:Fix _io. diff --git a/pypy/module/_io/interp_iobase.py b/pypy/module/_io/interp_iobase.py --- a/pypy/module/_io/interp_iobase.py +++ b/pypy

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

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63640:a051b8ab585f Date: 2013-04-26 14:23 +0200 http://bitbucket.org/pypy/pypy/changeset/a051b8ab585f/ Log:Fix _file. diff --git a/pypy/module/_file/interp_file.py b/pypy/module/_file/interp_file.py --- a/pypy/module/_file/interp_file.py +++ b/py

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

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63641:5ed5bd6f9688 Date: 2013-04-26 14:30 +0200 http://bitbucket.org/pypy/pypy/changeset/5ed5bd6f9688/ Log:Fix test diff --git a/pypy/interpreter/test/test_typedef.py b/pypy/interpreter/test/test_typedef.py --- a/pypy/interpreter/test/test_typed

[pypy-commit] pypy gc-del: Fixes

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63643:a3d8ce2dac6d Date: 2013-04-26 15:09 +0200 http://bitbucket.org/pypy/pypy/changeset/a3d8ce2dac6d/ Log:Fixes diff --git a/rpython/memory/gctypelayout.py b/rpython/memory/gctypelayout.py --- a/rpython/memory/gctypelayout.py +++ b/rpython/memor

[pypy-commit] pypy gc-del: haaaack to stop complaining at interpreter exit

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63642:9aba857627db Date: 2013-04-26 15:04 +0200 http://bitbucket.org/pypy/pypy/changeset/9aba857627db/ Log:hck to stop complaining at interpreter exit diff --git a/rpython/rlib/rgc.py b/rpython/rlib/rgc.py --- a/rpython/rlib/rgc.py +++ b/rpyt

[pypy-commit] pypy default: Waah. Don't do "import TestXxx" classes in other tests: these

2013-04-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r63644:b781ef8b70af Date: 2013-04-26 15:15 +0200 http://bitbucket.org/pypy/pypy/changeset/b781ef8b70af/ Log:Waah. Don't do "import TestXxx" classes in other tests: these imported test classes will be run again. diff --git a/rpython/memory/test/t

[pypy-commit] pypy gc-del: hg merge default

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63645:49fa8123b5eb Date: 2013-04-26 15:19 +0200 http://bitbucket.org/pypy/pypy/changeset/49fa8123b5eb/ Log:hg merge default diff --git a/rpython/memory/test/test_generational_gc.py b/rpython/memory/test/test_generational_gc.py --- a/rpython/memo

[pypy-commit] pypy gc-del: Some more missing imports

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63646:36544ab4ee2b Date: 2013-04-26 15:24 +0200 http://bitbucket.org/pypy/pypy/changeset/36544ab4ee2b/ Log:Some more missing imports diff --git a/rpython/memory/test/test_minimark_gc.py b/rpython/memory/test/test_minimark_gc.py --- a/rpython/mem

[pypy-commit] pypy gc-del: More missing imports.

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63647:e045a0597601 Date: 2013-04-26 15:28 +0200 http://bitbucket.org/pypy/pypy/changeset/e045a0597601/ Log:More missing imports. diff --git a/rpython/memory/test/test_minimark_gc.py b/rpython/memory/test/test_minimark_gc.py --- a/rpython/memory/

[pypy-commit] pypy gc-del: Fix

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63648:f71b0fe069f3 Date: 2013-04-26 15:32 +0200 http://bitbucket.org/pypy/pypy/changeset/f71b0fe069f3/ Log:Fix diff --git a/rpython/translator/c/gc.py b/rpython/translator/c/gc.py --- a/rpython/translator/c/gc.py +++ b/rpython/translator/c/gc.py

[pypy-commit] pypy gc-del: Another __del__

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63649:a046776e4e7d Date: 2013-04-26 15:50 +0200 http://bitbucket.org/pypy/pypy/changeset/a046776e4e7d/ Log:Another __del__ diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_io/interp_bufferedio.py --- a/pypy/module/_io/interp_buff

[pypy-commit] pypy kill-gen-store-back-in: in-progress

2013-04-26 Thread fijal
Author: Maciej Fijalkowski Branch: kill-gen-store-back-in Changeset: r63650:462cd771b59a Date: 2013-04-26 15:52 +0200 http://bitbucket.org/pypy/pypy/changeset/462cd771b59a/ Log:in-progress diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py --- a/rpython/jit/m

[pypy-commit] pypy default: Bah. Fix the name of these class variables

2013-04-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r63651:e8c9b21805dc Date: 2013-04-26 16:35 +0200 http://bitbucket.org/pypy/pypy/changeset/e8c9b21805dc/ Log:Bah. Fix the name of these class variables diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py --- a/

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

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63652:998d735a69e5 Date: 2013-04-26 17:17 +0200 http://bitbucket.org/pypy/pypy/changeset/998d735a69e5/ Log:Fix _ffi. diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pypy/module/_ffi/interp_struct.py +++ b

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

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63653:6d24af5081d1 Date: 2013-04-26 17:32 +0200 http://bitbucket.org/pypy/pypy/changeset/6d24af5081d1/ Log:Fix cppyy. diff --git a/pypy/module/cppyy/interp_cppyy.py b/pypy/module/cppyy/interp_cppyy.py --- a/pypy/module/cppyy/interp_cppyy.py +++

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

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63654:30c2cfc0af97 Date: 2013-04-26 17:40 +0200 http://bitbucket.org/pypy/pypy/changeset/30c2cfc0af97/ Log:Fix _ssl. diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py --- a/pypy/module/_ssl/interp_ssl.py +++ b/pypy/modu

[pypy-commit] pypy gc-del: Fix _io to call close() between bytecodes too. A hack for tests.

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63655:7acc15347cae Date: 2013-04-26 18:14 +0200 http://bitbucket.org/pypy/pypy/changeset/7acc15347cae/ Log:Fix _io to call close() between bytecodes too. A hack for tests. diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjsp

[pypy-commit] pypy gc-del: Document this design decision.

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63656:d9167e6bc4a8 Date: 2013-04-26 18:27 +0200 http://bitbucket.org/pypy/pypy/changeset/d9167e6bc4a8/ Log:Document this design decision. diff --git a/pypy/module/cppyy/interp_cppyy.py b/pypy/module/cppyy/interp_cppyy.py --- a/pypy/module/cppyy/

[pypy-commit] pypy gc-del: Port again the changes from default to enable both a destructor and a

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63657:01e4d6fbc769 Date: 2013-04-26 19:03 +0200 http://bitbucket.org/pypy/pypy/changeset/01e4d6fbc769/ Log:Port again the changes from default to enable both a destructor and a customtrace. Used in gctransform/shadowstack.py. diff --git a

[pypy-commit] pypy default: one word was missing here

2013-04-26 Thread bivab
Author: David Schneider Branch: Changeset: r63658:7958b8a04501 Date: 2013-04-26 19:07 +0200 http://bitbucket.org/pypy/pypy/changeset/7958b8a04501/ Log:one word was missing here diff --git a/rpython/jit/backend/arm/codebuilder.py b/rpython/jit/backend/arm/codebuilder.py --- a/rpython/jit/ba

[pypy-commit] pypy gc-del: Fix

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63659:85c537a8f596 Date: 2013-04-26 19:44 +0200 http://bitbucket.org/pypy/pypy/changeset/85c537a8f596/ Log:Fix diff --git a/rpython/translator/c/gc.py b/rpython/translator/c/gc.py --- a/rpython/translator/c/gc.py +++ b/rpython/translator/c/gc.py

[pypy-commit] pypy gc-del: Bah, fix this logic

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63660:16b4c14f5a8f Date: 2013-04-26 20:34 +0200 http://bitbucket.org/pypy/pypy/changeset/16b4c14f5a8f/ Log:Bah, fix this logic diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjspace.py

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

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63661:f1553ff74b5e Date: 2013-04-26 20:35 +0200 http://bitbucket.org/pypy/pypy/changeset/f1553ff74b5e/ Log:Fix cpyext. diff --git a/pypy/module/cpyext/pystate.py b/pypy/module/cpyext/pystate.py --- a/pypy/module/cpyext/pystate.py +++ b/pypy/modul

[pypy-commit] pypy gc-del: Fix _winreg (untested).

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63662:672b7f7ecfd9 Date: 2013-04-26 21:13 +0200 http://bitbucket.org/pypy/pypy/changeset/672b7f7ecfd9/ Log:Fix _winreg (untested). diff --git a/pypy/module/_winreg/interp_winreg.py b/pypy/module/_winreg/interp_winreg.py --- a/pypy/module/_winreg

[pypy-commit] pypy gc-del: Fix cpyext/pyobject.py. Add an operation to destructor.py.

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63663:dad9e6bc4c95 Date: 2013-04-26 21:13 +0200 http://bitbucket.org/pypy/pypy/changeset/dad9e6bc4c95/ Log:Fix cpyext/pyobject.py. Add an operation to destructor.py. diff --git a/pypy/module/cpyext/pyobject.py b/pypy/module/cpyext/pyobject.py ---

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

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63664:da192ff89252 Date: 2013-04-26 22:01 +0200 http://bitbucket.org/pypy/pypy/changeset/da192ff89252/ Log:Fix _multiprocessing. diff --git a/pypy/module/_multiprocessing/interp_connection.py b/pypy/module/_multiprocessing/interp_connection.py -

[pypy-commit] pypy default: Fix tests when run with -A: CPython folds constants differently.

2013-04-26 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r63665:d47342f86927 Date: 2013-04-26 22:07 +0200 http://bitbucket.org/pypy/pypy/changeset/d47342f86927/ Log:Fix tests when run with -A: CPython folds constants differently. In particular, unused values are not removed from co_consts. d

[pypy-commit] pypy py3k: these skips appear to work now, w/ some minor py3 adjustments

2013-04-26 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r63666:5ad20662d450 Date: 2013-04-26 13:26 -0700 http://bitbucket.org/pypy/pypy/changeset/5ad20662d450/ Log:these skips appear to work now, w/ some minor py3 adjustments diff --git a/pypy/module/_ffi/test/test_funcptr.py b/pypy/module/_ffi/test/

[pypy-commit] pypy py3k: hg merge default

2013-04-26 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r63667:e6b80345d013 Date: 2013-04-26 22:26 +0200 http://bitbucket.org/pypy/pypy/changeset/e6b80345d013/ Log:hg merge default diff --git a/pypy/interpreter/astcompiler/consts.py b/pypy/interpreter/astcompiler/consts.py --- a/pypy/interpret

[pypy-commit] pypy py3k: merge heads

2013-04-26 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r63668:18cdece25b93 Date: 2013-04-26 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/18cdece25b93/ Log:merge heads diff --git a/pypy/module/_ffi/test/test_funcptr.py b/pypy/module/_ffi/test/test_funcptr.py --- a/pypy/module/_ffi/test

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

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63669:8896103629f9 Date: 2013-04-26 22:46 +0200 http://bitbucket.org/pypy/pypy/changeset/8896103629f9/ Log:Fix pyexpat. diff --git a/pypy/module/pyexpat/interp_pyexpat.py b/pypy/module/pyexpat/interp_pyexpat.py --- a/pypy/module/pyexpat/interp_p

[pypy-commit] pypy gc-del: Fix the oracle module (blindly)

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63671:022f6153a022 Date: 2013-04-26 22:50 +0200 http://bitbucket.org/pypy/pypy/changeset/022f6153a022/ Log:Fix the oracle module (blindly) diff --git a/pypy/module/oracle/interp_connect.py b/pypy/module/oracle/interp_connect.py --- a/pypy/module

[pypy-commit] pypy gc-del: Fixes

2013-04-26 Thread arigo
Author: Armin Rigo Branch: gc-del Changeset: r63670:89bcb5d5942a Date: 2013-04-26 22:46 +0200 http://bitbucket.org/pypy/pypy/changeset/89bcb5d5942a/ Log:Fixes diff --git a/pypy/module/_cffi_backend/ccallback.py b/pypy/module/_cffi_backend/ccallback.py --- a/pypy/module/_cffi_backend/ccallba

[pypy-commit] pypy py3k: Fix termios test: the script contains '\000', not the NUL character.

2013-04-26 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r63673:82f1bb404898 Date: 2013-04-27 01:26 +0200 http://bitbucket.org/pypy/pypy/changeset/82f1bb404898/ Log:Fix termios test: the script contains '\000', not the NUL character. diff --git a/pypy/module/termios/test/test_termios.py b/pypy/

[pypy-commit] pypy py3k: Easy fix for a cpyext test failure.

2013-04-26 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r63672:3162f06e9e0a Date: 2013-04-27 01:06 +0200 http://bitbucket.org/pypy/pypy/changeset/3162f06e9e0a/ Log:Easy fix for a cpyext test failure. diff --git a/pypy/module/cpyext/include/patchlevel.h b/pypy/module/cpyext/include/patchlevel.h