[pypy-commit] pypy py3k: in-progress: make list comprehensions in their own function; I just check this is to push it on my notebook :-)

2012-10-24 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r58395:97e1b1af67ce Date: 2012-10-22 09:55 +0200 http://bitbucket.org/pypy/pypy/changeset/97e1b1af67ce/ Log:in-progress: make list comprehensions in their own function; I just check this is to push it on my notebook :-) diff --git a/pypy/i

[pypy-commit] pypy py3k: finish the work started in 97e1b1af67ce: run list comprehensions in their own scope, as we do for genexp, setcomp and dictcomp

2012-10-24 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r58396:06ea8add5a80 Date: 2012-10-24 12:18 +0200 http://bitbucket.org/pypy/pypy/changeset/06ea8add5a80/ Log:finish the work started in 97e1b1af67ce: run list comprehensions in their own scope, as we do for genexp, setcomp and dictcomp diff

[pypy-commit] pypy result-in-resops: Start attacking the optimizer chain

2012-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: result-in-resops Changeset: r58398:e286cf78805e Date: 2012-10-24 18:30 +0200 http://bitbucket.org/pypy/pypy/changeset/e286cf78805e/ Log:Start attacking the optimizer chain diff --git a/pypy/jit/metainterp/optimizeopt/earlyforce.py b/pypy/jit/metainterp/opt

[pypy-commit] pypy py3k: we must ignore the encoding cookie even if we are compiling bytes

2012-10-24 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r58399:f8df108f0a8a Date: 2012-10-24 19:02 +0200 http://bitbucket.org/pypy/pypy/changeset/f8df108f0a8a/ Log:we must ignore the encoding cookie even if we are compiling bytes diff --git a/pypy/module/__builtin__/compiling.py b/pypy/module/__builti

[pypy-commit] pypy py3k: catch the correct exception type for both pypy and cpython

2012-10-24 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r58400:0278546b4427 Date: 2012-10-24 19:18 +0200 http://bitbucket.org/pypy/pypy/changeset/0278546b4427/ Log:catch the correct exception type for both pypy and cpython diff --git a/pypy/module/__builtin__/test/test_descriptor.py b/pypy/module/__bu

[pypy-commit] pypy py3k: partly revert b59013f9587e, this part is needed for the recently fixed

2012-10-24 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r58401:db79e2d1c28e Date: 2012-10-24 13:51 -0700 http://bitbucket.org/pypy/pypy/changeset/db79e2d1c28e/ Log:partly revert b59013f9587e, this part is needed for the recently fixed http://bugs.python.org/issue16013 diff --git a/pypy/module/

[pypy-commit] pypy py3k: update error message

2012-10-24 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r58402:4d32af236868 Date: 2012-10-24 13:54 -0700 http://bitbucket.org/pypy/pypy/changeset/4d32af236868/ Log:update error message diff --git a/pypy/module/_csv/interp_reader.py b/pypy/module/_csv/interp_reader.py --- a/pypy/module/_csv/interp_rea

[pypy-commit] pypy py3k: 2to3 most of lib_pypy except _ctypes/numpypy/pyrepl

2012-10-24 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r58403:c1aa74c06e86 Date: 2012-10-24 13:55 -0700 http://bitbucket.org/pypy/pypy/changeset/c1aa74c06e86/ Log:2to3 most of lib_pypy except _ctypes/numpypy/pyrepl diff --git a/lib_pypy/__init__.py b/lib_pypy/__init__.py --- a/lib_pypy/__init__.py ++

[pypy-commit] pypy py3k: kill refs to the exceptions module

2012-10-24 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r58404:1da7c415dfb4 Date: 2012-10-24 13:56 -0700 http://bitbucket.org/pypy/pypy/changeset/1da7c415dfb4/ Log:kill refs to the exceptions module diff --git a/lib_pypy/pypy_test/test_exception_extra.py b/lib_pypy/pypy_test/test_exception_extra.py -

[pypy-commit] pyrepl py3k-readline: Typo. Now pyrepl works with pypy!

2012-10-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k-readline Changeset: r200:1d5880d5ced3 Date: 2012-10-24 23:24 +0200 http://bitbucket.org/pypy/pyrepl/changeset/1d5880d5ced3/ Log:Typo. Now pyrepl works with pypy! diff --git a/pyrepl/curses.py b/pyrepl/curses.py --- a/pyrepl/curses.py +++ b/pyrepl/cur

[pypy-commit] pypy py3k: test_itertools: skip some implementation details

2012-10-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r58405:ef65b97b8e37 Date: 2012-10-24 08:37 +0200 http://bitbucket.org/pypy/pypy/changeset/ef65b97b8e37/ Log:test_itertools: skip some implementation details and accepts TypeError when the types don't match. diff --git a/lib-python/

[pypy-commit] pypy py3k: Do the same changes as in the 2.7 test suite.

2012-10-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r58406:e50a9da4f6c2 Date: 2012-10-24 08:43 +0200 http://bitbucket.org/pypy/pypy/changeset/e50a9da4f6c2/ Log:Do the same changes as in the 2.7 test suite. diff --git a/lib-python/3.2/test/test_itertools.py b/lib-python/3.2/test/test_iterto

[pypy-commit] pypy py3k: Skip an implementation detail, and cherry-pick change for CPython Issue #14177

2012-10-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r58408:3b8a6e70f232 Date: 2012-10-24 22:02 +0200 http://bitbucket.org/pypy/pypy/changeset/3b8a6e70f232/ Log:Skip an implementation detail, and cherry-pick change for CPython Issue #14177 that is not yet released and that PyPy alread

[pypy-commit] pypy py3k: CPython issue 13343: Fix a crash when a lambda expression uses a global

2012-10-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r58409:9ccaaa9b4bac Date: 2012-10-24 23:04 +0200 http://bitbucket.org/pypy/pypy/changeset/9ccaaa9b4bac/ Log:CPython issue 13343: Fix a crash when a lambda expression uses a global variable in the default value of a keyword-only argu

[pypy-commit] pypy py3k: Also skip part of this test, like for 2.7

2012-10-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r58407:9235686f0e23 Date: 2012-10-24 08:46 +0200 http://bitbucket.org/pypy/pypy/changeset/9235686f0e23/ Log:Also skip part of this test, like for 2.7 diff --git a/lib-python/3.2/test/test_itertools.py b/lib-python/3.2/test/test_itertools.

[pypy-commit] pypy py3k: io module: replace some ValueError by UnsupportedOperation.

2012-10-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r58410:7a0955158bb6 Date: 2012-10-24 23:08 +0200 http://bitbucket.org/pypy/pypy/changeset/7a0955158bb6/ Log:io module: replace some ValueError by UnsupportedOperation. diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_io/in

[pypy-commit] pypy py3k: Update pyrepl from upstream (py3k-readline branch)

2012-10-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r58411:be161e2bc46a Date: 2012-10-24 23:34 +0200 http://bitbucket.org/pypy/pypy/changeset/be161e2bc46a/ Log:Update pyrepl from upstream (py3k-readline branch) diff --git a/lib_pypy/pyrepl/_minimal_curses.py b/lib_pypy/pyrepl/_minimal_curs

[pypy-commit] pypy default: Fixed #1301 -- copystrcontents from Constant -> virtual is fully unrolled now

2012-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r58412:15b5a4bb248a Date: 2012-10-24 18:46 -0700 http://bitbucket.org/pypy/pypy/changeset/15b5a4bb248a/ Log:Fixed #1301 -- copystrcontents from Constant -> virtual is fully unrolled now diff --git a/pypy/jit/metainterp/optimizeopt/test/test_opt

[pypy-commit] pypy default: fix jit translation, don't lookinside this function until ptradd works with things besides ccharp

2012-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r58413:88158af0627f Date: 2012-10-24 19:38 -0700 http://bitbucket.org/pypy/pypy/changeset/88158af0627f/ Log:fix jit translation, don't lookinside this function until ptradd works with things besides ccharp diff --git a/pypy/module/array/interp_

[pypy-commit] pypy default: explanatory comment

2012-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r58414:f7a2f8b77652 Date: 2012-10-24 19:38 -0700 http://bitbucket.org/pypy/pypy/changeset/f7a2f8b77652/ Log:explanatory comment diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py --- a/pypy/module/array/interp_array.py

[pypy-commit] pypy py3k: a couple more encoding related failures

2012-10-24 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r58415:1df7698eebfd Date: 2012-10-24 23:19 -0700 http://bitbucket.org/pypy/pypy/changeset/1df7698eebfd/ Log:a couple more encoding related failures diff --git a/pypy/module/__builtin__/test/test_builtin.py b/pypy/module/__builtin__/test/test_bui