s: found thw way to have the destructor run in py witout making the code ugly