[pypy-commit] pypy fix-vmprof-stacklet-switch-2: WIP: add a failing test which shows that we are not taking samples inside callbacks

2017-11-28 Thread antocuni
Author: Antonio Cuni Branch: fix-vmprof-stacklet-switch-2 Changeset: r93197:85cbd648e7dd Date: 2017-11-28 17:24 +0100 http://bitbucket.org/pypy/pypy/changeset/85cbd648e7dd/ Log:WIP: add a failing test which shows that we are not taking samples inside callbacks

[pypy-commit] pypy default: win32 fixes, even msdb does not know if it should be vcvarsXX.bat or vsvarsXX.bat

2017-11-28 Thread mattip
Author: Matti Picus Branch: Changeset: r93200:d402ee2877e6 Date: 2017-11-28 19:11 +0200 http://bitbucket.org/pypy/pypy/changeset/d402ee2877e6/ Log:win32 fixes, even msdb does not know if it should be vcvarsXX.bat or vsvarsXX.bat diff --git

[pypy-commit] pypy fix-vmprof-stacklet-switch-2: make check_status a real method, so that it can be tested and used also without the fixture

2017-11-28 Thread antocuni
Author: Antonio Cuni Branch: fix-vmprof-stacklet-switch-2 Changeset: r93196:d3c13697bffe Date: 2017-11-28 17:00 +0100 http://bitbucket.org/pypy/pypy/changeset/d3c13697bffe/ Log:make check_status a real method, so that it can be tested and used also without the

[pypy-commit] pypy fix-vmprof-stacklet-switch-2: fix test_sampling_inside_callback by restarting sampling inside

2017-11-28 Thread antocuni
Author: Antonio Cuni Branch: fix-vmprof-stacklet-switch-2 Changeset: r93199:9d69030b Date: 2017-11-28 17:49 +0100 http://bitbucket.org/pypy/pypy/changeset/9d69030b/ Log:fix test_sampling_inside_callback by restarting sampling inside new_stacklet_callback,

[pypy-commit] pypy fix-vmprof-stacklet-switch-2: rename the fixture to app_fakevmprof and use it on all tests: this way, it automatically checks that {start, stop}_sampling has been called an even amo

2017-11-28 Thread antocuni
Author: Antonio Cuni Branch: fix-vmprof-stacklet-switch-2 Changeset: r93198:a48521eb6944 Date: 2017-11-28 17:30 +0100 http://bitbucket.org/pypy/pypy/changeset/a48521eb6944/ Log:rename the fixture to app_fakevmprof and use it on all tests: this way, it

[pypy-commit] pypy fix-vmprof-stacklet-switch-2: move the vmprof API needed by rstacklet from cintf to rvmprof/__init__.py, to integrate better with fakevmprof

2017-11-28 Thread antocuni
Author: Antonio Cuni Branch: fix-vmprof-stacklet-switch-2 Changeset: r93195:2907f533041c Date: 2017-11-28 16:48 +0100 http://bitbucket.org/pypy/pypy/changeset/2907f533041c/ Log:move the vmprof API needed by rstacklet from cintf to rvmprof/__init__.py, to

[pypy-commit] pypy fix-vmprof-stacklet-switch-2: add a pytest finalizer to check that we called {start, stop}_sampling an even amount of times. I have no idea how to write a test for it, though :(

2017-11-28 Thread antocuni
Author: Antonio Cuni Branch: fix-vmprof-stacklet-switch-2 Changeset: r93194:ff5fd2e1f430 Date: 2017-11-28 16:09 +0100 http://bitbucket.org/pypy/pypy/changeset/ff5fd2e1f430/ Log:add a pytest finalizer to check that we called {start,stop}_sampling an even amount of

[pypy-commit] pypy default: cleanup, enable VSXXXCOMNTOOLS in win32 platform

2017-11-28 Thread mattip
Author: Matti Picus Branch: Changeset: r93189:1351a1844107 Date: 2017-11-28 15:33 +0200 http://bitbucket.org/pypy/pypy/changeset/1351a1844107/ Log:cleanup, enable VSXXXCOMNTOOLS in win32 platform diff --git a/rpython/translator/platform/windows.py

[pypy-commit] pypy fix-vmprof-stacklet-switch-2: a branch where to fix again the interaction of vmprof ans stacklets; in particular, after fix-vmprof-stacklet-switch we no longer segfault, but we stop

2017-11-28 Thread antocuni
Author: Antonio Cuni Branch: fix-vmprof-stacklet-switch-2 Changeset: r93190:b8f121ce766d Date: 2017-11-28 11:50 +0100 http://bitbucket.org/pypy/pypy/changeset/b8f121ce766d/ Log:a branch where to fix again the interaction of vmprof ans stacklets; in particular,

[pypy-commit] pypy fix-vmprof-stacklet-switch-2: 1) we can't monkey-patch _get_vmprof because it's imported in two places; insead it's easier to monkey-patch the singleton it returns; 2) move vmprof_{

2017-11-28 Thread antocuni
Author: Antonio Cuni Branch: fix-vmprof-stacklet-switch-2 Changeset: r93193:b85210ca9c20 Date: 2017-11-28 15:54 +0100 http://bitbucket.org/pypy/pypy/changeset/b85210ca9c20/ Log:1) we can't monkey-patch _get_vmprof because it's imported in two places; insead it's

[pypy-commit] pypy fix-vmprof-stacklet-switch-2: WIP: introduce a pytest fixture which allow us to easily use a global FakeVMProf instead of the real one

2017-11-28 Thread antocuni
Author: Antonio Cuni Branch: fix-vmprof-stacklet-switch-2 Changeset: r93192:d5d42f493530 Date: 2017-11-28 15:47 +0100 http://bitbucket.org/pypy/pypy/changeset/d5d42f493530/ Log:WIP: introduce a pytest fixture which allow us to easily use a global FakeVMProf

[pypy-commit] pypy fix-vmprof-stacklet-switch-2: move {start, stop}_sampling inside the VMProf API, and start to write a fake class to test the correct usage of them

2017-11-28 Thread antocuni
Author: Antonio Cuni Branch: fix-vmprof-stacklet-switch-2 Changeset: r93191:2f204b1c432c Date: 2017-11-28 15:38 +0100 http://bitbucket.org/pypy/pypy/changeset/2f204b1c432c/ Log:move {start,stop}_sampling inside the VMProf API, and start to write a fake class to

[pypy-commit] pypy unicode-utf8: Merge branch 'utf8-io': fix the _io module

2017-11-28 Thread rlamy
Author: Ronan Lamy Branch: unicode-utf8 Changeset: r93203:290c2d5ff0bb Date: 2017-11-28 19:23 + http://bitbucket.org/pypy/pypy/changeset/290c2d5ff0bb/ Log:Merge branch 'utf8-io': fix the _io module diff --git a/pypy/module/_io/interp_stringio.py

[pypy-commit] pypy utf8-io: close branch before merging

2017-11-28 Thread rlamy
Author: Ronan Lamy Branch: utf8-io Changeset: r93202:a4e5720003bb Date: 2017-11-28 19:22 + http://bitbucket.org/pypy/pypy/changeset/a4e5720003bb/ Log:close branch before merging ___ pypy-commit mailing list

[pypy-commit] pypy utf8-io: Remove newunicode() and unicode_w() again

2017-11-28 Thread rlamy
Author: Ronan Lamy Branch: utf8-io Changeset: r93201:26f1724ee623 Date: 2017-11-28 19:21 + http://bitbucket.org/pypy/pypy/changeset/26f1724ee623/ Log:Remove newunicode() and unicode_w() again diff --git a/pypy/interpreter/baseobjspace.py

[pypy-commit] pypy py3.5: shut up test_whatsnew

2017-11-28 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r93204:49f614a4e075 Date: 2017-11-28 19:27 + http://bitbucket.org/pypy/pypy/changeset/49f614a4e075/ Log:shut up test_whatsnew diff --git a/pypy/doc/whatsnew-pypy3-head.rst b/pypy/doc/whatsnew-pypy3-head.rst ---

[pypy-commit] pypy default: Improve test_textio so that it detects the current issues

2017-11-28 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93205:47f75e26f6cf Date: 2017-11-28 22:11 + http://bitbucket.org/pypy/pypy/changeset/47f75e26f6cf/ Log:Improve test_textio so that it detects the current issues diff --git a/extra_tests/test_textio.py