Simple CPython extension for getting objects and refcounts from an id