[pypy-commit] pypy memory-accounting: add tracking of memory

2017-11-14 Thread fijal
Author: fijal Branch: memory-accounting Changeset: r93011:5e198814c5f6 Date: 2017-11-14 10:19 +0100 http://bitbucket.org/pypy/pypy/changeset/5e198814c5f6/ Log:add tracking of memory diff --git a/pypy/module/gc/__init__.py b/pypy/module/gc/__init__.py --- a/pypy/module/gc/__init__.py +++ b/pyp

[pypy-commit] pypy math-improvements: Don't return a copy on long // 1

2017-11-14 Thread stian
Author: stian Branch: math-improvements Changeset: r93012:9838b9ca2938 Date: 2017-11-14 11:18 +0100 http://bitbucket.org/pypy/pypy/changeset/9838b9ca2938/ Log:Don't return a copy on long // 1 diff --git a/rpython/rlib/rbigint.py b/rpython/rlib/rbigint.py --- a/rpython/rlib/rbigint.py +++ b/rp

[pypy-commit] pypy py3.5: backout b95f1240ad90: this was fixed in CPython 3.*

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93013:714cdd09fc99 Date: 2017-11-14 16:03 + http://bitbucket.org/pypy/pypy/changeset/714cdd09fc99/ Log:backout b95f1240ad90: this was fixed in CPython 3.* diff --git a/pypy/interpreter/pyparser/future.py b/pypy/interpreter/pyparser/future.py

[pypy-commit] pypy py3.5: Allow inspect._signature_from_callable() to work on builtins (by handling them like user functions)

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93014:5d5dfbb116aa Date: 2017-11-14 16:31 + http://bitbucket.org/pypy/pypy/changeset/5d5dfbb116aa/ Log:Allow inspect._signature_from_callable() to work on builtins (by handling them like user functions) diff --git a/lib-python/3/inspec

[pypy-commit] pypy py3.5: update test for PyPy

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93015:b05acdc71ad8 Date: 2017-11-14 16:40 + http://bitbucket.org/pypy/pypy/changeset/b05acdc71ad8/ Log:update test for PyPy diff --git a/lib-python/3/test/test_inspect.py b/lib-python/3/test/test_inspect.py --- a/lib-python/3/test/test_inspec

[pypy-commit] pypy py3.5: Correctly compute .co_kwonlyargcount on BuiltinCode objects

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93016:d129c0d2de48 Date: 2017-11-14 17:38 + http://bitbucket.org/pypy/pypy/changeset/d129c0d2de48/ Log:Correctly compute .co_kwonlyargcount on BuiltinCode objects diff --git a/pypy/interpreter/test/test_gateway.py b/pypy/interpreter/test/test

[pypy-commit] pypy py3.5: ignoring test_finddoc seems acceptable

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93017:f0a8cba78c24 Date: 2017-11-14 18:54 + http://bitbucket.org/pypy/pypy/changeset/f0a8cba78c24/ Log:ignoring test_finddoc seems acceptable diff --git a/lib-python/3/test/test_inspect.py b/lib-python/3/test/test_inspect.py --- a/lib-python/

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

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93018:1465066182bd Date: 2017-11-14 19:01 + http://bitbucket.org/pypy/pypy/changeset/1465066182bd/ Log:tweak test diff --git a/lib-python/3/test/test_inspect.py b/lib-python/3/test/test_inspect.py --- a/lib-python/3/test/test_inspect.py +++ b

[pypy-commit] pypy py3.5: PyUnicode_FromObject only works on instances of str

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93019:a3c86e99e3e4 Date: 2017-11-14 19:51 + http://bitbucket.org/pypy/pypy/changeset/a3c86e99e3e4/ Log:PyUnicode_FromObject only works on instances of str diff --git a/pypy/module/cpyext/test/test_unicodeobject.py b/pypy/module/cpyext/test/te

[pypy-commit] pypy py3.5: skip or tweak tests

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93020:6f9bbe108de5 Date: 2017-11-14 20:12 + http://bitbucket.org/pypy/pypy/changeset/6f9bbe108de5/ Log:skip or tweak tests diff --git a/lib-python/3/test/test_capi.py b/lib-python/3/test/test_capi.py --- a/lib-python/3/test/test_capi.py +++ b/

[pypy-commit] pypy py3.5: Unskip _testcapi tests that should pass, skip those that cannot

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93021:66f524561285 Date: 2017-11-14 20:59 + http://bitbucket.org/pypy/pypy/changeset/66f524561285/ Log:Unskip _testcapi tests that should pass, skip those that cannot diff --git a/lib-python/3/test/test_capi.py b/lib-python/3/test/test_capi.py

[pypy-commit] pypy py3.5: Check for NULL in PyMemoryView_FromBuffer

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93022:57dc41aeb601 Date: 2017-11-14 21:14 + http://bitbucket.org/pypy/pypy/changeset/57dc41aeb601/ Log:Check for NULL in PyMemoryView_FromBuffer diff --git a/pypy/module/cpyext/memoryobject.py b/pypy/module/cpyext/memoryobject.py --- a/pypy/m

[pypy-commit] pypy py3.5: Define SIZEOF_WCHAR_T in pyconfig.h and copy CPython logic for the related Py_UNICODE_XXX defines

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93023:69a07b055bdd Date: 2017-11-14 21:43 + http://bitbucket.org/pypy/pypy/changeset/69a07b055bdd/ Log:Define SIZEOF_WCHAR_T in pyconfig.h and copy CPython logic for the related Py_UNICODE_XXX defines diff --git a/pypy/module/cpyext/in

[pypy-commit] pypy py3.5: fix

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93024:bf4ed8da1af1 Date: 2017-11-14 23:09 + http://bitbucket.org/pypy/pypy/changeset/bf4ed8da1af1/ Log:fix diff --git a/pypy/module/cpyext/memoryobject.py b/pypy/module/cpyext/memoryobject.py --- a/pypy/module/cpyext/memoryobject.py +++ b/pyp

[pypy-commit] pypy py3.5: Update getargs.c to match CPython 3.5.4

2017-11-14 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93025:00710c6f69a6 Date: 2017-11-14 23:10 + http://bitbucket.org/pypy/pypy/changeset/00710c6f69a6/ Log:Update getargs.c to match CPython 3.5.4 diff --git a/pypy/module/cpyext/src/getargs.c b/pypy/module/cpyext/src/getargs.c --- a/pypy/module/c

[pypy-commit] pypy continulet-no-frame-loop: introduce the concept of running/paused continulet, depending on bottomframe.f_backref; fix the post_switch() logic to build the f_back chain correctly; fi

2017-11-14 Thread antocuni
Author: Antonio Cuni Branch: continulet-no-frame-loop Changeset: r93032:d5212118820d Date: 2017-11-15 02:11 +0100 http://bitbucket.org/pypy/pypy/changeset/d5212118820d/ Log:introduce the concept of running/paused continulet, depending on bottomframe.f_backref; fix the post_switch() lo

[pypy-commit] pypy continulet-no-frame-loop: add a passing test to check that we stick the continulet stack at the right position of the f_back chain

2017-11-14 Thread antocuni
Author: Antonio Cuni Branch: continulet-no-frame-loop Changeset: r93031:82b54bb1e271 Date: 2017-11-15 02:01 +0100 http://bitbucket.org/pypy/pypy/changeset/82b54bb1e271/ Log:add a passing test to check that we stick the continulet stack at the right position of the f_back chain diff -

[pypy-commit] pypy default: merge heads

2017-11-14 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r93033:821e59360f37 Date: 2017-11-15 02:13 +0100 http://bitbucket.org/pypy/pypy/changeset/821e59360f37/ Log:merge heads diff --git a/pypy/module/_continuation/test/test_stacklet.py b/pypy/module/_continuation/test/test_stacklet.py --- a/pypy/module/_

[pypy-commit] pypy continulet-no-frame-loop: WIP: refactor test_xxx into a proper failing tests, with a decent name and real asserts

2017-11-14 Thread antocuni
Author: Antonio Cuni Branch: continulet-no-frame-loop Changeset: r93030:3e4c6ca55d1d Date: 2017-11-15 01:54 +0100 http://bitbucket.org/pypy/pypy/changeset/3e4c6ca55d1d/ Log:WIP: refactor test_xxx into a proper failing tests, with a decent name and real asserts diff --git a/pypy/modul

[pypy-commit] pypy default: improve the test by also checking the full call-stack at various points. Probably it does not test anything more than before, but it is a good aid when you read it

2017-11-14 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r93027:b7758cca88a3 Date: 2017-11-13 18:40 +0100 http://bitbucket.org/pypy/pypy/changeset/b7758cca88a3/ Log:improve the test by also checking the full call-stack at various points. Probably it does not test anything more than before, but it

[pypy-commit] pypy vmprof-enable-kwargs: a branch where to implement the same _vmprof logic as in vmprof's enable-kwargs branch

2017-11-14 Thread antocuni
Author: Antonio Cuni Branch: vmprof-enable-kwargs Changeset: r93026:ef1507afe550 Date: 2017-11-10 16:42 +0100 http://bitbucket.org/pypy/pypy/changeset/ef1507afe550/ Log:a branch where to implement the same _vmprof logic as in vmprof's enable-kwargs branch

[pypy-commit] pypy continulet-no-frame-loop: WIP: add two temporary flags which allow to select: 1) the old switch logic vs the new one and 2) whether to print or not debug infos

2017-11-14 Thread antocuni
Author: Antonio Cuni Branch: continulet-no-frame-loop Changeset: r93029:ba1ff85734b9 Date: 2017-11-15 01:43 +0100 http://bitbucket.org/pypy/pypy/changeset/ba1ff85734b9/ Log:WIP: add two temporary flags which allow to select: 1) the old switch logic vs the new one and 2) whether to pri

[pypy-commit] pypy continulet-no-frame-loop: temporary checkin with some debugging stuff + a new logic to avoid building cycles of frames

2017-11-14 Thread antocuni
Author: Antonio Cuni Branch: continulet-no-frame-loop Changeset: r93028:f7a1a6eb6908 Date: 2017-11-14 11:53 +0100 http://bitbucket.org/pypy/pypy/changeset/f7a1a6eb6908/ Log:temporary checkin with some debugging stuff + a new logic to avoid building cycles of frames diff --git a/pypy/