Posts: 4,646
Threads: 1,493
Joined: Sep 2016
once an object is no longer referenced, it can
eventually be deleted. i see that, at least for CPython, this really does get delayed. is there a way to speed this up, at least for one specific object?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,646
Threads: 1,493
Joined: Sep 2016
Oct-14-2021, 10:00 PM
(This post was last modified: Oct-14-2021, 10:01 PM by Skaperen.)
unfortunately, i don't have time, right now, to watch that whole video. maybe later tonight.
i have heard that Python calls these
references, not
pointers, so i am wondering why she is calling them
pointers.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,646
Threads: 1,493
Joined: Sep 2016
Oct-15-2021, 10:57 PM
(This post was last modified: Oct-15-2021, 10:57 PM by Skaperen.)
it is deletion by garbage collection that seems to be happening. i just wanted to handle exceptions in __del__(). i'm looking at the issues i run into many different ways, hence many questions to fully understand the details of what is happening.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.