[issue17059] tarfile.is_tarfile without read permissions raises AttributeError

2013-01-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for the report, Damian. This was fixed in issue11513. -- assignee: - serhiy.storchaka components: +Library (Lib) -None nosy: +serhiy.storchaka resolution: - out of date stage: - committed/rejected status: open - closed

[issue17059] tarfile.is_tarfile without read permissions raises AttributeError

2013-01-27 Thread Damian
New submission from Damian: Hi. While porting a library of mine from python 2.7 to 3.2 I noticed that tarfile.is_tarfile() now raises an AttributeError rather than IOError when it lacks read permissions... atagar@morrigan:~$ touch dummy_file.tar atagar@morrigan:~$ chmod 000 dummy_file.tar