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
22.23k stars 4.81k forks source link

Berry fix index accessor for rean only bytes #22193

Closed s-hadinger closed 1 month ago

s-hadinger commented 1 month ago

Description:

Berry index accessor b[i] for bytes object would wrongly be not be allowed for read-only bytes() objects (solidified).

Checklist:

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