Control: notfound -1 3.6.5-3 On Tue, 10 Apr 2018 22:43:38 +0200 Balint Reczey <balint.rec...@canonical.com> wrote: ... > Dear Maintainers, > > Shipping the -dbg Python packages without using pymalloc and with > -DPy_USING_MEMORY_DEBUGGER helped me in finding memory allocation > issues easier in Python modules and I'm sure that would help others as > well. I'm aware of the negative impact on the speed, but IMO for the > -dbg packages slower execution would be acceptable.
As Julien pointed out to me recently |PYTHONMALLOC| [1] environment variable can be used to use malloc instead of pymalloc and using it makes Python Valgrind-friendly. This is a better solution than compiling without pymalloc, thus I'm closing this bug. Thanks, Balint [1] https://docs.python.org/3/using/cmdline.html#envvar-PYTHONMALLOC