Skip to content

wx.EventLoop() deprecation warning #1901

Description

@joltman61

When running an application which uses the wxPython 4.2.2 library, the VS-Code debugger v2025.6.0 is reporting a number of deprecation warnings that tend to fill the console. An example is...

c:\Users\xxxxx.vscode\extensions\ms-python.debugpy-2025.6.0-win32-x64\bundled\libs\debugpy_vendored\pydevd\pydev_ipython\inputhookwx.py:131: wxPyDeprecationWarning: Using deprecated class EventLoop. Use GUIEventLoop instead.

I have edited all references to wx.EventLoop to use wx.GUIEventLoop in inputhookwx.py and that seems to have resolved the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions