Skip to content

fix: 'force_int' - remove return in finally (PEP 765) and dedupe definition - #3197

Open
MMikePL wants to merge 2 commits into
kevoreilly:masterfrom
PCSS-PSNC:bugfix/force_int
Open

fix: 'force_int' - remove return in finally (PEP 765) and dedupe definition#3197
MMikePL wants to merge 2 commits into
kevoreilly:masterfrom
PCSS-PSNC:bugfix/force_int

Conversation

@MMikePL

@MMikePL MMikePL commented Aug 26, 2026

Copy link
Copy Markdown
Contributor
  1. Rewrote force_int so it returns directly from try/except instead of return inside a finally (PEP 765, SyntaxWarning in Python 3.14)
  2. Remove duplicated implementation in web/submission/views.py (dead code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant