Closed bersbersbers closed 2 weeks ago
Thanks for the issue but that's by design. The debugger is just running what you type in a python eval
call. super()
isn't allowed in an eval
call.
super()
really means super(__class__, self)
. See this PEP: https://peps.python.org/pep-3135/
If you want this to work, you'd do this instead:
super(__class__, self).method()
Thanks - learned something 😃
Environment data
uv
Actual behavior
Cannot run
super()
in Debug ConsoleExpected behavior
Can run
super()
in Debug ConsoleSteps to reproduce:
super().method()
super().method()
in Debug Console