Derek Wilson added the comment: sorry, terry's patch does handle padding - just with the caveats i listed later. i should have removed that bullet. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue3982> _______________________________________