Skip to content

gh-161389: Fix crash when passing invalid flags and traps to decimal.Context - #161393

Merged
sobolevn merged 3 commits into
python:mainfrom
sobolevn:issue-161389
Nov 5, 2026
Merged

sobolevn merged 3 commits into
python:mainfrom
sobolevn:issue-161389

Conversation

@sobolevn

@sobolevn sobolevn commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

@skirpichev skirpichev 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. Looks as an extension of #106270.

@sobolevn sobolevn added needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Nov 5, 2026
@sobolevn
sobolevn enabled auto-merge (squash) November 5, 2026 09:55
@sobolevn
sobolevn merged commit 7054b71 into python:main Nov 5, 2026
60 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Nov 5, 2026

Copy link
Copy Markdown

GH-161404 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Nov 5, 2026
@bedevere-app

bedevere-app Bot commented Nov 5, 2026

Copy link
Copy Markdown

GH-161405 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Nov 5, 2026
sobolevn added a commit that referenced this pull request Nov 5, 2026
…to `decimal.Context` (GH-161393) (#161404)

gh-161389: Fix crash when passing invalid `flags` and `traps` to `decimal.Context` (GH-161393)
(cherry picked from commit 7054b71)

Co-authored-by: sobolevn <mail@sobolevn.me>
sobolevn added a commit that referenced this pull request Nov 5, 2026
…to `decimal.Context` (GH-161393) (#161405)

gh-161389: Fix crash when passing invalid `flags` and `traps` to `decimal.Context` (GH-161393)
(cherry picked from commit 7054b71)

Co-authored-by: sobolevn <mail@sobolevn.me>
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.

2 participants