Message214663
Alternatively, if the "name" attribute can't be removed, I propose the following diff for the tarfile module:
-if name is None and hasattr(fileobj, "name"):
+if name is None and hasattr(fileobj, "name") and isinstance(fileobj.name, str):
:-) |
|
Date |
User |
Action |
Args |
2014-03-24 01:54:40 | antoine.pietri | set | recipients:
+ antoine.pietri |
2014-03-24 01:54:40 | antoine.pietri | set | messageid: <1395626080.08.0.957628579418.issue21044@psf.upfronthosting.co.za> |
2014-03-24 01:54:40 | antoine.pietri | link | issue21044 messages |
2014-03-24 01:54:39 | antoine.pietri | create | |
|