Message323235
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. |
|
Date |
User |
Action |
Args |
2018-08-07 04:49:59 | davecom | set | recipients:
+ davecom, rhettinger, mark.dickinson, ariddell |
2018-08-07 04:49:59 | davecom | set | messageid: <1533617399.6.0.56676864532.issue31689@psf.upfronthosting.co.za> |
2018-08-07 04:49:59 | davecom | link | issue31689 messages |
2018-08-07 04:49:58 | davecom | create | |
|