Georg Brandl <georg at python.org> added the comment: I vote for plugging the refleak and keeping the function non-static. ---------- nosy: +georg.brandl _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue13013> _______________________________________