OT to the original subject, but can anyone explain to me why in the forum digest emails I receive I often see a reply to a post that I never saw the original of in any prior digest?
Peter > -----Original Message----- > From: Marco Sulla <marco.sulla.pyt...@gmail.com> > Sent: Friday, July 22, 2022 3:41 PM > To: Barry <ba...@barrys-emacs.org> > Cc: MRAB <pyt...@mrabarnett.plus.com>; Python-list@python.org > Subject: Re: Why I fail so bad to check for memory leak with this code? > > On Fri, 22 Jul 2022 at 09:00, Barry <ba...@barrys-emacs.org> wrote: > > With code as complex as python’s there will be memory allocations that > occur that will not be directly related to the python code you test. > > > > To put it another way there is noise in your memory allocation signal. > > > > Usually the signal of a memory leak is very clear, as you noticed. > > > > For rare leaks I would use a tool like valgrind. > > Thank you all, but I needed a simple decorator to automatize the memory leak > (and segfault) tests. I think that this version is good enough, I hope that > can be > useful to someone: <Useful code snipped> -- -- https://mail.python.org/mailman/listinfo/python-list