web hosting and development forums
Web Design and Development Forums Archive


Index - Python programming forum

object outside of scope


Post reply

Hey if an object goes out of scope, is it's __del__ function called?
Kopilman, if there's no reference left to an object, then yes
Kopilman, Probably, but it's implementation dependent, which means you shouldn't rely on it Or ever use __del__ if you can possibly avoid it, really
froomzer, hmm ok . thanks :D




Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com