[Python-ideas] gc callbacks