Skip to content

Errors in Python Catalog: items are not always in alphabetical order #370

@mobluse

Description

@mobluse

Describe the bug
In the Catalog the items are not always in alphabetical order, e.g. battery() comes after keydown(k) and before ldexp(x,i). There are other such sorting errors.

To Reproduce
Steps to reproduce the behavior:

  1. Click Home
  2. Choose Python
  3. Choose Python shell
  4. Click Toolbox
  5. Scroll down to Catalog
  6. Click Right
  7. Scroll down to keydown(k)
  8. See that battery() comes after keydown(k)
  9. Also see that battery_level() and battery_ischarging() are missing from Catalog.
  10. Also forward(x) and fmod(a,b) are in the wrong order.

Expected behavior
The list in Catalog should be sorted in alphabetical order like in Numworks and should contain
all functions, except maybe functions from some selected modules.

Screenshots
2024-06-29-224043_830x639_scrot
2024-06-29-231326_885x677_scrot

Device (please complete the following information):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions