Compare commits

..

2 Commits

Author SHA1 Message Date
xXmeme-machineXx
c4e967cd05
Merge 1e9272f7aede164c9b9a2a2416762956be833bb1 into 3eb8d22ddb8982ca4fb56bb7a8d6517538bf14c6 2025-04-01 09:13:36 +02: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: