[pypy-commit] pypy win_ffi: add test for __stdcall, add fix for non-jit

2012-05-31 Thread mattip
Author: Matti Picus Branch: win_ffi Changeset: r55252:ba7be50b404e Date: 2012-05-31 22:31 +0300 http://bitbucket.org/pypy/pypy/changeset/ba7be50b404e/ Log:add test for __stdcall, add fix for non-jit diff --git a/pypy/rlib/libffi.py b/pypy/rlib/libffi.py --- a/pypy/rlib/libffi.py +++ b/pypy/r

[pypy-commit] pypy ppc-backend-2: Delete FP result register copy in emit_guard_call_assembler Path B.

2012-05-31 Thread edelsohn
Author: edelsohn Branch: ppc-backend-2 Changeset: r55251:30c15891224d Date: 2012-05-31 11:26 -0400 http://bitbucket.org/pypy/pypy/changeset/30c15891224d/ Log:Delete FP result register copy in emit_guard_call_assembler Path B. diff --git a/pypy/jit/backend/ppc/opassembler.py b/pypy/jit/backen

[pypy-commit] pypy ppc-backend-2: Delete after_call from FPRegisterManager and define call_result_location.

2012-05-31 Thread edelsohn
Author: edelsohn Branch: ppc-backend-2 Changeset: r55250:eab47c5d08b9 Date: 2012-05-31 11:25 -0400 http://bitbucket.org/pypy/pypy/changeset/eab47c5d08b9/ Log:Delete after_call from FPRegisterManager and define call_result_location. diff --git a/pypy/jit/backend/ppc/regalloc.py b/pypy/

[pypy-commit] pypy ppc-backend-2: First FP argument in r.f1.

2012-05-31 Thread edelsohn
Author: edelsohn Branch: ppc-backend-2 Changeset: r55249:643336df5e4c Date: 2012-05-31 11:24 -0400 http://bitbucket.org/pypy/pypy/changeset/643336df5e4c/ Log:First FP argument in r.f1. diff --git a/pypy/jit/backend/ppc/register.py b/pypy/jit/backend/ppc/register.py --- a/pypy/jit/backend/ppc/

[pypy-commit] pypy default: add test and fix for issue 1153

2012-05-31 Thread mattip
Author: Matti Picus Branch: Changeset: r55248:ffd032c196fb Date: 2012-05-31 18:15 +0300 http://bitbucket.org/pypy/pypy/changeset/ffd032c196fb/ Log:add test and fix for issue 1153 diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/m

[pypy-commit] pypy py3k: s/thread/_thread

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55246:db93696033f1 Date: 2012-05-31 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/db93696033f1/ Log:s/thread/_thread diff --git a/pypy/module/thread/test/test_local.py b/pypy/module/thread/test/test_local.py --- a/pypy/module/thread/test/

[pypy-commit] pypy py3k: speedup tests by passing -S to py.py

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55244:efd56aab4e75 Date: 2012-05-31 16:57 +0200 http://bitbucket.org/pypy/pypy/changeset/efd56aab4e75/ Log:speedup tests by passing -S to py.py diff --git a/pypy/module/termios/test/test_termios.py b/pypy/module/termios/test/test_termios.py ---

[pypy-commit] pypy py3k: we need to explicitly save exceptions now

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55242:f4e2b4b6e557 Date: 2012-05-31 16:48 +0200 http://bitbucket.org/pypy/pypy/changeset/f4e2b4b6e557/ Log:we need to explicitly save exceptions now diff --git a/pypy/module/sys/test/test_sysmodule.py b/pypy/module/sys/test/test_sysmodule.py ---

[pypy-commit] pypy py3k: increase pexpect's maxread, because now we print a bit more [platform:execute] lines

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55239:16a3015c36e0 Date: 2012-05-31 16:39 +0200 http://bitbucket.org/pypy/pypy/changeset/16a3015c36e0/ Log:increase pexpect's maxread, because now we print a bit more [platform:execute] lines diff --git a/pypy/module/micronumpy/test/test_

[pypy-commit] pypy py3k: list this missing test file

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55247:da64178e60f5 Date: 2012-05-31 17:10 +0200 http://bitbucket.org/pypy/pypy/changeset/da64178e60f5/ Log:list this missing test file diff --git a/lib-python/conftest.py b/lib-python/conftest.py --- a/lib-python/conftest.py +++ b/lib-python/conf

[pypy-commit] pypy py3k: make sure to import a module which does not import anything, else the counter might be >1

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55245:bc882eab6c52 Date: 2012-05-31 17:05 +0200 http://bitbucket.org/pypy/pypy/changeset/bc882eab6c52/ Log:make sure to import a module which does not import anything, else the counter might be >1 diff --git a/pypy/module/thread/test/test

[pypy-commit] pypy py3k: baaaah. Veeery subtle difference wrt python2

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55243:c3c6f4f21698 Date: 2012-05-31 16:54 +0200 http://bitbucket.org/pypy/pypy/changeset/c3c6f4f21698/ Log:bh. Veeery subtle difference wrt python2 diff --git a/pypy/module/sys/app.py b/pypy/module/sys/app.py --- a/pypy/module/sys/app.py +++

[pypy-commit] pypy py3k: we need to explicitly save exceptions now

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55241:2485b1f27e71 Date: 2012-05-31 16:47 +0200 http://bitbucket.org/pypy/pypy/changeset/2485b1f27e71/ Log:we need to explicitly save exceptions now diff --git a/pypy/module/sys/test/test_sysmodule.py b/pypy/module/sys/test/test_sysmodule.py ---

[pypy-commit] pypy py3k: itertools.izip has gone in py3k

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55238:6aaaba32e7a6 Date: 2012-05-31 16:23 +0200 http://bitbucket.org/pypy/pypy/changeset/6aaaba32e7a6/ Log:itertools.izip has gone in py3k diff --git a/pypy/module/imp/test/test_import.py b/pypy/module/imp/test/test_import.py --- a/pypy/module/i

[pypy-commit] pypy py3k: isinstance(x, str) is not rpython, so it's nonsense to have it in the fake objspace. This fixes module/posix/test/test_ztranslation

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55240:358b323e52c0 Date: 2012-05-31 16:43 +0200 http://bitbucket.org/pypy/pypy/changeset/358b323e52c0/ Log:isinstance(x, str) is not rpython, so it's nonsense to have it in the fake objspace. This fixes module/posix/test/test_ztranslation

[pypy-commit] pypy py3k: bytes vs unicode and print() function

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55237:16a6b785b86d Date: 2012-05-31 16:20 +0200 http://bitbucket.org/pypy/pypy/changeset/16a6b785b86d/ Log:bytes vs unicode and print() function diff --git a/pypy/module/gc/test/test_app_referents.py b/pypy/module/gc/test/test_app_referents.py -

[pypy-commit] pypy py3k: improve the fake objspace to make checkmodule('_random') happy

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55232:fdc75ae0fd0e Date: 2012-05-31 15:36 +0200 http://bitbucket.org/pypy/pypy/changeset/fdc75ae0fd0e/ Log:improve the fake objspace to make checkmodule('_random') happy diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py

[pypy-commit] pypy py3k: py3k-ify

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55234:30dada9c82e2 Date: 2012-05-31 15:39 +0200 http://bitbucket.org/pypy/pypy/changeset/30dada9c82e2/ Log:py3k-ify diff --git a/pypy/module/_ssl/test/test_ssl.py b/pypy/module/_ssl/test/test_ssl.py --- a/pypy/module/_ssl/test/test_ssl.py +++ b/

[pypy-commit] pypy py3k: py3k_skip one test, fix the other

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55230:f2c108d4f30a Date: 2012-05-31 15:32 +0200 http://bitbucket.org/pypy/pypy/changeset/f2c108d4f30a/ Log:py3k_skip one test, fix the other diff --git a/pypy/module/_multiprocessing/test/test_memory.py b/pypy/module/_multiprocessing/test/test_m

[pypy-commit] pypy py3k: subtle py2 vs py3 difference

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55236:955124f10b68 Date: 2012-05-31 16:09 +0200 http://bitbucket.org/pypy/pypy/changeset/955124f10b68/ Log:subtle py2 vs py3 difference diff --git a/pypy/module/_weakref/test/test_weakref.py b/pypy/module/_weakref/test/test_weakref.py --- a/pypy

[pypy-commit] pypy py3k: py3k{ify,skip} some more tests

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55235:8e98e1241d41 Date: 2012-05-31 16:06 +0200 http://bitbucket.org/pypy/pypy/changeset/8e98e1241d41/ Log:py3k{ify,skip} some more tests diff --git a/pypy/module/_warnings/test/test_warnings.py b/pypy/module/_warnings/test/test_warnings.py ---

[pypy-commit] pypy py3k: py3k_skip these tests for now

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55233:69802cef3fef Date: 2012-05-31 15:38 +0200 http://bitbucket.org/pypy/pypy/changeset/69802cef3fef/ Log:py3k_skip these tests for now diff --git a/pypy/module/_multiprocessing/test/test_connection.py b/pypy/module/_multiprocessing/test/test_c

[pypy-commit] pypy py3k: kill long literals

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55231:ebd5aa5c62cc Date: 2012-05-31 15:34 +0200 http://bitbucket.org/pypy/pypy/changeset/ebd5aa5c62cc/ Log:kill long literals diff --git a/pypy/module/_random/test/test_random.py b/pypy/module/_random/test/test_random.py --- a/pypy/module/_rando

[pypy-commit] pypy py3k: py3k-ify, and pass -S to py.py to speed up tests

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55228:6be8b82c0291 Date: 2012-05-31 15:22 +0200 http://bitbucket.org/pypy/pypy/changeset/6be8b82c0291/ Log:py3k-ify, and pass -S to py.py to speed up tests diff --git a/pypy/module/_minimal_curses/test/test_curses.py b/pypy/module/_minimal_curse

[pypy-commit] pypy py3k: py3k-ify. Some tests fail for other reasons though (e.g., missing _socket.dup)

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55229:fee1266a36e1 Date: 2012-05-31 15:29 +0200 http://bitbucket.org/pypy/pypy/changeset/fee1266a36e1/ Log:py3k-ify. Some tests fail for other reasons though (e.g., missing _socket.dup) diff --git a/pypy/module/_multiprocessing/interp_con

[pypy-commit] pypy py3k: Some translation fixes

2012-05-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r55227:61b3803ec585 Date: 2012-05-31 14:36 +0200 http://bitbucket.org/pypy/pypy/changeset/61b3803ec585/ Log:Some translation fixes diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -7,4 +7,6 @@ re-enable IntDictStrategy +re-enable Std

[pypy-commit] pypy py3k: Many fixes in rope objects for py3k

2012-05-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r55226:a9be44dc22c8 Date: 2012-05-31 01:46 +0200 http://bitbucket.org/pypy/pypy/changeset/a9be44dc22c8/ Log:Many fixes in rope objects for py3k diff --git a/pypy/objspace/std/ropeobject.py b/pypy/objspace/std/ropeobject.py --- a/pypy/objsp

[pypy-commit] pypy py3k: Fix various test failures

2012-05-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r55224:b52cdc346162 Date: 2012-05-31 00:03 +0200 http://bitbucket.org/pypy/pypy/changeset/b52cdc346162/ Log:Fix various test failures diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__builtin__/functional.py --- a/pypy/mo

[pypy-commit] pypy py3k: hg merge default

2012-05-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r55225:9b0948a073d9 Date: 2012-05-31 00:05 +0200 http://bitbucket.org/pypy/pypy/changeset/9b0948a073d9/ Log:hg merge default ___ pypy-commit mailing list pypy-commit@python.org http://mail.python

[pypy-commit] pypy py3k: hg merge default

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55222:2f0431a1e9c9 Date: 2012-05-31 11:57 +0200 http://bitbucket.org/pypy/pypy/changeset/2f0431a1e9c9/ Log:hg merge default diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py --- a/pypy/module/_soc

[pypy-commit] pypy default: kill support for passing integers to bytearray.count. It does not work on CPython

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r55221:3bb8238312eb Date: 2012-05-31 11:53 +0200 http://bitbucket.org/pypy/pypy/changeset/3bb8238312eb/ Log:kill support for passing integers to bytearray.count. It does not work on CPython diff --git a/pypy/objspace/std/bytearrayobject.py b/

[pypy-commit] pypy py3k: merge

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55223:4fe3e17f2f5f Date: 2012-05-31 11:57 +0200 http://bitbucket.org/pypy/pypy/changeset/4fe3e17f2f5f/ Log:merge diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/config/pypyoption.py @@

[pypy-commit] pypy py3k: str vs bytes

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55220:a489b95c8a0e Date: 2012-05-31 11:21 +0200 http://bitbucket.org/pypy/pypy/changeset/a489b95c8a0e/ Log:str vs bytes diff --git a/pypy/objspace/std/test/test_bytearrayobject.py b/pypy/objspace/std/test/test_bytearrayobject.py --- a/pypy/objsp

[pypy-commit] pypy py3k: _md5 is no longer there

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55219:7a9a61680c56 Date: 2012-05-31 11:16 +0200 http://bitbucket.org/pypy/pypy/changeset/7a9a61680c56/ Log:_md5 is no longer there diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/confi

[pypy-commit] pypy py3k: failing test&fix. I think that bufferstr_w is what we want, not str_w; it makes a difference e.g. for bytearray and memoryview

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55218:b5cc44baeb21 Date: 2012-05-31 11:12 +0200 http://bitbucket.org/pypy/pypy/changeset/b5cc44baeb21/ Log:failing test&fix. I think that bufferstr_w is what we want, not str_w; it makes a difference e.g. for bytearray and memoryview diff

[pypy-commit] pypy py3k: make it possible to do int(bytearray(...)). This fixes test_bytearrayobject.test_int

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55217:7e674e85e38d Date: 2012-05-31 11:07 +0200 http://bitbucket.org/pypy/pypy/changeset/7e674e85e38d/ Log:make it possible to do int(bytearray(...)). This fixes test_bytearrayobject.test_int diff --git a/pypy/objspace/std/longtype.py b/p

[pypy-commit] pypy py3k: yet another place where to update the version number

2012-05-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r55216:bdb1ebdc9e83 Date: 2012-05-31 10:38 +0200 http://bitbucket.org/pypy/pypy/changeset/bdb1ebdc9e83/ Log:yet another place where to update the version number diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py --- a/pypy/to