pydevd: Fix up prefix of attach shared library for Windows (#1939)

Follow-up to #1917, which changed the prefix for Windows. The crux of that contribution was about enabling attaching on Sillicon Mac (in fact, it came from my colleagues at Zed Industries). This however broke .dll lookup per https://github.com/zed-industries/zed/pull/35640#issuecomment-3155624377
This commit is contained in:
Piotr Osiewicz 2025-08-05 20:08:32 +02:00 committed by GitHub
parent 1aff9aa541
commit b00a812997
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -250,7 +250,9 @@ def get_python_helper_lib_filename():
else:
suffix = suffix_32
if IS_WINDOWS or IS_MAC: # just the extension changes
if IS_WINDOWS: # just the extension changes
prefix = "attach_"
elif IS_MAC:
prefix = "attach"
suffix = ""
elif IS_LINUX: #