-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
Labels
Milestone
Description
System details:
Positron and OS details:
Latest main
Session details:
Python 3.14.0rc3
Describe the issue:
The first time a traceback is displayed in the Console, it displays a SyntaxWarning:
/Users/austin/repos/positron/extensions/positron-python/python_files/lib/ipykernel/py3/IPython/core/interactiveshell.py:3112: SyntaxWarning: 'return' in a 'finally' block
return result
This is because https://peps.python.org/pep-0765/ is newly flagging some code in the bundled ipykernel version 6.30.1. This was fixed in newer ipykernel versions (ipython/ipython@9ecd908).
Steps to reproduce the issue:
- In Console:
assert False
Expected or desired behavior:
No warning before the traceback