Author davecom
Recipients ariddell, davecom, mark.dickinson, rhettinger
Date 2018-08-07.04:49:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533617399.6.0.56676864532.issue31689@psf.upfronthosting.co.za>
In-reply-to
Content
It's not a bug, but I agree with Allen that it could use a much more clear error message. I think his proposed ValueError makes a lot more sense than just raising an IndexError as currently occurs. This will help people debug their programs who don't even realize they're accidentally using negative weights to begin with.
History
Date User Action Args
2018-08-07 04:49:59davecomsetrecipients: + davecom, rhettinger, mark.dickinson, ariddell
2018-08-07 04:49:59davecomsetmessageid: <1533617399.6.0.56676864532.issue31689@psf.upfronthosting.co.za>
2018-08-07 04:49:59davecomlinkissue31689 messages
2018-08-07 04:49:58davecomcreate