https://github.com/python/cpython
Revision fa26245a1c1aa938cce391348d6bd879da357522 authored by Christian Heimes on 25 October 2021, 08:25:27 UTC, committed by GitHub on 25 October 2021, 08:25:27 UTC


The :mod:`math` and :mod:`cmath` implementation now require a C99 compatible
``libm`` and no longer ship with workarounds for missing acosh, asinh,
expm1, and log1p functions.

The changeset also removes ``_math.c`` and moves the last remaining
workaround into ``_math.h``. This simplifies static builds with
``Modules/Setup`` and resolves symbol conflicts.

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
Co-authored-by: Brett Cannon <brett@python.org>
Signed-off-by: Christian Heimes <christian@python.org>
1 parent 51ed2c5
History
Tip revision: fa26245a1c1aa938cce391348d6bd879da357522 authored by Christian Heimes on 25 October 2021, 08:25:27 UTC
bpo-45548: Remove _math.c workarounds for pre-C99 libm (GH-29179)
Tip revision: fa26245
File Mode Size
Python.asdl -rw-r--r-- 6.0 KB
asdl.py -rw-r--r-- 12.8 KB
asdl_c.py -rwxr-xr-x 53.0 KB
myreadline.c -rw-r--r-- 11.7 KB
parser.c -rw-r--r-- 1.1 MB
peg_api.c -rw-r--r-- 874 bytes
pegen.c -rw-r--r-- 73.4 KB
pegen.h -rw-r--r-- 11.9 KB
string_parser.c -rw-r--r-- 38.3 KB
string_parser.h -rw-r--r-- 1.8 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 61.6 KB
tokenizer.h -rw-r--r-- 4.4 KB

back to top