FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-122081: fixed crash in decimal.IEEEContext() by skirpichev · Pull Request #122082 · python/cpython · GitHub

Repository navigation

gh-122081: fixed crash in decimal.IEEEContext() - #122082

Merged
kumaraditya303 merged 4 commits into
python:mainfrom
skirpichev:fix-decimal-extra-122081
Aug 19, 2024
Merged

kumaraditya303 merged 4 commits into
python:mainfrom
skirpichev:fix-decimal-extra-122081

Conversation

skirpichev commented Jul 21, 2024 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Now

$ ./configure CFLAGS=-DEXTRA_FUNCTIONALITY -q && make -s &&
./python -m test test_decimal

  • PASS

Now

$ ./configure CFLAGS=-DEXTRA_FUNCTIONALITY -q && make -s && \
     ./python -m test test_decimal

- PASS
Comment thread Modules/_decimal/_decimal.c Outdated
Comment thread Modules/_decimal/_decimal.c Outdated
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
picnixz self-requested a review August 18, 2024 09:26
kumaraditya303 added needs backport to 3.12 only security fixes needs backport to 3.13 only security fixes labels Aug 19, 2024
Comment thread Modules/_decimal/_decimal.c Outdated
Comment thread Modules/_decimal/_decimal.c Outdated
kumaraditya303 enabled auto-merge (squash) August 19, 2024 07:29
kumaraditya303 added the type-crash A hard crash of the interpreter, possibly with a core dump label Aug 19, 2024
kumaraditya303 merged commit b9e10d1 into python:main Aug 19, 2024

Copy link
Copy Markdown

Thanks @skirpichev for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 19, 2024
* pythongh-122081: fixed crash in decimal.IEEEContext()

Now

$ ./configure CFLAGS=-DEXTRA_FUNCTIONALITY -q && make -s && \
     ./python -m test test_decimal

- PASS

* Apply suggestions from code review

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Update Misc/NEWS.d/next/Library/2024-07-21-10-45-24.gh-issue-122081.dNrYMq.rst

* Apply suggestions from code review

---------

(cherry picked from commit b9e10d1)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>

Copy link
Copy Markdown

Sorry, @skirpichev and @kumaraditya303, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker b9e10d1a0fc4d8428d4b36eb127570a832c26b6f 3.12

bedevere-app Bot commented Aug 19, 2024

Copy link
Copy Markdown

GH-123136 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 only security fixes label Aug 19, 2024
skirpichev deleted the fix-decimal-extra-122081 branch August 19, 2024 07:59
kumaraditya303 added a commit that referenced this pull request Aug 19, 2024
…123136)

gh-122081: fixed crash in decimal.IEEEContext() (GH-122082)

* gh-122081: fixed crash in decimal.IEEEContext()

Now

$ ./configure CFLAGS=-DEXTRA_FUNCTIONALITY -q && make -s && \
     ./python -m test test_decimal

- PASS

* Apply suggestions from code review



* Update Misc/NEWS.d/next/Library/2024-07-21-10-45-24.gh-issue-122081.dNrYMq.rst

* Apply suggestions from code review

---------

(cherry picked from commit b9e10d1)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>

Copy link
Copy Markdown
Member Author

@kumaraditya303, I'll double check, but I think that 3.12 backport - not needed.

picnixz removed the needs backport to 3.12 only security fixes label Aug 19, 2024

picnixz commented Aug 19, 2024

Copy link
Copy Markdown
Member

Removing backport to 3.12 per: #122081 (comment)

jeremyhylton pushed a commit to jeremyhylton/cpython that referenced this pull request Aug 19, 2024
* pythongh-122081: fixed crash in decimal.IEEEContext()

Now

$ ./configure CFLAGS=-DEXTRA_FUNCTIONALITY -q && make -s && \
     ./python -m test test_decimal

- PASS

* Apply suggestions from code review

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Update Misc/NEWS.d/next/Library/2024-07-21-10-45-24.gh-issue-122081.dNrYMq.rst

* Apply suggestions from code review

---------

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
* pythongh-122081: fixed crash in decimal.IEEEContext()

Now

$ ./configure CFLAGS=-DEXTRA_FUNCTIONALITY -q && make -s && \
     ./python -m test test_decimal

- PASS

* Apply suggestions from code review

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

* Update Misc/NEWS.d/next/Library/2024-07-21-10-45-24.gh-issue-122081.dNrYMq.rst

* Apply suggestions from code review

---------

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-crash A hard crash of the interpreter, possibly with a core dump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL