]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-53032: support IEEE 754 contexts in the decimal module (#122003)
authorSergey B Kirpichev <skirpichev@gmail.com>
Mon, 28 Apr 2025 13:05:56 +0000 (16:05 +0300)
committerGitHub <noreply@github.com>
Mon, 28 Apr 2025 13:05:56 +0000 (15:05 +0200)
commit5bf0f3666e272798789ff900b1071760c73b46fd
treea4a60b0cfa75ee1181b77bee4a1749dcb5e748fd
parente20ca6d1b006674be23d16083f273e8a7b8f77b6
gh-53032: support IEEE 754 contexts in the decimal module (#122003)

This was in C version from beginning, but available only
on conditional compilation (EXTRA_FUNCTIONALITY).  Current
patch adds function to create IEEE contexts to the
pure-python module as well.

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Doc/library/decimal.rst
Doc/whatsnew/3.14.rst
Lib/_pydecimal.py
Lib/test/test_decimal.py
Misc/NEWS.d/next/Library/2024-07-19-07-16-50.gh-issue-53032.paXN3p.rst [new file with mode: 0644]
Modules/_decimal/_decimal.c
Modules/_decimal/docstrings.h