Author mark.dickinson
Recipients garybernhardt, gdr@garethrees.org, josh.r, mark.dickinson, ncoghlan, pitrou, skrah, vstinner
Date 2014-04-09.22:11:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397081466.91.0.459967160971.issue20539@psf.upfronthosting.co.za>
In-reply-to
Content
Josh: well spotted; thanks for picking up on this.  I was wondering whether anyone would pick up on that, and I should have mentioned the change explicitly.

I do think ValueError is the correct exception here.  My interpretation of OverflowError is that it represents an overflow occurring during the computation, and that's not what's happening here: we're flat-out rejecting an input value because it's out of the range of values we accept.  Stefan's message influenced me a bit in that direction, too.
History
Date User Action Args
2014-04-09 22:11:06mark.dickinsonsetrecipients: + mark.dickinson, ncoghlan, pitrou, vstinner, skrah, gdr@garethrees.org, garybernhardt, josh.r
2014-04-09 22:11:06mark.dickinsonsetmessageid: <1397081466.91.0.459967160971.issue20539@psf.upfronthosting.co.za>
2014-04-09 22:11:06mark.dickinsonlinkissue20539 messages
2014-04-09 22:11:06mark.dickinsoncreate