[Touch-packages] [Bug 989819] Re: the signatures match code should probably consider the exception for python errors

2016-03-20 Thread Martin Pitt
Due to the nature of Python exceptions this indeed can only ever be a heuristic. Some Python errors are already very specific, and we *don't* want their message be part of the signature. For example, we want to treat PermissionError('/home/fred/foo') and PermissionError('/home/joe/bar') as one and

[Touch-packages] [Bug 989819] Re: the signatures match code should probably consider the exception for python errors

2016-03-18 Thread Martin Pitt
We should also dissect OSErrors and append errno. Python 3 already does that by having specific subclasses such as PermissionError for EACCES, but this is still useful for Python 2 or if we run into an errno which doesn't have a subclass. ** Changed in: apport (Ubuntu) Assignee: (unassigned)