Python3 - How do I import a class from another file
On Thu, 12 Dec 2019 11:33:25 +0000
Rhodri James <rhodri at kynesim.co.uk> wrote:
> On 11/12/2019 21:32, musbur at posteo.org wrote:
> > Plain and simple: When the refcount reaches zero.
> You are assuming that "when" implies "immediately on the occurence."
I'm not implying that. It's the dictionary definition of the word
> This happens to be the behaviour in CPython, but other
> implementations vary as Chris has explained several times now.
And he's right. The documentation is unclear. It should be re-worded to
reflect that the point at which the __del__() method is called after
the refcount reaches zero is unspecified.