Question about garbage collection

Barry barry at barrys-emacs.org
Tue Jan 16 17:31:44 EST 2024



> On 16 Jan 2024, at 13:17, Thomas Passin via Python-list <python-list at python.org> wrote:
> 
> The usual advice is to call deleteLater() on objects derived from PyQt classes.  I don't know enough about PyQt to know if this takes care of all dangling reference problems, though.

It works well and robustly.

Barry




More information about the Python-list mailing list