> On Aug 3, 2018, at 07:23, [email protected] wrote: > > It seems to me this is a bug, but I'd like your opinions before actually > filing a bug report.
I suspect what you are seeing there is a difference in garbage collection behavior. __del__ is not run immediately upon the reference count reaching 0; it's run when the object is garbage-collected, which can be some time later. -- -- Christophe Pettus [email protected] -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/DBEC950B-5D7E-4FD2-9055-23971FAF7193%40thebuild.com. For more options, visit https://groups.google.com/d/optout.

