Antoine Pitrou added the comment: Thanks for the fix. Perhaps you could have added some tests for this? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19088> _______________________________________