Code review comment for lp://staging/~andrea.corbellini/terminator/fix-1121143

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

Because it has no effects: `del' just removes the `self' name from the locals dictionary, and this is something that will be done automatically as soon as the function exits.

When used in this way, `del' acts on local/global names, it does not directly modify the object. In Python there are no ways to force an object to be free()d. There are tecniques to work around this problem, however `del' is not a solution.

« Back to merge proposal