Skip to content

[lp #372625] tobinarray end parameter is inconsistent with standard python range behaviour #20

Open
@bialix

Description

@bialix

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:

  1. remove end and add stop
  2. rename end to end_inclusive, and add stop additionaly.

Require API break or semi-break.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions