[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#444221: ITP: python-pysizer -- memory profiiler for Python



Hi Thomas,

Thanks for packaging this. I have installed it recently and found it
to be useful.

On 9/26/07, Thomas Viehmann <tv@beamnet.de> wrote:
> I'm not yet sure what to do about the patch to the python interpreter,
> PySizer is very useful even without it, though.

I managed to download the latest python and patch it, though I did
have to update the patch as it was for an older version of python. I
then installed the patched python into /usr/local/, but I renamed the
binary to python-patched so that the debian-distributed python will
still be used by default. Then I just change the python header line in
the files I want to test with pysizer to point to the patched version
of python.

Since this is fairly simple once you figure it out the first time, and
it's not really feasible to distribute a patched python, I recommend
supplying a script that downloads/patches/compiles/installs a new
python similar to how I described above. If you want some help, my
updated patch, or any further details, let me know.

Thanks,
Cameron




Reply to: