Python3 - How do I import a class from another file

musbur at posteo.de musbur at posteo.de
Wed Dec 11 12:14:23 EST 2019


On Tue, 10 Dec 2019 22:08:48 +0100
"R.Wieser" <address at not.available> wrote:

> And although you have been fighting me over when the __del__ method is
> called, it /is/ called directly as a result of an "del instance" and
> the refcount goes zero.  There is /no/ delay.    (with the only
> exception is when a circular reference exists).
> 
> Hence, no "race condition" problem.

Under what circumstances would freeing memory in an unspecified order
gerenate race conditions (except when freeing an unused chunk of
memory too late would cause the system to run out of memory)?

Genuinely interested, not loooking for a fight.


More information about the Python-list mailing list