Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
0.8, 2026/XX/XX -- WIN32: Replaced bare `except:` clauses with `except Exception:`, preventing accidental suppression of system-exit signals (KeyboardInterrupt, SystemExit) during error handling.
0.7, 2024/03/22 -- LINUX: Added ewmhlib as separate module. (Really) Fixed position and size for GNOME (by using GTK_EXTENTS)
0.6, 2023/10/12 -- LINUX: Improved position and size for GNOME (by using GTK_EXTENTS)
WIN32: Fixed GetAwarenessFromDpiAwarenessContext not supported on Windows Server
Expand Down
2 changes: 1 addition & 1 deletion src/pywinbox/_pywinbox_win.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _getHandle(handle: Union[int, str]) -> Optional[int]:
if isinstance(handle, str):
try:
newHandle = int(handle, base=16)
except:
except Exception:
pass
elif isinstance(handle, int):
newHandle = handle
Expand Down