[pypy-commit] pypy dead-code-optimization: Failing test

2012-02-28 Thread hakanardo
Author: Hakan Ardo ha...@debian.org Branch: dead-code-optimization Changeset: r52959:b819a305b30f Date: 2012-02-28 10:05 +0100 http://bitbucket.org/pypy/pypy/changeset/b819a305b30f/ Log:Failing test diff --git a/pypy/jit/metainterp/optimizeopt/__init__.py

[pypy-commit] pypy arm-backend-2: make sure we are only checking one byte in the cond cond_call_* operations

2012-02-28 Thread bivab
Author: David Schneider david.schnei...@picle.org Branch: arm-backend-2 Changeset: r52960:d47de5e0115f Date: 2012-02-28 11:04 + http://bitbucket.org/pypy/pypy/changeset/d47de5e0115f/ Log:make sure we are only checking one byte in the cond cond_call_* operations diff --git

[pypy-commit] pypy py3k: add a way to open a _io file given the stream. The dependency on _file is almost killed now

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52962:31042aa82067 Date: 2012-02-28 11:11 +0100 http://bitbucket.org/pypy/pypy/changeset/31042aa82067/ Log:add a way to open a _io file given the stream. The dependency on _file is almost killed now diff --git

[pypy-commit] pypy default: there is no need to import the full applevel warnings module to implement space.warn: warnings.warn is replaced by _warning.warn anyway, so just use that instead. As a cons

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: Changeset: r52964:538b58a51320 Date: 2012-02-28 12:17 +0100 http://bitbucket.org/pypy/pypy/changeset/538b58a51320/ Log:there is no need to import the full applevel warnings module to implement space.warn: warnings.warn is replaced by

[pypy-commit] pypy py3k: start to kill support for W_File and add support for _io files instead. _io

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52961:1c05f5b2cb44 Date: 2012-02-28 10:54 +0100 http://bitbucket.org/pypy/pypy/changeset/1c05f5b2cb44/ Log:start to kill support for W_File and add support for _io files instead. _io files haven't got a .stream

[pypy-commit] pypy py3k: rewrite this test by using directly _warnings instead of warnings: it's a considerable speedup, and import warnings did not ultimately work because the stdlib itertools module

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52966:282563d7352d Date: 2012-02-28 12:20 +0100 http://bitbucket.org/pypy/pypy/changeset/282563d7352d/ Log:rewrite this test by using directly _warnings instead of warnings: it's a considerable speedup, and import

[pypy-commit] pypy py3k: hg merge default

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52965:6fe3c22c294c Date: 2012-02-28 12:19 +0100 http://bitbucket.org/pypy/pypy/changeset/6fe3c22c294c/ Log:hg merge default diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++

[pypy-commit] pypy default: Add _Py_ForgetReference().

2012-02-28 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r52967:b741ab752493 Date: 2012-02-28 13:41 +0100 http://bitbucket.org/pypy/pypy/changeset/b741ab752493/ Log:Add _Py_ForgetReference(). http://mail.python.org/pipermail/pypy- dev/2012-February/009482.html diff --git

[pypy-commit] pypy miniscan: Start.

2012-02-28 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: miniscan Changeset: r52969:9a7ea1f2e494 Date: 2012-02-28 14:03 +0100 http://bitbucket.org/pypy/pypy/changeset/9a7ea1f2e494/ Log:Start. diff --git a/pypy/rpython/memory/gc/minimark.py b/pypy/rpython/memory/gc/minimark.py ---

[pypy-commit] pypy miniscan: Another attempt to have conservative stack scanning for the

2012-02-28 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: miniscan Changeset: r52968:0eacd8585bac Date: 2012-02-28 14:02 +0100 http://bitbucket.org/pypy/pypy/changeset/0eacd8585bac/ Log:Another attempt to have conservative stack scanning for the minimark gc.

[pypy-commit] pypy ppc-jit-backend: add method to branch and link to absolute address

2012-02-28 Thread hager
Author: hager sven.ha...@uni-duesseldorf.de Branch: ppc-jit-backend Changeset: r52970:758b09fb2f1f Date: 2012-02-27 17:27 +0100 http://bitbucket.org/pypy/pypy/changeset/758b09fb2f1f/ Log:add method to branch and link to absolute address diff --git a/pypy/jit/backend/ppc/codebuilder.py

[pypy-commit] pypy ppc-jit-backend: add *args to __exit__ method in class scratch_reg

2012-02-28 Thread hager
Author: hager sven.ha...@uni-duesseldorf.de Branch: ppc-jit-backend Changeset: r52971:3e9c0b6b242a Date: 2012-02-27 17:28 +0100 http://bitbucket.org/pypy/pypy/changeset/3e9c0b6b242a/ Log:add *args to __exit__ method in class scratch_reg diff --git a/pypy/jit/backend/ppc/codebuilder.py

[pypy-commit] pypy ppc-jit-backend: merge

2012-02-28 Thread hager
Author: hager sven.ha...@uni-duesseldorf.de Branch: ppc-jit-backend Changeset: r52973:52ece45399fc Date: 2012-02-27 20:00 +0100 http://bitbucket.org/pypy/pypy/changeset/52ece45399fc/ Log:merge diff --git a/pypy/jit/backend/llsupport/gc.py b/pypy/jit/backend/llsupport/gc.py ---

[pypy-commit] pypy ppc-jit-backend: (bivab, hager): use more space efficient guard state encoding like X86 and ARM backends

2012-02-28 Thread hager
Author: hager sven.ha...@uni-duesseldorf.de Branch: ppc-jit-backend Changeset: r52972:3e4381b13941 Date: 2012-02-27 17:40 +0100 http://bitbucket.org/pypy/pypy/changeset/3e4381b13941/ Log:(bivab, hager): use more space efficient guard state encoding like X86 and ARM backends diff

[pypy-commit] pypy ppc-jit-backend: use architecture independent cmp_op instead of cmpwi/cmpdi

2012-02-28 Thread hager
Author: hager sven.ha...@uni-duesseldorf.de Branch: ppc-jit-backend Changeset: r52974:b2a3369d7362 Date: 2012-02-28 14:04 +0100 http://bitbucket.org/pypy/pypy/changeset/b2a3369d7362/ Log:use architecture independent cmp_op instead of cmpwi/cmpdi diff --git

[pypy-commit] pypy ppc-jit-backend: (bivab, hager): the previous jump condition was correct, see comment in code

2012-02-28 Thread hager
Author: hager sven.ha...@uni-duesseldorf.de Branch: ppc-jit-backend Changeset: r52975:287553fbcb22 Date: 2012-02-28 14:06 +0100 http://bitbucket.org/pypy/pypy/changeset/287553fbcb22/ Log:(bivab, hager): the previous jump condition was correct, see comment in code diff --git

[pypy-commit] pypy miniscan: Comment.

2012-02-28 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: miniscan Changeset: r52977:c5c715bfac2b Date: 2012-02-28 14:09 +0100 http://bitbucket.org/pypy/pypy/changeset/c5c715bfac2b/ Log:Comment. diff --git a/pypy/rpython/memory/gc/minimark.py b/pypy/rpython/memory/gc/minimark.py ---

[pypy-commit] pypy miniscan: Add the option.

2012-02-28 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: miniscan Changeset: r52976:1407952bc3f8 Date: 2012-02-28 14:04 +0100 http://bitbucket.org/pypy/pypy/changeset/1407952bc3f8/ Log:Add the option. diff --git a/pypy/config/translationoption.py b/pypy/config/translationoption.py ---

[pypy-commit] pypy miniscan: In-progress: import existing tests for using them with 'gcrootfinder=scan'.

2012-02-28 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: miniscan Changeset: r52978:8ab8c0ea5f42 Date: 2012-02-28 14:51 +0100 http://bitbucket.org/pypy/pypy/changeset/8ab8c0ea5f42/ Log:In-progress: import existing tests for using them with 'gcrootfinder=scan'. diff --git

[pypy-commit] pypy ppc-jit-backend: add test_gc_integration from x86 backend

2012-02-28 Thread hager
Author: hager sven.ha...@uni-duesseldorf.de Branch: ppc-jit-backend Changeset: r52979:0c2f89975c18 Date: 2012-02-28 16:06 +0100 http://bitbucket.org/pypy/pypy/changeset/0c2f89975c18/ Log:add test_gc_integration from x86 backend diff --git a/pypy/jit/backend/ppc/test/test_gc_integration.py

[pypy-commit] pypy py3k: use 'struct' instead of 'string', because when we happen to import the stdlib module, it has fewer dependencies. It's much faster, and string won't import anyway because itert

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52980:ee935eada069 Date: 2012-02-28 12:28 +0100 http://bitbucket.org/pypy/pypy/changeset/ee935eada069/ Log:use 'struct' instead of 'string', because when we happen to import the stdlib module, it has fewer dependencies.

[pypy-commit] pypy py3k: fix the invocations of _testfile because the signature changed

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52982:cae066e3bc7d Date: 2012-02-28 12:42 +0100 http://bitbucket.org/pypy/pypy/changeset/cae066e3bc7d/ Log:fix the invocations of _testfile because the signature changed diff --git a/pypy/module/imp/test/test_import.py

[pypy-commit] pypy py3k: make sure to always specify an explicit encoding. Else, _io.open will try to import locale to get the default one, triggering a recursive import and then BOOM

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52983:df535a5e3932 Date: 2012-02-28 15:39 +0100 http://bitbucket.org/pypy/pypy/changeset/df535a5e3932/ Log:make sure to always specify an explicit encoding. Else, _io.open will try to import locale to get the default

[pypy-commit] pypy py3k: autodetect the encoding and use it to open the file when calling imp.find_module

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52984:7f5530c7685c Date: 2012-02-28 16:03 +0100 http://bitbucket.org/pypy/pypy/changeset/7f5530c7685c/ Log:autodetect the encoding and use it to open the file when calling imp.find_module diff --git

[pypy-commit] pypy py3k: move the import in the setup_class, else it runs and fails on top of py.py (because the tests load the source of test_app.py itself)

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52985:6d4f46082489 Date: 2012-02-28 16:15 +0100 http://bitbucket.org/pypy/pypy/changeset/6d4f46082489/ Log:move the import in the setup_class, else it runs and fails on top of py.py (because the tests load the source of

[pypy-commit] pypy default: move wrap_streamerror and wrap_oserror_as_ioerror in a separate file. This is usefult in the py3k branch because we are about to kill module/_file

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: Changeset: r52986:ca63e43565f0 Date: 2012-02-28 16:29 +0100 http://bitbucket.org/pypy/pypy/changeset/ca63e43565f0/ Log:move wrap_streamerror and wrap_oserror_as_ioerror in a separate file. This is usefult in the py3k branch because we

[pypy-commit] pypy py3k: hg merge default

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52987:0921c2a635db Date: 2012-02-28 16:31 +0100 http://bitbucket.org/pypy/pypy/changeset/0921c2a635db/ Log:hg merge default diff --git a/pypy/interpreter/streamutil.py b/pypy/interpreter/streamutil.py new file mode 100644 ---

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

2012-02-28 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r52988:caf81be4ceb9 Date: 2012-02-28 16:34 +0100 http://bitbucket.org/pypy/pypy/changeset/caf81be4ceb9/ Log:Add a passing test. diff --git a/pypy/jit/backend/x86/test/test_gc_integration.py

[pypy-commit] pypy ppc-jit-backend: cast address

2012-02-28 Thread hager
Author: hager sven.ha...@uni-duesseldorf.de Branch: ppc-jit-backend Changeset: r52990:cd8f4bce191a Date: 2012-02-28 16:44 +0100 http://bitbucket.org/pypy/pypy/changeset/cd8f4bce191a/ Log:cast address diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/pypy/jit/backend/ppc/ppc_assembler.py

[pypy-commit] pypy default: Phew. A passing test checking that gc pointers are correctly

2012-02-28 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r52991:e6f349cd4a97 Date: 2012-02-28 17:13 +0100 http://bitbucket.org/pypy/pypy/changeset/e6f349cd4a97/ Log:Phew. A passing test checking that gc pointers are correctly saved and correctly restored around CALL_MALLOC_NURSERY.

[pypy-commit] pypy ppc-jit-backend: Allocate normal stack frame in _build_malloc_slowpath.

2012-02-28 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r52992:dd306ad1d898 Date: 2012-02-28 11:30 -0500 http://bitbucket.org/pypy/pypy/changeset/dd306ad1d898/ Log:Allocate normal stack frame in _build_malloc_slowpath. diff --git a/pypy/jit/backend/ppc/ppc_assembler.py

[pypy-commit] pypy py3k: we need a BytesIO for marshal. Also, fix syntax about longs

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52993:31b0c375cc6e Date: 2012-02-28 18:11 +0100 http://bitbucket.org/pypy/pypy/changeset/31b0c375cc6e/ Log:we need a BytesIO for marshal. Also, fix syntax about longs diff --git a/pypy/module/marshal/test/test_marshal.py

[pypy-commit] pypy py3k: s/func_code/__code__

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52994:970e29f1f3d3 Date: 2012-02-28 18:24 +0100 http://bitbucket.org/pypy/pypy/changeset/970e29f1f3d3/ Log:s/func_code/__code__ diff --git a/pypy/module/marshal/test/test_marshal.py b/pypy/module/marshal/test/test_marshal.py

[pypy-commit] pypy py3k: test bytes literals instead of unicode, and make sure to write bytes to a file opened with 'wb'

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52995:0132be21e554 Date: 2012-02-28 18:38 +0100 http://bitbucket.org/pypy/pypy/changeset/0132be21e554/ Log:test bytes literals instead of unicode, and make sure to write bytes to a file opened with 'wb' diff --git

[pypy-commit] pypy default: failing test

2012-02-28 Thread hakanardo
Author: Hakan Ardo ha...@debian.org Branch: Changeset: r52998:53bddc9e650a Date: 2012-02-28 19:21 +0100 http://bitbucket.org/pypy/pypy/changeset/53bddc9e650a/ Log:failing test diff --git a/pypy/jit/metainterp/optimizeopt/test/test_multilabel.py

[pypy-commit] Notification: pypy

2012-02-28 Thread Bitbucket
You have received a notification from MichaƂ Bendowski. Hi, I forked pypy. My fork is at https://bitbucket.org/benol/pypy. -- Disable notifications at https://bitbucket.org/account/notifications/ ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy py3k: kill the u prefix, and adapt che expected bytecode to the new py3k compiler

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r52999:6b7f258424f1 Date: 2012-02-28 20:35 +0100 http://bitbucket.org/pypy/pypy/changeset/6b7f258424f1/ Log:kill the u prefix, and adapt che expected bytecode to the new py3k compiler diff --git

[pypy-commit] pypy default: bah, the name of this class is clearly wrong (maybe a copypaste)?

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: Changeset: r53000:836fcc2fe8d8 Date: 2012-02-28 22:54 +0100 http://bitbucket.org/pypy/pypy/changeset/836fcc2fe8d8/ Log:bah, the name of this class is clearly wrong (maybe a copypaste)? diff --git

[pypy-commit] pypy py3k: this syntax is no longer valid, kill the test

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r53002:28efb1ee061c Date: 2012-02-28 23:06 +0100 http://bitbucket.org/pypy/pypy/changeset/28efb1ee061c/ Log:this syntax is no longer valid, kill the test diff --git a/pypy/module/exceptions/test/test_exc.py

[pypy-commit] pypy py3k: kill the u''

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r53003:ef6d5d78273e Date: 2012-02-28 23:08 +0100 http://bitbucket.org/pypy/pypy/changeset/ef6d5d78273e/ Log:kill the u'' diff --git a/pypy/module/exceptions/test/test_exc.py b/pypy/module/exceptions/test/test_exc.py ---

[pypy-commit] pypy py3k: kill the cStringIO module and its tests

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r53001:9470a3e579f1 Date: 2012-02-28 22:57 +0100 http://bitbucket.org/pypy/pypy/changeset/9470a3e579f1/ Log:kill the cStringIO module and its tests diff --git a/lib_pypy/cStringIO.py b/lib_pypy/cStringIO.py deleted file mode

[pypy-commit] pypy py3k: kill the u''

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r53004:390d9fc2b4bd Date: 2012-02-28 23:09 +0100 http://bitbucket.org/pypy/pypy/changeset/390d9fc2b4bd/ Log:kill the u'' diff --git a/pypy/module/exceptions/test/test_exc.py b/pypy/module/exceptions/test/test_exc.py ---

[pypy-commit] pypy py3k: __hex__ and __oct__ has gone in py3k, and we can return only str from __str__ and __repr__ (instead of e.g. str and unicode in py2). Adapt this test, which is now very simple

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r53005:49869aab11b9 Date: 2012-02-28 23:28 +0100 http://bitbucket.org/pypy/pypy/changeset/49869aab11b9/ Log:__hex__ and __oct__ has gone in py3k, and we can return only str from __str__ and __repr__ (instead of e.g. str

[pypy-commit] pypy py3k: kill the case about longs, we no longer have them

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r53007:f0188f4306f9 Date: 2012-02-28 23:35 +0100 http://bitbucket.org/pypy/pypy/changeset/f0188f4306f9/ Log:kill the case about longs, we no longer have them diff --git a/pypy/objspace/test/test_descroperation.py

[pypy-commit] pypy py3k: kill the cases about longs. Also, instances of classes which define __eq__ but not __hash__ are unhashable in py3k. Fix the test, which now passes with -A but fails on py.py

2012-02-28 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r53008:3a26b5491705 Date: 2012-02-28 23:39 +0100 http://bitbucket.org/pypy/pypy/changeset/3a26b5491705/ Log:kill the cases about longs. Also, instances of classes which define __eq__ but not __hash__ are unhashable in

[pypy-commit] pypy dead-code-optimization: work some on the tests, IN PROGRESS

2012-02-28 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: dead-code-optimization Changeset: r53010:543bfbe532c4 Date: 2012-02-28 22:46 -0800 http://bitbucket.org/pypy/pypy/changeset/543bfbe532c4/ Log:work some on the tests, IN PROGRESS diff --git a/pypy/jit/metainterp/optimizeopt/deadops.py