Compare commits

..

2 Commits

Author SHA1 Message Date
Zenon Mousmoulas
fd3ad2ea0e
Merge 96800222076e707e1f98364024aa4fcedb980810 into 3eb8d22ddb8982ca4fb56bb7a8d6517538bf14c6 2025-03-31 12:09:48 +03:00
dirkf
3eb8d22ddb
[JSInterp] Temporary fix for #33102 2025-03-31 04:21:09 +01:00

View File

@ -686,6 +686,8 @@ class JSInterpreter(object):
raise self.Exception('Cannot get index {idx!r:.100}'.format(**locals()), expr=repr(obj), cause=e)
def _dump(self, obj, namespace):
if obj is JS_Undefined:
return 'undefined'
try:
return json.dumps(obj)
except TypeError: