Skip to content

Security policy: exceptions are not crashes#1849

Merged
sethmlarson merged 2 commits into
python:mainfrom
encukou:exception-is-not-crash
Jul 24, 2026
Merged

Security policy: exceptions are not crashes#1849
sethmlarson merged 2 commits into
python:mainfrom
encukou:exception-is-not-crash

Conversation

@encukou

@encukou encukou commented Jun 30, 2026

Copy link
Copy Markdown
Member

This is mostly word nitpicking, but: by "crash" we generally mean a segfault or similar; see Lib/test/crashers for example.
Unhandled exceptions are not crashes, and are not a security concern.

However, since segfaults usually can be weaponized, a “crash resulting from unhandled exception” would be a PSRT issue.

@read-the-docs-community

read-the-docs-community Bot commented Jun 30, 2026

Copy link
Copy Markdown

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, however, can we keep it under availability vulnerabilities?

Comment thread security/policy.rst
@sethmlarson
sethmlarson merged commit 5915c2e into python:main Jul 24, 2026
5 checks passed
@encukou
encukou deleted the exception-is-not-crash branch July 24, 2026 14:36
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.

4 participants