[pypy-commit] pypy api_func-refactor: Move C code generation code to methods of ApiFunction

2017-01-08 Thread rlamy
Author: Ronan Lamy Branch: api_func-refactor Changeset: r89432:deeb13497468 Date: 2017-01-09 01:12 + http://bitbucket.org/pypy/pypy/changeset/deeb13497468/ Log:Move C code generation code to methods of ApiFunction diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/p

[pypy-commit] pypy py3.5: Skip tests that are really about subinterpreters

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89431:ce8c2c3d808f Date: 2017-01-08 21:24 +0100 http://bitbucket.org/pypy/pypy/changeset/ce8c2c3d808f/ Log:Skip tests that are really about subinterpreters diff --git a/lib-python/3/test/test_threading.py b/lib-python/3/test/test_threading.py ---

[pypy-commit] pypy py3.5: Fix a division by zero

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89430:f2d9207e657b Date: 2017-01-08 21:21 +0100 http://bitbucket.org/pypy/pypy/changeset/f2d9207e657b/ Log:Fix a division by zero diff --git a/pypy/module/struct/interp_struct.py b/pypy/module/struct/interp_struct.py --- a/pypy/module/struct/inte

[pypy-commit] pypy py3.5: TypeError => OverflowError

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89429:ddb87455245b Date: 2017-01-08 21:13 +0100 http://bitbucket.org/pypy/pypy/changeset/ddb87455245b/ Log:TypeError => OverflowError diff --git a/pypy/module/pyexpat/interp_pyexpat.py b/pypy/module/pyexpat/interp_pyexpat.py --- a/pypy/module/pye

[pypy-commit] pypy py3.5: Add _testcapi.raise_signal(). Hack to have it (and awaitType) correctly

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89428:69efed9f9864 Date: 2017-01-08 17:57 +0100 http://bitbucket.org/pypy/pypy/changeset/69efed9f9864/ Log:Add _testcapi.raise_signal(). Hack to have it (and awaitType) correctly present even if cpyext is enabled. diff --git a/lib_pypy/_te

[pypy-commit] pypy py3.5: Complain in signal.set_wakeup_fd() if the fd is blocking

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89427:3da675aed49d Date: 2017-01-08 17:42 +0100 http://bitbucket.org/pypy/pypy/changeset/3da675aed49d/ Log:Complain in signal.set_wakeup_fd() if the fd is blocking diff --git a/pypy/module/signal/interp_signal.py b/pypy/module/signal/interp_signa

[pypy-commit] pypy py3.5: Rename argument, as per test_inspect_types

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89426:eed5601c6e65 Date: 2017-01-08 17:29 +0100 http://bitbucket.org/pypy/pypy/changeset/eed5601c6e65/ Log:Rename argument, as per test_inspect_types diff --git a/lib_pypy/_decimal.py b/lib_pypy/_decimal.py --- a/lib_pypy/_decimal.py +++ b/lib_pyp

[pypy-commit] pypy py3.5: Fix test_inspect_types (shows real failures now)

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89425:b7c079c171ab Date: 2017-01-08 17:27 +0100 http://bitbucket.org/pypy/pypy/changeset/b7c079c171ab/ Log:Fix test_inspect_types (shows real failures now) diff --git a/lib-python/3/test/test_decimal.py b/lib-python/3/test/test_decimal.py --- a/l

[pypy-commit] pypy py3.5: Fix for test_inspect_module

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89424:acb109bf07ca Date: 2017-01-08 17:11 +0100 http://bitbucket.org/pypy/pypy/changeset/acb109bf07ca/ Log:Fix for test_inspect_module diff --git a/lib_pypy/_decimal.py b/lib_pypy/_decimal.py --- a/lib_pypy/_decimal.py +++ b/lib_pypy/_decimal.py @

[pypy-commit] pypy py3.5: fix test

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89423:2e6e0d9eba8a Date: 2017-01-08 17:06 +0100 http://bitbucket.org/pypy/pypy/changeset/2e6e0d9eba8a/ Log:fix test diff --git a/lib-python/3/test/test_decimal.py b/lib-python/3/test/test_decimal.py --- a/lib-python/3/test/test_decimal.py +++ b/l

[pypy-commit] pypy py3.5: Generalize the test to accept both ValueError and OverflowError for some cases

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89422:5169bbf58c6c Date: 2017-01-08 17:05 +0100 http://bitbucket.org/pypy/pypy/changeset/5169bbf58c6c/ Log:Generalize the test to accept both ValueError and OverflowError for some cases diff --git a/lib-python/3/test/test_decimal.py b/lib

[pypy-commit] pypy py3.5: Pass test_invalid_context

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89421:feb960899f2a Date: 2017-01-08 16:59 +0100 http://bitbucket.org/pypy/pypy/changeset/feb960899f2a/ Log:Pass test_invalid_context diff --git a/lib_pypy/_decimal.py b/lib_pypy/_decimal.py --- a/lib_pypy/_decimal.py +++ b/lib_pypy/_decimal.py @@

[pypy-commit] pypy py3.5: add an extra test

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89420:ea5c8eea66d5 Date: 2017-01-08 16:55 +0100 http://bitbucket.org/pypy/pypy/changeset/ea5c8eea66d5/ Log:add an extra test diff --git a/lib-python/3/test/test_decimal.py b/lib-python/3/test/test_decimal.py --- a/lib-python/3/test/test_decimal.p

[pypy-commit] pypy py3.5: fix

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89419:de42c521f47a Date: 2017-01-08 16:45 +0100 http://bitbucket.org/pypy/pypy/changeset/de42c521f47a/ Log:fix diff --git a/pypy/module/sys/test/test_sysmodule.py b/pypy/module/sys/test/test_sysmodule.py --- a/pypy/module/sys/test/test_sysmodule.

[pypy-commit] pypy default: list.insert() in RPython should not force the list in the JIT, at least

2017-01-08 Thread arigo
Author: Armin Rigo Branch: Changeset: r89418:9c99515a58a3 Date: 2017-01-08 16:29 +0100 http://bitbucket.org/pypy/pypy/changeset/9c99515a58a3/ Log:list.insert() in RPython should not force the list in the JIT, at least if the index is constant diff --git a/rpython/jit/codewriter/supp

[pypy-commit] pypy py3.5: Issue #17032: The "global" in the "NameError: global name 'x' is not defined"

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89417:cbb0db3f773d Date: 2017-01-08 16:19 +0100 http://bitbucket.org/pypy/pypy/changeset/cbb0db3f773d/ Log:Issue #17032: The "global" in the "NameError: global name 'x' is not defined" error message has been removed. diff --git a/pypy/inte

[pypy-commit] pypy py3.5: this test is really CPython-only

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89416:52da0cf18848 Date: 2017-01-08 16:03 +0100 http://bitbucket.org/pypy/pypy/changeset/52da0cf18848/ Log:this test is really CPython-only diff --git a/lib-python/3/test/test_warnings/__init__.py b/lib-python/3/test/test_warnings/__init__.py ---

[pypy-commit] pypy py3.5: missing gc.collect()

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89415:4c3fa9a270fd Date: 2017-01-08 16:01 +0100 http://bitbucket.org/pypy/pypy/changeset/4c3fa9a270fd/ Log:missing gc.collect() diff --git a/lib-python/3/test/test_warnings/__init__.py b/lib-python/3/test/test_warnings/__init__.py --- a/lib-pytho

[pypy-commit] pypy py3.5: Fix the check for "is a built-in function"

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89414:6f5a8cd7e3b2 Date: 2017-01-08 15:59 +0100 http://bitbucket.org/pypy/pypy/changeset/6f5a8cd7e3b2/ Log:Fix the check for "is a built-in function" diff --git a/lib-python/3/test/test_warnings/__init__.py b/lib-python/3/test/test_warnings/__ini

[pypy-commit] pypy py3.5: Trying it out in this order: PYTHONWARNINGS should have lower priority than explicit -W options

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89413:62f33b906529 Date: 2017-01-08 15:56 +0100 http://bitbucket.org/pypy/pypy/changeset/62f33b906529/ Log:Trying it out in this order: PYTHONWARNINGS should have lower priority than explicit -W options diff --git a/pypy/interpreter/app_ma

[pypy-commit] pypy default: Add an XXX about .decode('utf-8') in RPython

2017-01-08 Thread arigo
Author: Armin Rigo Branch: Changeset: r89412:b144076bf8d4 Date: 2017-01-08 15:54 +0100 http://bitbucket.org/pypy/pypy/changeset/b144076bf8d4/ Log:Add an XXX about .decode('utf-8') in RPython diff --git a/rpython/rtyper/rstr.py b/rpython/rtyper/rstr.py --- a/rpython/rtyper/rstr.py +++ b/rpyt

[pypy-commit] pypy py3.5: Fix the exception class we get

2017-01-08 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89411:2cf5804b5f91 Date: 2017-01-08 15:24 +0100 http://bitbucket.org/pypy/pypy/changeset/2cf5804b5f91/ Log:Fix the exception class we get diff --git a/pypy/module/_warnings/interp_warnings.py b/pypy/module/_warnings/interp_warnings.py --- a/pypy/