R. David Murray <rdmurray at bitdance.com> added the comment: Here's the patch and test. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue11019> _______________________________________