diff options
| author | Damien George <damien@micropython.org> | 2024-05-14 22:15:48 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-05-16 12:49:42 +1000 |
| commit | cfd5a8ea3a80930a79dbae6a6aff54587393d0b8 (patch) | |
| tree | d77f0cd4be4c9253b934ce6dc532f1b8c67975fe /py/objclosure.c | |
| parent | aa2e3880c13036c65aa3381ed5f104c59ebad86e (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/objclosure.c')
0 files changed, 0 insertions, 0 deletions
