Author lars.gustaebel
Recipients ezio.melotti, lars.gustaebel, pbienst
Date 2010-01-15.10:05:00
SpamBayes Score 0.005137
Marked as misclassified No
Message-id <>
In the 2.x branch tarfile is not prepared to deal with unicode pathnames at all. This changed in Python 3. The fact that it works anyway (in the majority of cases) to add filenames as unicode objects is pure coincidence - I suppose you have a utf-8 system encoding. On a latin-1 system your script would fail much earlier during the add() call.

Some reading:
Date User Action Args
2010-01-15 10:05:03lars.gustaebelsetrecipients: + lars.gustaebel, pbienst, ezio.melotti
2010-01-15 10:05:03lars.gustaebelsetmessageid: <>
2010-01-15 10:05:02lars.gustaebellinkissue7693 messages
2010-01-15 10:05:01lars.gustaebelcreate