[issue16858] tarfile silently hides errors

2016-07-22 Thread R. David Murray
R. David Murray added the comment: Closing this in favor of issue 27590, which at least got a little discussion. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> tarfile module next() method hides exceptions __

[issue16858] tarfile silently hides errors

2016-07-11 Thread Martin Panter
Changes by Martin Panter : -- Removed message: http://bugs.python.org/msg265966 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16858] tarfile silently hides errors

2016-07-11 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg265967 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16858] tarfile silently hides errors

2016-07-11 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg270206 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16858] tarfile silently hides errors

2016-07-11 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg270204 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16858] tarfile silently hides errors

2016-07-11 Thread Марк Коренберг
Марк Коренберг added the comment: What the hell! sorry again :( -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue16858] tarfile silently hides errors

2016-07-11 Thread Марк Коренберг
Марк Коренберг added the comment: http://stackoverflow.com/questions/1964806/short-read-from-filesystem-when-can-it-happen Disk-based filesystems generally use uninterruptible reads, which means that the read operation generally cannot be interrupted by a signal. Network-based filesystems some

[issue16858] tarfile silently hides errors

2016-05-20 Thread Марк Коренберг
Марк Коренберг added the comment: OOPS, closed wrong task, reopening. -- resolution: wont fix -> status: closed -> open ___ Python tracker ___ __

[issue16858] tarfile silently hides errors

2016-05-20 Thread Марк Коренберг
Марк Коренберг added the comment: Can not reproduce in Linux. Will reopen if reproduced on MacOS X or BSD. #!/usr/bin/python3.5 import os import signal p = os.getpid() if os.fork() == 0: while True: try: os.kill(p, signal.SIGCHLD) except (ProcessLookupError, K

[issue16858] tarfile silently hides errors

2013-01-04 Thread Ned Deily
Changes by Ned Deily : -- nosy: +lars.gustaebel versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue16858] tarfile silently hides errors

2013-01-04 Thread Марк Коренберг
Марк Коренберг added the comment: Ups. hiding EOFHeaderError is not an error. But handilng of other errors is not perfect. Please review TarFile.next() for cases where .tar file is corrupted. For example, TruncatedHeaderError is re-raised only if problem at the start of the file. Really, it ca

[issue16858] tarfile silently hides errors

2013-01-03 Thread Марк Коренберг
New submission from Марк Коренберг: TarFile.next() silently drop error of one of - EOFHeaderError - InvalidHeaderError occur. So, extracting corrupted .tar file will not raise error. -- components: Library (Lib) messages: 179005 nosy: mmarkk priority: normal severity: normal status: o