[pypy-commit] pypy py3.5: Bail early in .startswith() and .endswith() is start is past the end of the string.

2017-11-07 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r92960:1233d5aa782f Date: 2017-11-07 18:38 + http://bitbucket.org/pypy/pypy/changeset/1233d5aa782f/ Log:Bail early in .startswith() and .endswith() is start is past the end of the string. This prevents an overflow, followed by a

[pypy-commit] pypy py3.5: Remove explicit refcount checks from _testcapi

2017-11-07 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r92961:aa87739bdc0a Date: 2017-11-07 19:11 + http://bitbucket.org/pypy/pypy/changeset/aa87739bdc0a/ Log:Remove explicit refcount checks from _testcapi diff --git a/lib_pypy/_testcapimodule.c b/lib_pypy/_testcapimodule.c --- a/lib_pypy/_testcapi

[pypy-commit] pypy vmprof-0.4.10: refactor test_enable to use the new style of testing

2017-11-07 Thread antocuni
Author: Antonio Cuni Branch: vmprof-0.4.10 Changeset: r92963:1067112a9755 Date: 2017-11-07 15:48 +0100 http://bitbucket.org/pypy/pypy/changeset/1067112a9755/ Log:refactor test_enable to use the new style of testing diff --git a/rpython/rlib/rvmprof/test/test_rvmprof.py b/rpython/rlib/rvmpro

[pypy-commit] pypy vmprof-0.4.10: apparently, gc='minimark' is not needed for this test. Not sure why it was written like that

2017-11-07 Thread antocuni
Author: Antonio Cuni Branch: vmprof-0.4.10 Changeset: r92962:5cc71a3d3d71 Date: 2017-11-07 12:07 +0100 http://bitbucket.org/pypy/pypy/changeset/5cc71a3d3d71/ Log:apparently, gc='minimark' is not needed for this test. Not sure why it was written like that diff --git a/rpython/rlib/rvm

[pypy-commit] pypy vmprof-0.4.10: apparently, we don't need this

2017-11-07 Thread antocuni
Author: Antonio Cuni Branch: vmprof-0.4.10 Changeset: r92966:0944d36d3dda Date: 2017-11-07 16:53 +0100 http://bitbucket.org/pypy/pypy/changeset/0944d36d3dda/ Log:apparently, we don't need this diff --git a/rpython/rlib/rvmprof/test/test_rvmprof.py b/rpython/rlib/rvmprof/test/test_rvmprof.py

[pypy-commit] pypy vmprof-0.4.10: improve test_enable by: 1) make sure that it runs for approximately 0.5 seconds; 2) check that the number of profiles is what we expect

2017-11-07 Thread antocuni
Author: Antonio Cuni Branch: vmprof-0.4.10 Changeset: r92967:6c26abf30648 Date: 2017-11-08 01:21 +0100 http://bitbucket.org/pypy/pypy/changeset/6c26abf30648/ Log:improve test_enable by: 1) make sure that it runs for approximately 0.5 seconds; 2) check that the number of profiles is wh

[pypy-commit] pypy vmprof-0.4.10: rewrite test_native by reusing RVMProfSamplingTest. It still fails, obviously

2017-11-07 Thread antocuni
Author: Antonio Cuni Branch: vmprof-0.4.10 Changeset: r92968:e0fdd6a424df Date: 2017-11-08 01:39 +0100 http://bitbucket.org/pypy/pypy/changeset/e0fdd6a424df/ Log:rewrite test_native by reusing RVMProfSamplingTest. It still fails, obviously diff --git a/rpython/rlib/rvmprof/test/test_

[pypy-commit] pypy vmprof-0.4.10: make it possible to specify a name when you create MyCode()

2017-11-07 Thread antocuni
Author: Antonio Cuni Branch: vmprof-0.4.10 Changeset: r92964:2cc191d05d43 Date: 2017-11-07 15:54 +0100 http://bitbucket.org/pypy/pypy/changeset/2cc191d05d43/ Log:make it possible to specify a name when you create MyCode() diff --git a/rpython/rlib/rvmprof/test/test_rvmprof.py b/rpython/rlib

[pypy-commit] pypy vmprof-0.4.10: factor out some reusable logic from TestEnabled, which will be usable also from the upcoming TestNative

2017-11-07 Thread antocuni
Author: Antonio Cuni Branch: vmprof-0.4.10 Changeset: r92965:70e2f742d15e Date: 2017-11-07 16:53 +0100 http://bitbucket.org/pypy/pypy/changeset/70e2f742d15e/ Log:factor out some reusable logic from TestEnabled, which will be usable also from the upcoming TestNative diff --git a/rpyth

[pypy-commit] pypy vmprof-0.4.10: I claim that tests should never be skipped implicitly. If there is some platform on which vmprof doesn't work, buildbot will tell us and we can skip them explicitly.

2017-11-07 Thread antocuni
Author: Antonio Cuni Branch: vmprof-0.4.10 Changeset: r92969:49caf38340af Date: 2017-11-08 01:42 +0100 http://bitbucket.org/pypy/pypy/changeset/49caf38340af/ Log:I claim that tests should never be skipped implicitly. If there is some platform on which vmprof doesn't work, buildbot wil

[pypy-commit] pypy math-improvements: Kill dead code, clean up normalization, and disable an assert that causes C code warnings. Its a helper function for _x_divrem and since d is SHIFT - bits_in_digi

2017-11-07 Thread stian
Author: stian Branch: math-improvements Changeset: r92970:7f48dd825978 Date: 2017-11-08 03:59 +0100 http://bitbucket.org/pypy/pypy/changeset/7f48dd825978/ Log:Kill dead code, clean up normalization, and disable an assert that causes C code warnings. Its a helper function for _x_divrem

[pypy-commit] pypy math-improvements: Kill test for removed function

2017-11-07 Thread stian
Author: stian Branch: math-improvements Changeset: r92971:b9cf8efa4db1 Date: 2017-11-08 04:01 +0100 http://bitbucket.org/pypy/pypy/changeset/b9cf8efa4db1/ Log:Kill test for removed function diff --git a/rpython/rlib/test/test_rbigint.py b/rpython/rlib/test/test_rbigint.py --- a/rpython/rlib/