UpsilonNumworks / Upsilon

Upsilon, an OS forked from Omega for your Numworks calculator
https://getupsilon.web.app/
Other
209 stars 61 forks source link

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

Open mobluse opened 4 months ago

mobluse commented 4 months ago

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):