[pypy-commit] pypy default: Fix a test in test_optimizebasic, a bit obscurely.

2011-10-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r48111:2bda02052847 Date: 2011-10-17 09:56 +0200 http://bitbucket.org/pypy/pypy/changeset/2bda02052847/ Log:Fix a test in test_optimizebasic, a bit obscurely. diff --git a/pypy/jit/metainterp/resoperation.py b/pypy/jit/metainterp/resoperation.py --- a/

[pypy-commit] pypy default: Python 2.5 compat

2011-10-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r48112:d1b067df71bd Date: 2011-10-17 09:56 +0200 http://bitbucket.org/pypy/pypy/changeset/d1b067df71bd/ Log:Python 2.5 compat diff --git a/pypy/jit/metainterp/test/test_resume.py b/pypy/jit/metainterp/test/test_resume.py --- a/pypy/jit/metainterp/test/

[pypy-commit] pypy default: Ah, I misread pick_builtin(): it doesn't have the side-effect of adding

2011-10-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r48113:e813668eef85 Date: 2011-10-17 10:16 +0200 http://bitbucket.org/pypy/pypy/changeset/e813668eef85/ Log:Ah, I misread pick_builtin(): it doesn't have the side-effect of adding '__builtins__' in the provided w_globals dictionary. Remove,

[pypy-commit] pypy rgc-mem-pressure: Fixes (untested).

2011-10-17 Thread arigo
Author: Armin Rigo Branch: rgc-mem-pressure Changeset: r48114:0ec2ab675a61 Date: 2011-10-17 10:38 +0200 http://bitbucket.org/pypy/pypy/changeset/0ec2ab675a61/ Log:Fixes (untested). diff --git a/pypy/rpython/memory/gctransform/transform.py b/pypy/rpython/memory/gctransform/transform.py --- a

[pypy-commit] pypy default: Add a failing test.

2011-10-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r48116:0b99a4b937e0 Date: 2011-10-17 11:21 +0200 http://bitbucket.org/pypy/pypy/changeset/0b99a4b937e0/ Log:Add a failing test. diff --git a/pypy/jit/metainterp/test/test_quasiimmut.py b/pypy/jit/metainterp/test/test_quasiimmut.py --- a/pypy/jit/metain

[pypy-commit] pypy default: Fix the test. Add in the graphpage viewer shading in gray the

2011-10-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r48117:849075adda3f Date: 2011-10-17 11:43 +0200 http://bitbucket.org/pypy/pypy/changeset/849075adda3f/ Log:Fix the test. Add in the graphpage viewer shading in gray the invalidated loops. diff --git a/pypy/jit/metainterp/graphpage.py b/pypy/jit

[pypy-commit] pypy ppc-jit-backend: Added fail_boxes_ptr to class AssemblerPPC class to make test_get_latest_value_count pass.

2011-10-17 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48118:af1bd77832d4 Date: 2011-10-17 12:24 +0200 http://bitbucket.org/pypy/pypy/changeset/af1bd77832d4/ Log:Added fail_boxes_ptr to class AssemblerPPC class to make test_get_latest_value_count pass. diff --git a/pypy/jit/backend/ppc/pp

[pypy-commit] pypy default: Fix the tests.

2011-10-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r48120:0bd82cbe735b Date: 2011-10-17 13:53 +0200 http://bitbucket.org/pypy/pypy/changeset/0bd82cbe735b/ Log:Fix the tests. diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py b/pypy/module/pypyjit/test_pypy_c/test_string.py --- a/pypy/module/py

[pypy-commit] pypy default: Make the marker more obvious.

2011-10-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r48119:2d6c7a33ca50 Date: 2011-10-17 13:53 +0200 http://bitbucket.org/pypy/pypy/changeset/2d6c7a33ca50/ Log:Make the marker more obvious. diff --git a/pypy/module/pypyjit/test_pypy_c/model.py b/pypy/module/pypyjit/test_pypy_c/model.py --- a/pypy/module

[pypy-commit] pypy default: - fix a typo in untested code

2011-10-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r48121:854bc5e4b87f Date: 2011-10-17 14:04 +0200 http://bitbucket.org/pypy/pypy/changeset/854bc5e4b87f/ Log:- fix a typo in untested code - change the tests so that this code is tested too - independently, fix a test diff --git a/pypy/ji

[pypy-commit] pypy default: Obscure, obscure, obscure workaround for the fact

2011-10-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r48122:4b39d3acfd86 Date: 2011-10-17 15:16 +0200 http://bitbucket.org/pypy/pypy/changeset/4b39d3acfd86/ Log:Obscure, obscure, obscure workaround for the fact that libffi.a cannot always be gcc'ed into .so files. diff --git a/pypy/translator/plat

[pypy-commit] pypy default: In the memmgr, free loops that have been marked as 'invalidated' too.

2011-10-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r48123:1d42dc6c3971 Date: 2011-10-17 15:41 +0200 http://bitbucket.org/pypy/pypy/changeset/1d42dc6c3971/ Log:In the memmgr, free loops that have been marked as 'invalidated' too. diff --git a/pypy/jit/metainterp/memmgr.py b/pypy/jit/metainterp/me

[pypy-commit] pypy gil-improvement: Close branch: (minimally) tested 759db9b281eb and found it

2011-10-17 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r48124:49d7fea9a1a2 Date: 2011-10-17 16:56 +0200 http://bitbucket.org/pypy/pypy/changeset/49d7fea9a1a2/ Log:Close branch: (minimally) tested 759db9b281eb and found it working correctly on Windows. _

[pypy-commit] pypy closed-branches: Merge closed head 3453088df88a on branch unpack-ints-fast

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48131:277298c96126 Date: 2011-10-17 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/277298c96126/ Log:Merge closed head 3453088df88a on branch unpack-ints-fast ___ pypy-commit mailing list

[pypy-commit] pypy closed-branches: Merge closed head aa2f47508529 on branch effectinfo-cleanup

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48125:613757a7239f Date: 2011-10-17 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/613757a7239f/ Log:Merge closed head aa2f47508529 on branch effectinfo-cleanup ___ pypy-commit mailing li

[pypy-commit] pypy closed-branches: Merge closed head 3eba0bde5e95 on branch faster-sum

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48126:8fdb510ebdc6 Date: 2011-10-17 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/8fdb510ebdc6/ Log:Merge closed head 3eba0bde5e95 on branch faster-sum ___ pypy-commit mailing list pypy-

[pypy-commit] pypy closed-branches: Merge closed head 6d556a687a82 on branch unroll-if-alt

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48132:d2b474d2e543 Date: 2011-10-17 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/d2b474d2e543/ Log:Merge closed head 6d556a687a82 on branch unroll-if-alt ___ pypy-commit mailing list py

[pypy-commit] pypy closed-branches: Merge closed head 5a08d2cfb491 on branch numpy-comparison

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48127:74004a240f77 Date: 2011-10-17 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/74004a240f77/ Log:Merge closed head 5a08d2cfb491 on branch numpy-comparison ___ pypy-commit mailing list

[pypy-commit] pypy closed-branches: Merge closed head 89ff5a00266c on branch jit-frontend-unescaped

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48133:879cb414f7f9 Date: 2011-10-17 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/879cb414f7f9/ Log:Merge closed head 89ff5a00266c on branch jit-frontend-unescaped ___ pypy-commit mailin

[pypy-commit] pypy closed-branches: Merge closed head 4723df6a9296 on branch jit-str_in_preamble

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48128:0b00ecd2031b Date: 2011-10-17 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/0b00ecd2031b/ Log:Merge closed head 4723df6a9296 on branch jit-str_in_preamble ___ pypy-commit mailing l

[pypy-commit] pypy closed-branches: Merge closed head df69255f489f on branch unroll-if-const

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48129:909e228180a0 Date: 2011-10-17 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/909e228180a0/ Log:Merge closed head df69255f489f on branch unroll-if-const ___ pypy-commit mailing list

[pypy-commit] pypy closed-branches: Merge closed head ec0e6a5ca3db on branch numpy-singledim

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48130:f9d5dc481e6e Date: 2011-10-17 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/f9d5dc481e6e/ Log:Merge closed head ec0e6a5ca3db on branch numpy-singledim ___ pypy-commit mailing list

[pypy-commit] pypy closed-branches: Merge closed head 49d7fea9a1a2 on branch gil-improvement

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48141:6d09a049be8b Date: 2011-10-17 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/6d09a049be8b/ Log:Merge closed head 49d7fea9a1a2 on branch gil-improvement ___ pypy-commit mailing list

[pypy-commit] pypy closed-branches: Merge closed head 6ab48f8a69a9 on branch faster-isinstance

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48134:8d2a832064c9 Date: 2011-10-17 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/8d2a832064c9/ Log:Merge closed head 6ab48f8a69a9 on branch faster-isinstance ___ pypy-commit mailing lis

[pypy-commit] pypy closed-branches: Merge closed head dfa764e18840 on branch malloc-value

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48140:5b929443701c Date: 2011-10-17 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/5b929443701c/ Log:Merge closed head dfa764e18840 on branch malloc-value ___ pypy-commit mailing list pyp

[pypy-commit] pypy closed-branches: re-close this branch

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48142:4d205329819f Date: 2011-10-17 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/4d205329819f/ Log:re-close this branch ___ pypy-commit mailing list pypy-commit@python.org http://mail.p

[pypy-commit] pypy closed-branches: Merge closed head b8ec4711d8ac on branch kill-unary-multimethods

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48135:50bc6a8f9a8d Date: 2011-10-17 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/50bc6a8f9a8d/ Log:Merge closed head b8ec4711d8ac on branch kill-unary-multimethods ___ pypy-commit maili

[pypy-commit] pypy closed-branches: Merge closed head 73b24cb9f319 on branch space-iterator-improvements

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48136:120c0b2a17f5 Date: 2011-10-17 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/120c0b2a17f5/ Log:Merge closed head 73b24cb9f319 on branch space-iterator-improvements ___ pypy-commit m

[pypy-commit] pypy closed-branches: Merge closed head 08713d1ad7d8 on branch rmmap-nohint

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48137:5eb09f46bbf1 Date: 2011-10-17 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/5eb09f46bbf1/ Log:Merge closed head 08713d1ad7d8 on branch rmmap-nohint ___ pypy-commit mailing list pyp

[pypy-commit] pypy closed-branches: Merge closed head 39fb2ab2290b on branch unsigned-dtypes

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48138:efeade6bcd67 Date: 2011-10-17 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/efeade6bcd67/ Log:Merge closed head 39fb2ab2290b on branch unsigned-dtypes ___ pypy-commit mailing list

[pypy-commit] pypy closed-branches: Merge closed head f3b267864355 on branch string-promote-2

2011-10-17 Thread arigo
Author: Armin Rigo Branch: closed-branches Changeset: r48139:67c6efb4e802 Date: 2011-10-17 17:07 +0200 http://bitbucket.org/pypy/pypy/changeset/67c6efb4e802/ Log:Merge closed head f3b267864355 on branch string-promote-2 ___ pypy-commit mailing list

[pypy-commit] pypy rgc-mem-pressure: another fix

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48143:3cb6f09da80a Date: 2011-10-17 09:14 -0600 http://bitbucket.org/pypy/pypy/changeset/3cb6f09da80a/ Log:another fix diff --git a/pypy/rpython/memory/gctransform/transform.py b/pypy/rpython/memory/gctransform/transform.py --- a/pypy

[pypy-commit] pypy rgc-mem-pressure: more fixes

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48144:c7d1e2b807a3 Date: 2011-10-17 09:19 -0600 http://bitbucket.org/pypy/pypy/changeset/c7d1e2b807a3/ Log:more fixes diff --git a/pypy/rpython/memory/gcwrapper.py b/pypy/rpython/memory/gcwrapper.py --- a/pypy/rpython/memory/gcwrapper.

[pypy-commit] pypy rgc-mem-pressure: merge in default

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48145:a2265c47e5dc Date: 2011-10-17 09:23 -0600 http://bitbucket.org/pypy/pypy/changeset/a2265c47e5dc/ Log:merge in default diff --git a/pypy/jit/metainterp/graphpage.py b/pypy/jit/metainterp/graphpage.py --- a/pypy/jit/metainterp/grap

[pypy-commit] pypy rgc-mem-pressure: fix fix - getting closer I hope

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48146:172e741aa26f Date: 2011-10-17 09:42 -0600 http://bitbucket.org/pypy/pypy/changeset/172e741aa26f/ Log:fix fix - getting closer I hope diff --git a/pypy/rpython/memory/gctransform/transform.py b/pypy/rpython/memory/gctransform/tra

[pypy-commit] pypy ppc-jit-backend: Ooops, forgot to remove print.

2011-10-17 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48148:db91d415ffd5 Date: 2011-10-17 18:47 +0200 http://bitbucket.org/pypy/pypy/changeset/db91d415ffd5/ Log:Ooops, forgot to remove print. 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 INT_SUB.

2011-10-17 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48147:ef026b253cbb Date: 2011-10-17 18:43 +0200 http://bitbucket.org/pypy/pypy/changeset/ef026b253cbb/ Log:Implemented INT_SUB. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.py --- a/pypy/j

[pypy-commit] pypy ppc-jit-backend: Reimplemented INT_MUL.

2011-10-17 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48149:f853fd60f4d0 Date: 2011-10-17 19:06 +0200 http://bitbucket.org/pypy/pypy/changeset/f853fd60f4d0/ Log:Reimplemented INT_MUL. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.py --- a/pypy

[pypy-commit] pypy rgc-mem-pressure: put in hash size calculation. Not sure why I can't use rffi_platform

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48150:c790df25f234 Date: 2011-10-17 11:38 -0600 http://bitbucket.org/pypy/pypy/changeset/c790df25f234/ Log:put in hash size calculation. Not sure why I can't use rffi_platform diff --git a/pypy/module/_hashlib/interp_hashlib.py b/pypy

[pypy-commit] extradoc extradoc: get this thing ready to mail

2011-10-17 Thread lac
Author: Laura Creighton Branch: extradoc Changeset: r3929:2492c770a394 Date: 2011-10-17 19:48 +0200 http://bitbucket.org/pypy/extradoc/changeset/2492c770a394/ Log:get this thing ready to mail diff --git a/sprintinfo/gothenburg-2011-2/announce.txt b/sprintinfo/gothenburg-2011-2/announce.txt

[pypy-commit] pypy py3k: This translation option was removed

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48151:028879834329 Date: 2011-10-17 19:50 +0200 http://bitbucket.org/pypy/pypy/changeset/028879834329/ Log:This translation option was removed diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption

[pypy-commit] pypy py3k: Convert more applevel code to py3k syntax

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48153:bb3821775a33 Date: 2011-10-17 19:50 +0200 http://bitbucket.org/pypy/pypy/changeset/bb3821775a33/ Log:Convert more applevel code to py3k syntax diff --git a/pypy/module/__builtin__/operation.py b/pypy/module/__builtin__/operation.py

[pypy-commit] pypy py3k: Try to fix cpyext. Does not work yet, importing it segfaults CPython :-/

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48154:d1414c1ba250 Date: 2011-10-17 19:50 +0200 http://bitbucket.org/pypy/pypy/changeset/d1414c1ba250/ Log:Try to fix cpyext. Does not work yet, importing it segfaults CPython :-/ diff --git a/pypy/module/cpyext/typeobject.py b/py

[pypy-commit] pypy py3k: In flow object space, restore opcodes and operations removed in the base

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48152:211a8e36ea40 Date: 2011-10-17 19:50 +0200 http://bitbucket.org/pypy/pypy/changeset/211a8e36ea40/ Log:In flow object space, restore opcodes and operations removed in the base objectspace diff --git a/pypy/objspace/flow/flowco

[pypy-commit] pypy ppc-jit-backend: Start PPC64 support in prologue.

2011-10-17 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r48156:d0b4864a9813 Date: 2011-10-17 14:19 -0400 http://bitbucket.org/pypy/pypy/changeset/d0b4864a9813/ Log:Start PPC64 support in prologue. diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py b/pypy/jit/backend/ppc/ppcgen/ppc_assembl

[pypy-commit] pypy no-force-guard-lazy-set: a branch to benchmark not forcing all lazy setfield/setarrayitem at guards

2011-10-17 Thread alex_gaynor
Author: Alex Gaynor Branch: no-force-guard-lazy-set Changeset: r48157:c11cb030a542 Date: 2011-10-17 15:15 -0400 http://bitbucket.org/pypy/pypy/changeset/c11cb030a542/ Log:a branch to benchmark not forcing all lazy setfield/setarrayitem at guards diff --git a/pypy/jit/metainterp/optim

[pypy-commit] pypy rgc-mem-pressure: fix to use rffi_platform correctly. thanks fijal

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48158:17db19c683dd Date: 2011-10-17 13:24 -0600 http://bitbucket.org/pypy/pypy/changeset/17db19c683dd/ Log:fix to use rffi_platform correctly. thanks fijal diff --git a/pypy/module/_hashlib/interp_hashlib.py b/pypy/module/_hashlib/int

[pypy-commit] extradoc extradoc: Add a people.txt.

2011-10-17 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r3930:b557f4aadb0e Date: 2011-10-17 21:40 +0200 http://bitbucket.org/pypy/extradoc/changeset/b557f4aadb0e/ Log:Add a people.txt. diff --git a/sprintinfo/gothenburg-2011-2/people.txt b/sprintinfo/gothenburg-2011-2/people.txt new file mode 100644

[pypy-commit] pypy rgc-mem-pressure: better estimate for size of W_Hash's mallocs

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48159:46f5717326d9 Date: 2011-10-17 14:16 -0600 http://bitbucket.org/pypy/pypy/changeset/46f5717326d9/ Log:better estimate for size of W_Hash's mallocs diff --git a/pypy/module/_hashlib/interp_hashlib.py b/pypy/module/_hashlib/interp_

[pypy-commit] pypy rgc-mem-pressure: Add memory pressure to locks

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48160:1fda06647621 Date: 2011-10-17 14:44 -0600 http://bitbucket.org/pypy/pypy/changeset/1fda06647621/ Log:Add memory pressure to locks diff --git a/pypy/module/thread/ll_thread.py b/pypy/module/thread/ll_thread.py --- a/pypy/module/th

[pypy-commit] pypy rgc-mem-pressure: Add some memory pressure to pyexpat

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48161:f210fd304537 Date: 2011-10-17 15:15 -0600 http://bitbucket.org/pypy/pypy/changeset/f210fd304537/ Log:Add some memory pressure to pyexpat diff --git a/pypy/module/pyexpat/interp_pyexpat.py b/pypy/module/pyexpat/interp_pyexpat.py

[pypy-commit] pypy py3k: Fix utf-8 encoding; all test_runicode passes.

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48163:8942f2c46162 Date: 2011-10-17 20:18 +0200 http://bitbucket.org/pypy/pypy/changeset/8942f2c46162/ Log:Fix utf-8 encoding; all test_runicode passes. diff --git a/pypy/rlib/runicode.py b/pypy/rlib/runicode.py --- a/pypy/rlib/runicode.p

[pypy-commit] pypy py3k: Implement rdict.pop(). Always with default.

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48162:5364600194fb Date: 2011-10-17 20:10 +0200 http://bitbucket.org/pypy/pypy/changeset/5364600194fb/ Log:Implement rdict.pop(). Always with default. diff --git a/pypy/annotation/unaryop.py b/pypy/annotation/unaryop.py --- a/pypy/annotat

[pypy-commit] pypy py3k: Remove bytes.__mod__ and bytes.format

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48166:e6e61c35b8f3 Date: 2011-10-17 21:30 +0200 http://bitbucket.org/pypy/pypy/changeset/e6e61c35b8f3/ Log:Remove bytes.__mod__ and bytes.format diff --git a/pypy/objspace/std/ropeobject.py b/pypy/objspace/std/ropeobject.py --- a/pypy/obj

[pypy-commit] pypy py3k: Fix test_newformat

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48168:f12a2184cae5 Date: 2011-10-17 22:50 +0200 http://bitbucket.org/pypy/pypy/changeset/f12a2184cae5/ Log:Fix test_newformat diff --git a/pypy/objspace/std/newformat.py b/pypy/objspace/std/newformat.py --- a/pypy/objspace/std/newformat.p

[pypy-commit] pypy py3k: Fix test_bytes.py, test_buffer.py

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48164:913552c73f58 Date: 2011-10-17 21:13 +0200 http://bitbucket.org/pypy/pypy/changeset/913552c73f58/ Log:Fix test_bytes.py, test_buffer.py diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py --- a/pypy/interpreter/buffe

[pypy-commit] pypy py3k: Fix syntax of applevel code

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48171:ce1ccc552d38 Date: 2011-10-17 23:46 +0200 http://bitbucket.org/pypy/pypy/changeset/ce1ccc552d38/ Log:Fix syntax of applevel code diff --git a/pypy/objspace/std/objecttype.py b/pypy/objspace/std/objecttype.py --- a/pypy/objspace/std/

[pypy-commit] pypy py3k: oops

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48165:d7c06c912cdd Date: 2011-10-17 21:19 +0200 http://bitbucket.org/pypy/pypy/changeset/d7c06c912cdd/ Log:oops diff --git a/pypy/objspace/std/bytearrayobject.py b/pypy/objspace/std/bytearrayobject.py --- a/pypy/objspace/std/bytearrayobj

[pypy-commit] pypy py3k: Translation fixes

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48173:3693b7e7f95e Date: 2011-10-18 00:35 +0200 http://bitbucket.org/pypy/pypy/changeset/3693b7e7f95e/ Log:Translation fixes diff --git a/pypy/interpreter/module.py b/pypy/interpreter/module.py --- a/pypy/interpreter/module.py +++ b/pypy/

[pypy-commit] pypy py3k: Fix test_stringobject.py

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48167:a7d563ccdf7d Date: 2011-10-17 22:26 +0200 http://bitbucket.org/pypy/pypy/changeset/a7d563ccdf7d/ Log:Fix test_stringobject.py diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py --- a/pypy/objspace/st

[pypy-commit] pypy py3k: Adapt some applevel code to py3k

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48169:d3e2d6ec5903 Date: 2011-10-17 23:33 +0200 http://bitbucket.org/pypy/pypy/changeset/d3e2d6ec5903/ Log:Adapt some applevel code to py3k diff --git a/pypy/module/__builtin__/app_io.py b/pypy/module/__builtin__/app_io.py --- a/pypy/mod

[pypy-commit] pypy py3k: Fix interp_level helper functions in AppTest

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48170:d3b60f18ce64 Date: 2011-10-17 23:34 +0200 http://bitbucket.org/pypy/pypy/changeset/d3b60f18ce64/ Log:Fix interp_level helper functions in AppTest diff --git a/pypy/conftest.py b/pypy/conftest.py --- a/pypy/conftest.py +++ b/pypy/con

[pypy-commit] pypy py3k: unicode.lower() is not rpython it seems.

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48172:8b97595e7f42 Date: 2011-10-18 00:06 +0200 http://bitbucket.org/pypy/pypy/changeset/8b97595e7f42/ Log:unicode.lower() is not rpython it seems. diff --git a/pypy/objspace/std/bytearraytype.py b/pypy/objspace/std/bytearraytype.py ---

[pypy-commit] pypy py3k: Partially revert ef504fcb59bb, fixes a translation issue.

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48174:e301a12848ad Date: 2011-10-18 00:42 +0200 http://bitbucket.org/pypy/pypy/changeset/e301a12848ad/ Log:Partially revert ef504fcb59bb, fixes a translation issue. diff --git a/pypy/interpreter/pyparser/pyparse.py b/pypy/interpreter/pyp

[pypy-commit] pypy py3k: Remove code generation for the Print statement.

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48175:9b8d2f9b420c Date: 2011-10-18 01:01 +0200 http://bitbucket.org/pypy/pypy/changeset/9b8d2f9b420c/ Log:Remove code generation for the Print statement. diff --git a/pypy/interpreter/astcompiler/codegen.py b/pypy/interpreter/astcompile

[pypy-commit] pypy py3k: Add stack effect for new opcodes

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48176:b14ef64468e2 Date: 2011-10-18 01:03 +0200 http://bitbucket.org/pypy/pypy/changeset/b14ef64468e2/ Log:Add stack effect for new opcodes diff --git a/pypy/interpreter/astcompiler/assemble.py b/pypy/interpreter/astcompiler/assemble.py

[pypy-commit] pypy rgc-mem-pressure: add a __del__ to semaphores (untested)

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48177:caf2ca4afb8d Date: 2011-10-17 22:08 -0600 http://bitbucket.org/pypy/pypy/changeset/caf2ca4afb8d/ Log:add a __del__ to semaphores (untested) diff --git a/pypy/module/_multiprocessing/interp_semaphore.py b/pypy/module/_multiproces

[pypy-commit] pypy rgc-mem-pressure: add memory pressure to semaphores for linux

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48178:f6cf2a0021b8 Date: 2011-10-17 22:15 -0600 http://bitbucket.org/pypy/pypy/changeset/f6cf2a0021b8/ Log:add memory pressure to semaphores for linux diff --git a/pypy/module/_multiprocessing/interp_semaphore.py b/pypy/module/_multip

[pypy-commit] pypy rgc-mem-pressure: small change to mem pressure for semaphores

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48179:e177050f0c14 Date: 2011-10-17 22:18 -0600 http://bitbucket.org/pypy/pypy/changeset/e177050f0c14/ Log:small change to mem pressure for semaphores diff --git a/pypy/module/_multiprocessing/interp_semaphore.py b/pypy/module/_multip

[pypy-commit] pypy rgc-mem-pressure: small fix for semaphores

2011-10-17 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48180:3d953befd58a Date: 2011-10-17 23:23 -0600 http://bitbucket.org/pypy/pypy/changeset/3d953befd58a/ Log:small fix for semaphores diff --git a/pypy/module/_multiprocessing/interp_semaphore.py b/pypy/module/_multiprocessing/interp_se

[pypy-commit] pypy py3k: Store exception __cause__ differently: first in the OperationError,

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48181:a736f7e040d3 Date: 2011-10-18 01:13 +0200 http://bitbucket.org/pypy/pypy/changeset/a736f7e040d3/ Log:Store exception __cause__ differently: first in the OperationError, and move it to exception object when it is normalized.

[pypy-commit] pypy py3k: Add sys.abiflags. The empty string is good enough for now.

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48182:0ea3cb4c5772 Date: 2011-10-18 01:21 +0200 http://bitbucket.org/pypy/pypy/changeset/0ea3cb4c5772/ Log:Add sys.abiflags. The empty string is good enough for now. diff --git a/pypy/module/sys/__init__.py b/pypy/module/sys/__init__.py -

[pypy-commit] pypy py3k: Unbound methods are gone now :-)

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48183:63ea3ff98f1e Date: 2011-10-18 01:26 +0200 http://bitbucket.org/pypy/pypy/changeset/63ea3ff98f1e/ Log:Unbound methods are gone now :-) diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interp

[pypy-commit] pypy py3k: It appears that all opcodes must be present in PyFrame,

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48186:4f2915663f8e Date: 2011-10-18 08:24 +0200 http://bitbucket.org/pypy/pypy/changeset/4f2915663f8e/ Log:It appears that all opcodes must be present in PyFrame, even if the compiler does not emit them. diff --git a/pypy/interpre

[pypy-commit] pypy py3k: Fix the Print part of the read-eval-print loop.

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48184:c7013541688e Date: 2011-10-18 01:28 +0200 http://bitbucket.org/pypy/pypy/changeset/c7013541688e/ Log:Fix the Print part of the read-eval-print loop. diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy

[pypy-commit] pypy py3k: This is not necessary and breaks translation :-(

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48188:813961afa8c7 Date: 2011-10-18 08:27 +0200 http://bitbucket.org/pypy/pypy/changeset/813961afa8c7/ Log:This is not necessary and breaks translation :-( diff --git a/pypy/interpreter/pyparser/parsestring.py b/pypy/interpreter/pyparser

[pypy-commit] pypy py3k: Translation fix

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48185:d0b350aec8bc Date: 2011-10-18 08:16 +0200 http://bitbucket.org/pypy/pypy/changeset/d0b350aec8bc/ Log:Translation fix diff --git a/pypy/module/__builtin__/operation.py b/pypy/module/__builtin__/operation.py --- a/pypy/module/__built

[pypy-commit] pypy py3k: I don't know why this assert is necessary,

2011-10-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48187:c1d89830a817 Date: 2011-10-18 08:23 +0200 http://bitbucket.org/pypy/pypy/changeset/c1d89830a817/ Log:I don't know why this assert is necessary, there must be something wrong in some unrelated location. diff --git a/pypy/objs