Message238790
There is a cycle involving the class object, but I don’t think there is a cycle involving the instance objects this time.
However, I wonder if __del__() is meant to be called in any particular order anyway. What’s to stop the garbage collector itself from creating a temporary reference to the Device instance, destroying the Vector instance, which invokes Vector.__del__(), and finally destroying the temporary reference to the Device instance? |
|
Date |
User |
Action |
Args |
2015-03-21 11:38:04 | martin.panter | set | recipients:
+ martin.panter, amaury.forgeotdarc, pitrou, serhiy.storchaka, Vadim Markovtsev, Alexey Kazantsev |
2015-03-21 11:38:04 | martin.panter | set | messageid: <1426937884.33.0.147659895025.issue23720@psf.upfronthosting.co.za> |
2015-03-21 11:38:04 | martin.panter | link | issue23720 messages |
2015-03-21 11:38:04 | martin.panter | create | |
|