Skip to content

Conversation

@skirpichev
Copy link
Contributor

@skirpichev skirpichev commented Jul 21, 2024

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
@picnixz picnixz self-requested a review August 18, 2024 09:26
@kumaraditya303 kumaraditya303 added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Aug 19, 2024
@kumaraditya303 kumaraditya303 enabled auto-merge (squash) August 19, 2024 07:29
@kumaraditya303 kumaraditya303 added the type-crash A hard crash of the interpreter, possibly with a core dump label Aug 19, 2024
@kumaraditya303 kumaraditya303 merged commit b9e10d1 into python:main Aug 19, 2024
@miss-islington-app
Copy link

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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
@miss-islington-app
Copy link

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
Copy link

bedevere-app bot commented Aug 19, 2024

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

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Aug 19, 2024
@skirpichev 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 <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
@skirpichev
Copy link
Contributor Author

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

@picnixz picnixz removed the needs backport to 3.12 only security fixes label Aug 19, 2024
@picnixz
Copy link
Member

picnixz commented Aug 19, 2024

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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
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