Nick Craig-Wood <nick at craig-wood.com> added the comment: I've attached a patch to fix the issue along with a revised test. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue9510> _______________________________________