[pypy-commit] pypy default: fix translation with --no-allworkingmodules

2016-09-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r87410:04821987a10e Date: 2016-09-27 09:58 +0200 http://bitbucket.org/pypy/pypy/changeset/04821987a10e/ Log:fix translation with --no-allworkingmodules diff --git a/pypy/module/sys/initpath.py b/pypy/module/sys/initpath.py --- a/pypy/module/sys/initpath

[pypy-commit] pypy py3k-faulthandler: Port pypy to the new interface

2016-09-27 Thread arigo
Author: Armin Rigo Branch: py3k-faulthandler Changeset: r87411:bc08e4bce5dd Date: 2016-09-27 10:35 +0200 http://bitbucket.org/pypy/pypy/changeset/bc08e4bce5dd/ Log:Port pypy to the new interface diff --git a/pypy/module/faulthandler/cintf.py b/pypy/module/faulthandler/cintf.py --- a/pypy/mo

[pypy-commit] pypy default: Tweak the build_cffi_imports output: clarify the status in case of

2016-09-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r87412:70287b5cb024 Date: 2016-09-27 11:26 +0200 http://bitbucket.org/pypy/pypy/changeset/70287b5cb024/ Log:Tweak the build_cffi_imports output: clarify the status in case of errors, remove any message in case everything works, and make sure

[pypy-commit] cffi default: Fix leak. Remaining issue: if the user close()s the file object in Python,

2016-09-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r2779:630f22d1d446 Date: 2016-09-27 11:37 +0200 http://bitbucket.org/cffi/cffi/changeset/630f22d1d446/ Log:Fix leak. Remaining issue: if the user close()s the file object in Python, the __cffi_FILE attribute remains there and the dup'ed file

[pypy-commit] pypy py3.5-bz2-lzma: unused data is now added again for decompression

2016-09-27 Thread plan_rich
Author: Richard Plangger Branch: py3.5-bz2-lzma Changeset: r87414:aab9dfb33c91 Date: 2016-09-27 13:46 +0200 http://bitbucket.org/pypy/pypy/changeset/aab9dfb33c91/ Log:unused data is now added again for decompression diff --git a/pypy/module/bz2/interp_bz2.py b/pypy/module/bz2/interp_bz2.py -

[pypy-commit] pypy py3.5-bz2-lzma: py3.5 modify test, read accepts None as first argument

2016-09-27 Thread plan_rich
Author: Richard Plangger Branch: py3.5-bz2-lzma Changeset: r87415:e07e6c2860a6 Date: 2016-09-27 13:50 +0200 http://bitbucket.org/pypy/pypy/changeset/e07e6c2860a6/ Log:py3.5 modify test, read accepts None as first argument diff --git a/pypy/module/bz2/test/test_bz2_file.py b/pypy/module/bz2/

[pypy-commit] pypy py3.5-bz2-lzma: tracking the rest of the buffer that has not been read

2016-09-27 Thread plan_rich
Author: Richard Plangger Branch: py3.5-bz2-lzma Changeset: r87413:b2c8a6a569f3 Date: 2016-09-27 12:34 +0200 http://bitbucket.org/pypy/pypy/changeset/b2c8a6a569f3/ Log:tracking the rest of the buffer that has not been read diff --git a/pypy/module/bz2/interp_bz2.py b/pypy/module/bz2/interp_bz

[pypy-commit] pypy py3k: Test and fix for allowing __len__ to return any index-like

2016-09-27 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r87416:494a05343a22 Date: 2016-09-27 17:42 +0100 http://bitbucket.org/pypy/pypy/changeset/494a05343a22/ Log:Test and fix for allowing __len__ to return any index-like diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py ---

[pypy-commit] pypy py3k: Skip PyPy-specific test on CPython

2016-09-27 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r87418:101d0434327d Date: 2016-09-27 19:00 +0100 http://bitbucket.org/pypy/pypy/changeset/101d0434327d/ Log:Skip PyPy-specific test on CPython diff --git a/pypy/module/imp/test/test_app.py b/pypy/module/imp/test/test_app.py --- a/pypy/module/imp/tes

[pypy-commit] pypy value-classes: Get simple test working

2016-09-27 Thread sbauman
Author: Spenser Bauman Branch: value-classes Changeset: r87419:afd1c22c477e Date: 2016-09-27 14:12 -0400 http://bitbucket.org/pypy/pypy/changeset/afd1c22c477e/ Log:Get simple test working diff --git a/rpython/jit/metainterp/optimizeopt/unroll.py b/rpython/jit/metainterp/optimizeopt/unroll.p

[pypy-commit] pypy py3.5: Make int() called with invalid argument type raise error message consistent with CPython

2016-09-27 Thread remarkablerocket
Author: Daniel Patrick Branch: py3.5 Changeset: r87421:8bfd0fa78952 Date: 2016-09-27 19:21 +0100 http://bitbucket.org/pypy/pypy/changeset/8bfd0fa78952/ Log:Make int() called with invalid argument type raise error message consistent with CPython Existing test was failing when run with

[pypy-commit] pypy py3k: Replace marshal with _md5 in test, so that it works on CPython (no idea why this is needed, but whatevs)

2016-09-27 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r87420:885295b9e9ea Date: 2016-09-27 19:59 +0100 http://bitbucket.org/pypy/pypy/changeset/885295b9e9ea/ Log:Replace marshal with _md5 in test, so that it works on CPython (no idea why this is needed, but whatevs) diff --git a/pypy/module/imp

[pypy-commit] pypy py3k: Fix NullImporter test and revert unnecessary stdlib change

2016-09-27 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r87422:ea9cd722574d Date: 2016-09-27 20:32 +0100 http://bitbucket.org/pypy/pypy/changeset/ea9cd722574d/ Log:Fix NullImporter test and revert unnecessary stdlib change diff --git a/lib-python/3/imp.py b/lib-python/3/imp.py --- a/lib-python/3/imp.py +

[pypy-commit] extradoc extradoc: Next crasher

2016-09-27 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5717:3db40beefd28 Date: 2016-09-27 22:12 +0200 http://bitbucket.org/pypy/extradoc/changeset/3db40beefd28/ Log:Next crasher diff --git a/planning/py3.5/cpython-crashers.rst b/planning/py3.5/cpython-crashers.rst --- a/planning/py3.5/cpython-cras

[pypy-commit] extradoc extradoc: tweaks

2016-09-27 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5718:bbe524770392 Date: 2016-09-27 22:22 +0200 http://bitbucket.org/pypy/extradoc/changeset/bbe524770392/ Log:tweaks diff --git a/planning/py3.5/cpython-crashers.rst b/planning/py3.5/cpython-crashers.rst --- a/planning/py3.5/cpython-crashers.r

[pypy-commit] pypy value-classes: Catch edge case

2016-09-27 Thread sbauman
Author: Spenser Bauman Branch: value-classes Changeset: r87424:8b4d2fcf1975 Date: 2016-09-27 16:42 -0400 http://bitbucket.org/pypy/pypy/changeset/8b4d2fcf1975/ Log:Catch edge case diff --git a/rpython/jit/metainterp/optimizeopt/virtualstate.py b/rpython/jit/metainterp/optimizeopt/virtualsta

[pypy-commit] pypy value-classes: Fix tests

2016-09-27 Thread sbauman
Author: Spenser Bauman Branch: value-classes Changeset: r87425:84b5711bcbb1 Date: 2016-09-27 19:48 -0400 http://bitbucket.org/pypy/pypy/changeset/84b5711bcbb1/ Log:Fix tests diff --git a/rpython/jit/metainterp/optimizeopt/virtualstate.py b/rpython/jit/metainterp/optimizeopt/virtualstate.py

[pypy-commit] pypy value-classes: Guard recursion in generate_guards

2016-09-27 Thread sbauman
Author: Spenser Bauman Branch: value-classes Changeset: r87426:27384c89faf6 Date: 2016-09-27 20:11 -0400 http://bitbucket.org/pypy/pypy/changeset/27384c89faf6/ Log:Guard recursion in generate_guards diff --git a/rpython/jit/metainterp/optimizeopt/virtualstate.py b/rpython/jit/metainterp/opt

[pypy-commit] pypy value-classes: Add test for case of Virtual/ConstPtr (failing currently)

2016-09-27 Thread sbauman
Author: Spenser Bauman Branch: value-classes Changeset: r87427:b4954bdf7ddc Date: 2016-09-27 21:20 -0400 http://bitbucket.org/pypy/pypy/changeset/b4954bdf7ddc/ Log:Add test for case of Virtual/ConstPtr (failing currently) diff --git a/rpython/jit/metainterp/test/test_virtual.py b/rpython/ji

[pypy-commit] pypy value-classes: Stop gap for dealing with Virtual/ConstPtr case

2016-09-27 Thread sbauman
Author: Spenser Bauman Branch: value-classes Changeset: r87428:eb82006f754f Date: 2016-09-27 21:34 -0400 http://bitbucket.org/pypy/pypy/changeset/eb82006f754f/ Log:Stop gap for dealing with Virtual/ConstPtr case diff --git a/rpython/jit/metainterp/optimizeopt/virtualstate.py b/rpython/jit/m

[pypy-commit] pypy value-classes: Add test case where a virtualized value class is forced

2016-09-27 Thread sbauman
Author: Spenser Bauman Branch: value-classes Changeset: r87429:1994dc5dc367 Date: 2016-09-27 23:36 -0400 http://bitbucket.org/pypy/pypy/changeset/1994dc5dc367/ Log:Add test case where a virtualized value class is forced diff --git a/rpython/jit/metainterp/test/test_virtual.py b/rpython/jit/