summaryrefslogtreecommitdiff
path: root/py/modsys.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-05-14 22:15:48 +1000
committerDamien George <damien@micropython.org>2024-05-16 12:49:42 +1000
commitcfd5a8ea3a80930a79dbae6a6aff54587393d0b8 (patch)
treed77f0cd4be4c9253b934ce6dc532f1b8c67975fe /py/modsys.c
parentaa2e3880c13036c65aa3381ed5f104c59ebad86e (diff)
webassembly/proxy_c: Return undefined if dict lookup failed on JS side.
Instead of raising KeyError. These semantics match JavaScript behaviour and make it much more seamless to pass Python dicts through to JavaScript as though they were JavaScript {} objects. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/modsys.c')
0 files changed, 0 insertions, 0 deletions