Antoine Pitrou <pitrou at free.fr> added the comment: Could you add a proper unit test? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue8651> _______________________________________