For reference: http://docs.python.org/2/extending/extending.html#reference-counts