intelhex
intelhex copied to clipboard
[lp #372625] tobinarray end parameter is inconsistent with standard python range behaviour
https://bugs.launchpad.net/intelhex/+bug/372625 Old bug from LP. Moving it here.
The most important bits:
Standard range function has 3 parameters: start, stop [,step] here: stop is exclusive
My tobinXXX group of methods first parameters are: start, end here: end is inclusive
I have 2 choices:
- remove end and add stop
- rename end to end_inclusive, and add stop additionaly.
Require API break or semi-break.