]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-122081: fixed crash in decimal.IEEEContext() (GH-122082) (#123136)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 Aug 2024 08:44:11 +0000 (10:44 +0200)
committerGitHub <noreply@github.com>
Mon, 19 Aug 2024 08:44:11 +0000 (14:14 +0530)
commit032b6467fab8dc9b9bd97a418c15fe388f4a18b9
tree229a064a465a40fa5daac542a4252fa930f752a1
parentcf444d851555ec77ad0a8e9266a09958398da689
[3.13] gh-122081: fixed crash in decimal.IEEEContext() (GH-122082) (#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 b9e10d1a0fc4d8428d4b36eb127570a832c26b6f)

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>
Misc/NEWS.d/next/Library/2024-07-21-10-45-24.gh-issue-122081.dNrYMq.rst [new file with mode: 0644]
Modules/_decimal/_decimal.c