| View previous topic :: View next topic |
| Author |
Message |
Kopilman
Joined: 25 May 2006 Posts: 162
|
| Hey if an object goes out of scope, is it's __del__ function called? |
| |
|
|
|
|
Ikopar
Joined: 26 May 2006 Posts: 168
|
| Kopilman, if there's no reference left to an object, then yes |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
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 |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
| froomzer, hmm ok . thanks :D |
| |
|
|
|
|