Compare commits

..

2 Commits

Author SHA1 Message Date
Zenon Mousmoulas
805f55952e
Merge 96a0ad4778da7f30ed5be627f2c10df6d0af3ca8 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: