[pypy-commit] pypy resource_warning: don't crash if we enable track_resources at the early startup (in particular, if we pass the -X track-resources option). It is a bit impossible to write an app-lev

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83579:e1647e262594 Date: 2016-04-07 21:54 + http://bitbucket.org/pypy/pypy/changeset/e1647e262594/ Log:don't crash if we enable track_resources at the early startup (in particular, if we pass the -X

[pypy-commit] pypy resource_warning: exit if you don't specify the correct -X option; in theory you should continue and put it in sys._Xoptions, but since it's not implemented it's better to just exit

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83580:5de70e252eef Date: 2016-04-07 23:00 +0200 http://bitbucket.org/pypy/pypy/changeset/5de70e252eef/ Log:exit if you don't specify the correct -X option; in theory you should continue and put it in

[pypy-commit] pypy resource_warning: don't show the 'anonymous' frame corresponding to the appexec when calling format_traceback

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83578:005ca768df30 Date: 2016-04-07 22:18 +0200 http://bitbucket.org/pypy/pypy/changeset/005ca768df30/ Log:don't show the 'anonymous' frame corresponding to the appexec when calling format_traceback diff

[pypy-commit] pypy resource_warning: failing test and corresponding fix

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83577:9ba84d112325 Date: 2016-04-07 21:54 +0200 http://bitbucket.org/pypy/pypy/changeset/9ba84d112325/ Log:failing test and corresponding fix diff --git a/pypy/interpreter/baseobjspace.py

[pypy-commit] pypy default: Skip some tests when the function under test is unavailable (e.g. on Windows)

2016-04-07 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r83576:56eb64398864 Date: 2016-04-07 17:10 +0100 http://bitbucket.org/pypy/pypy/changeset/56eb64398864/ Log:Skip some tests when the function under test is unavailable (e.g. on Windows) diff --git

[pypy-commit] pypy follow_symlinks: Add support for dir_fd and follow_symlinks in posix.stat()

2016-04-07 Thread rlamy
Author: Ronan Lamy Branch: follow_symlinks Changeset: r83574:ff055a66c820 Date: 2016-04-07 16:51 +0100 http://bitbucket.org/pypy/pypy/changeset/ff055a66c820/ Log:Add support for dir_fd and follow_symlinks in posix.stat() diff --git a/pypy/module/posix/interp_posix.py

[pypy-commit] pypy follow_symlinks: hg merge rposix-for-3

2016-04-07 Thread rlamy
Author: Ronan Lamy Branch: follow_symlinks Changeset: r83573:3facdbc716c2 Date: 2016-04-07 15:56 +0100 http://bitbucket.org/pypy/pypy/changeset/3facdbc716c2/ Log:hg merge rposix-for-3 diff --git a/rpython/rlib/rposix_stat.py b/rpython/rlib/rposix_stat.py ---

[pypy-commit] pypy default: fix test

2016-04-07 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r83575:e4e5f038ebbf Date: 2016-04-07 16:58 +0100 http://bitbucket.org/pypy/pypy/changeset/e4e5f038ebbf/ Log:fix test diff --git a/rpython/rlib/test/test_rposix.py b/rpython/rlib/test/test_rposix.py ---

[pypy-commit] pypy resource_warning: (florin, antocuni) Add -X track-resources runtime flag to the interpreter

2016-04-07 Thread florinpapa
Author: Florin Papa Branch: resource_warning Changeset: r83571:5ee1622695e2 Date: 2016-04-07 18:00 +0300 http://bitbucket.org/pypy/pypy/changeset/5ee1622695e2/ Log:(florin, antocuni) Add -X track-resources runtime flag to the interpreter diff --git

[pypy-commit] pypy resource_warning: Merge heads

2016-04-07 Thread florinpapa
Author: Florin Papa Branch: resource_warning Changeset: r83572:8aa029604879 Date: 2016-04-07 18:00 +0300 http://bitbucket.org/pypy/pypy/changeset/8aa029604879/ Log:Merge heads diff --git a/pypy/module/_file/test/test_file.py b/pypy/module/_file/test/test_file.py ---

[pypy-commit] pypy resource_warning: (florin, antocuni) Add get_track_resources to retrieve flag value

2016-04-07 Thread florinpapa
Author: Florin Papa Branch: resource_warning Changeset: r83570:5a210502cd24 Date: 2016-04-07 17:59 +0300 http://bitbucket.org/pypy/pypy/changeset/5a210502cd24/ Log:(florin, antocuni) Add get_track_resources to retrieve flag value diff --git

[pypy-commit] pypy resource_warning: don't import re, it's not needed

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83567:17a9af6e11a3 Date: 2016-04-07 15:46 +0200 http://bitbucket.org/pypy/pypy/changeset/17a9af6e11a3/ Log:don't import re, it's not needed diff --git a/pypy/module/_file/test/test_file.py

[pypy-commit] pypy resource_warning: enable resource-tracking for socket objects

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83568:777b0214d3a8 Date: 2016-04-07 16:08 +0200 http://bitbucket.org/pypy/pypy/changeset/777b0214d3a8/ Log:enable resource-tracking for socket objects diff --git a/pypy/interpreter/test/test_app_main.py

[pypy-commit] pypy resource_warning: improve the test and check that we don't get the warning if we explicitly close the file

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83569:3649155837b6 Date: 2016-04-07 16:09 +0200 http://bitbucket.org/pypy/pypy/changeset/3649155837b6/ Log:improve the test and check that we don't get the warning if we explicitly close the file diff

[pypy-commit] pypy resource_warning: (florin, antocuni) Rename resource_warning to track_resources

2016-04-07 Thread florinpapa
Author: Florin Papa Branch: resource_warning Changeset: r83566:c7b7a1ea6010 Date: 2016-04-07 16:31 +0300 http://bitbucket.org/pypy/pypy/changeset/c7b7a1ea6010/ Log:(florin, antocuni) Rename resource_warning to track_resources diff --git

[pypy-commit] pypy vtune: starting

2016-04-07 Thread arigo
Author: Armin Rigo Branch: vtune Changeset: r83565:82b4ebcd5392 Date: 2016-04-07 15:55 +0300 http://bitbucket.org/pypy/pypy/changeset/82b4ebcd5392/ Log:starting diff --git a/rpython/jit/backend/x86/vtune.py b/rpython/jit/backend/x86/vtune.py new file mode 100644 ---

[pypy-commit] pypy stmgc-c8: ignore signal if we are in the process of aborting a tx in this thread

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83564:3d9408e5409c Date: 2016-04-07 13:55 +0300 http://bitbucket.org/pypy/pypy/changeset/3d9408e5409c/ Log:ignore signal if we are in the process of aborting a tx in this thread diff --git

[pypy-commit] pypy stmgc-c8: import stmgc

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83563:be250c24a526 Date: 2016-04-07 13:43 +0300 http://bitbucket.org/pypy/pypy/changeset/be250c24a526/ Log:import stmgc diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision ---

[pypy-commit] stmgc default: avoid data race with vmprof where *during* an abort a SIGPROF signal gets

2016-04-07 Thread Raemi
Author: Remi Meier Branch: Changeset: r1986:5e3551b4e599 Date: 2016-04-07 13:41 +0300 http://bitbucket.org/pypy/stmgc/changeset/5e3551b4e599/ Log:avoid data race with vmprof where *during* an abort a SIGPROF signal gets handled and we already reset the

[pypy-commit] pypy get-heap-stats: (fijal, catalin) - started working on better way to dump heap stats

2016-04-07 Thread JohnDoe
Author: JohnDoe Branch: get-heap-stats Changeset: r83562:f794f644d3e2 Date: 2016-04-07 12:10 +0300 http://bitbucket.org/pypy/pypy/changeset/f794f644d3e2/ Log:(fijal, catalin) - started working on better way to dump heap stats diff --git a/rpython/memory/gc/inspector.py

[pypy-commit] pypy resource_warning: (antocuni, florinpapa): make the test even better

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83561:a2e023d51866 Date: 2016-04-07 11:10 +0200 http://bitbucket.org/pypy/pypy/changeset/a2e023d51866/ Log:(antocuni, florinpapa): make the test even better diff --git a/pypy/module/_file/test/test_file.py

[pypy-commit] pypy resource_warning: (antocuni, florinpapa): make the test better by checking the output with a regexp

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83560:b20b7e966a24 Date: 2016-04-07 11:04 +0200 http://bitbucket.org/pypy/pypy/changeset/b20b7e966a24/ Log:(antocuni, florinpapa): make the test better by checking the output with a regexp diff --git

[pypy-commit] pypy resource_warning: (antocuni, florinpapa): fix the test, it was because we returned None from space.format_traceback and the following appexec in space.resource_warning got confused

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83559:67909a688ba0 Date: 2016-04-07 10:37 +0200 http://bitbucket.org/pypy/pypy/changeset/67909a688ba0/ Log:(antocuni, florinpapa): fix the test, it was because we returned None from space.format_traceback

[pypy-commit] pypy resource_warning: (florin, antocuni) IN-PROGRESS: Attach and show the creation traceback. Test fails and we don't know why

2016-04-07 Thread florinpapa
Author: florinpapa Branch: resource_warning Changeset: r83558:980ad9d11a2a Date: 2016-04-07 11:28 +0300 http://bitbucket.org/pypy/pypy/changeset/980ad9d11a2a/ Log:(florin, antocuni) IN-PROGRESS: Attach and show the creation traceback. Test fails and we don't know why diff --git

[pypy-commit] extradoc extradoc: start working on tooling stability doc

2016-04-07 Thread fijal
Author: fijal Branch: extradoc Changeset: r5632:ce02b4dcb219 Date: 2016-04-07 10:59 +0300 http://bitbucket.org/pypy/extradoc/changeset/ce02b4dcb219/ Log:start working on tooling stability doc diff --git a/planning/tooling-stability.rst b/planning/tooling-stability.rst new file mode 100644

[pypy-commit] extradoc extradoc: merge

2016-04-07 Thread fijal
Author: fijal Branch: extradoc Changeset: r5633:435c6aa7beb4 Date: 2016-04-07 11:27 +0300 http://bitbucket.org/pypy/extradoc/changeset/435c6aa7beb4/ Log:merge diff --git a/blog/draft/jit-leaner-frontend.rst b/blog/draft/jit-leaner-frontend.rst --- a/blog/draft/jit-leaner-frontend.rst +++

[pypy-commit] pypy stmgc-c8: import stmgc

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83554:b19666f40456 Date: 2016-04-06 15:21 +0300 http://bitbucket.org/pypy/pypy/changeset/b19666f40456/ Log:import stmgc diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision ---

[pypy-commit] pypy stmgc-c8: tiny fix

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83555:5f2e0bc7fa51 Date: 2016-04-07 10:27 +0300 http://bitbucket.org/pypy/pypy/changeset/5f2e0bc7fa51/ Log:tiny fix diff --git a/rpython/translator/stm/inevitable.py b/rpython/translator/stm/inevitable.py ---

[pypy-commit] pypy stmgc-c8: missing renaming to stm_spinlock

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83556:ddb53f437889 Date: 2016-04-07 10:27 +0300 http://bitbucket.org/pypy/pypy/changeset/ddb53f437889/ Log:missing renaming to stm_spinlock diff --git a/rpython/translator/c/src/mem.c b/rpython/translator/c/src/mem.c ---

[pypy-commit] pypy stmgc-c8: attempt to fix JIT support for vmprof for STM by resetting the thread-local

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83557:39060b21f026 Date: 2016-04-07 10:29 +0300 http://bitbucket.org/pypy/pypy/changeset/39060b21f026/ Log:attempt to fix JIT support for vmprof for STM by resetting the thread-local variable that points to the

[pypy-commit] pypy new-jit-log: finish is now called in the testing case

2016-04-07 Thread plan_rich
Author: Richard Plangger Branch: new-jit-log Changeset: r83553:dacac0d48a10 Date: 2016-04-07 08:41 +0200 http://bitbucket.org/pypy/pypy/changeset/dacac0d48a10/ Log:finish is now called in the testing case diff --git a/rpython/jit/metainterp/jitlog.py

[pypy-commit] pypy new-jit-log: rvmprof.enable_jitlog now correctly writes the header, teardown must still be called correctly

2016-04-07 Thread plan_rich
Author: Richard Plangger Branch: new-jit-log Changeset: r83552:acf792f13092 Date: 2016-04-07 08:33 +0200 http://bitbucket.org/pypy/pypy/changeset/acf792f13092/ Log:rvmprof.enable_jitlog now correctly writes the header, teardown must still be called correctly