summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-10-25 08:25:27 (GMT)
committerGitHub <noreply@github.com>2021-10-25 08:25:27 (GMT)
commitfa26245a1c1aa938cce391348d6bd879da357522 (patch)
treeb193ebf766f3105a880ce8d8f7160b090b0c77b2 /PCbuild
parent51ed2c56a1852cd6b09c85ba81312dc9782772ce (diff)
downloadcpython-fa26245a1c1aa938cce391348d6bd879da357522.zip
cpython-fa26245a1c1aa938cce391348d6bd879da357522.tar.gz
cpython-fa26245a1c1aa938cce391348d6bd879da357522.tar.bz2
bpo-45548: Remove _math.c workarounds for pre-C99 libm (GH-29179)
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>
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/pythoncore.vcxproj1
-rw-r--r--PCbuild/pythoncore.vcxproj.filters3
2 files changed, 0 insertions, 4 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index 1b484be..646bc8e 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -332,7 +332,6 @@
<ClCompile Include="..\Modules\_json.c" />
<ClCompile Include="..\Modules\_localemodule.c" />
<ClCompile Include="..\Modules\_lsprof.c" />
- <ClCompile Include="..\Modules\_math.c" />
<ClCompile Include="..\Modules\_pickle.c" />
<ClCompile Include="..\Modules\_randommodule.c" />
<ClCompile Include="..\Modules\_sha3\sha3module.c" />
diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters
index c151976..62aab5b 100644
--- a/PCbuild/pythoncore.vcxproj.filters
+++ b/PCbuild/pythoncore.vcxproj.filters
@@ -689,9 +689,6 @@
<ClCompile Include="..\Modules\_lsprof.c">
<Filter>Modules</Filter>
</ClCompile>
- <ClCompile Include="..\Modules\_math.c">
- <Filter>Modules</Filter>
- </ClCompile>
<ClCompile Include="..\Modules\_pickle.c">
<Filter>Modules</Filter>
</ClCompile>