Stefan Behnel added the comment: Actually, it seems that calling urlcleanup() is sufficient as a work-around. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue27973> _______________________________________