[issue2422] Automatically disable pymalloc when running under valgrind

2009-12-02 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2422 ___ ___

[issue2422] Automatically disable pymalloc when running under valgrind

2009-12-02 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Thank you. Applied in r76644. -- nosy: +benjamin.peterson resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2422

[issue2422] Automatically disable pymalloc when running under valgrind

2009-11-10 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2422 ___ ___ Python-bugs-list

[issue2422] Automatically disable pymalloc when running under valgrind

2009-02-03 Thread James Henstridge
James Henstridge ja...@jamesh.id.au added the comment: Attached is an updated version of the patch against trunk (2.7). It simply fixes the conflicts that have occurred since the previous patch. Added file: http://bugs.python.org/file12935/disable-pymalloc-on-valgrind-py27.patch

[issue2422] Automatically disable pymalloc when running under valgrind

2008-04-02 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: James Henstridge schrieb: James Henstridge [EMAIL PROTECTED] added the comment: There are probably a few other performance optimisations that would be good to turn off when running under valgrind. A big one is the tuple cache: if

[issue2422] Automatically disable pymalloc when running under valgrind

2008-04-01 Thread James Henstridge
James Henstridge [EMAIL PROTECTED] added the comment: There are probably a few other performance optimisations that would be good to turn off when running under valgrind. A big one is the tuple cache: if there are tuple reference counting issues, they won't necessarily be seen by valgrind if

[issue2422] Automatically disable pymalloc when running under valgrind

2008-03-26 Thread James Henstridge
James Henstridge [EMAIL PROTECTED] added the comment: An updated version of the patch. The previous ones were missing the valgrind check, resulting in the pymalloc code paths being executed (which in turn cause unintialised read warnings from valgrind). Added file:

[issue2422] Automatically disable pymalloc when running under valgrind

2008-03-23 Thread Lauro Moura
Lauro Moura [EMAIL PROTECTED] added the comment: Here's a patch with James changes to obmalloc and a --with-valgrind option in configure.in. -- nosy: +lauromoura Added file: http://bugs.python.org/file9835/disable-pymalloc-on-valgrind-26.diff __ Tracker

[issue2422] Automatically disable pymalloc when running under valgrind

2008-03-23 Thread James Henstridge
James Henstridge [EMAIL PROTECTED] added the comment: Here's the updated version of my patch (the obmalloc.c bits applied without conflicts to the newer source tree). The configure changes are a bit different to Lauro's ones, in that they check for the existence of the valgrind/valgrind.h

[issue2422] Automatically disable pymalloc when running under valgrind

2008-03-21 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: Please provide a patch for Python 2.6 that includes a ./configure --with-valgrind option. We may consider such a patch for 2.6 and 3.0 but definitely not for 2.5. -- nosy: +tiran priority: - normal versions: +Python 2.6 -Python 2.5

[issue2422] Automatically disable pymalloc when running under valgrind

2008-03-19 Thread James Henstridge
New submission from James Henstridge [EMAIL PROTECTED]: When I want to use valgrind to check for leaks in a Python program (or test suite), I generally want pymalloc disabled. When not running valgrind I generally want it enabled. Attached is a patch that automatically bypasses the pymalloc

[issue2422] Automatically disable pymalloc when running under valgrind

2008-03-19 Thread James Henstridge
Changes by James Henstridge [EMAIL PROTECTED]: Added file: http://bugs.python.org/file9781/disable-pymalloc-on-valgrind-v3.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2422 __

[issue2422] Automatically disable pymalloc when running under valgrind

2008-03-19 Thread James Henstridge
Changes by James Henstridge [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9780/disable-pymalloc-on-valgrind-v2.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2422 __