Antoine Pitrou added the comment: Good catch! Would you like to provide a patch together with an added unit test? ---------- stage: -> needs patch _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19834> _______________________________________