George Notaras added the comment: Indeed, I have downloaded the latest tarfile module from svn and it works as expected. I should have done this in the first place. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1529> __________________________________