Python parent class __del__ method is called even if child class method is still processing I have a below scenario