Roundup Tracker - Issues

Message5593

Author rouilj
Recipients ber, rouilj, tekberg
Date 2016-06-11.16:45:42
Message-id <1465663543.16.0.536136899285.issue2550826@psf.upfronthosting.co.za>
In-reply-to
Re-opening because the original patch broke test cases that relied on
detectors being able to raise:

  ValueError
  pytz.UnknownTimeZoneError

I have a patch that fixes the test cases in the roundup trunk
[committed as 89d69a822e5c] but I am not happy with it. Emailed devel
list for ideas on how to better handle this.

I am considering changing the original patch, which captured all
Exceptions, to capturing: EnvironmentError (which include IOError and
OSError IIUC) and ArithmeticError and let the rest propagate up.

I wasn't able to find a canonical list of the exceptions that a
detector can raise that have to be propagated up into the parent, if I
could then the code could be structured to all these to pass up and
still capture all other exceptions.
History
Date User Action Args
2016-06-11 16:45:43rouiljsetmessageid: <1465663543.16.0.536136899285.issue2550826@psf.upfronthosting.co.za>
2016-06-11 16:45:43rouiljsetrecipients: + rouilj, ber, tekberg
2016-06-11 16:45:43rouiljlinkissue2550826 messages
2016-06-11 16:45:42rouiljcreate