From 244f830871029f8416023730fce54fdfb3e24b8c Mon Sep 17 00:00:00 2001 From: Rich Chiodo Date: Wed, 12 Feb 2025 10:25:27 -0800 Subject: [PATCH] Update src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mike Fährmann --- .../_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py index 4ca2e0c8..eeacbb3d 100644 --- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py +++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py @@ -80,7 +80,7 @@ class NetCommand(_BaseNetCommand): try: text = json.dumps(as_dict) except TypeError: - text = json.dumps(as_dict, default=lambda o: str(o)) + text = json.dumps(as_dict, default=str) assert isinstance(text, str)