WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
297685
SyntaxWarning: 'return' in a 'finally' block
https://bugs.webkit.org/show_bug.cgi?id=297685
Summary
SyntaxWarning: 'return' in a 'finally' block
Michael Catanzaro
Reported
2025-08-20 14:09:49 PDT
With python 3.14, 'git-webkit pr' prints a few warnings: /home/mcatanzaro/Projects/WebKit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/terminal.py:319: SyntaxWarning: 'return' in a 'finally' block return /home/mcatanzaro/Projects/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py:173: SyntaxWarning: 'return' in a 'finally' block return /home/mcatanzaro/Projects/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/command.py:158: SyntaxWarning: 'return' in a 'finally' block return child.returncode
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2025-08-20 14:10:59 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/49677
EWS
Comment 2
2025-08-22 11:11:43 PDT
Committed
299064@main
(622fea258aae): <
https://commits.webkit.org/299064@main
> Reviewed commits have been landed. Closing PR #49677 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-08-22 11:12:47 PDT
<
rdar://problem/158957976
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug