While testing github3.py by hand, I found myself wanted to delete objects that I created as a test from an array after deleting them on GitHub. To do that, I have to do: gists[index].delete() del gists[index] So my initial instinct was to modify the __del__ method …