arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.7k stars 4.72k forks source link

Berry coc parser keeps order of variables #21542

Closed s-hadinger closed 1 month ago

s-hadinger commented 1 month ago

Description:

Changed Berry python coc parser to keep the variable order in a class, instead of a pseudo-random order which was a side-effect of Berry key hashing. Class made by the normal parser do respect the variable order.

This has no direct functional impact, but will be necessary for a future feature of solidification of bytes object. And it's cleaner this way.

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass