Staging
v0.8.1
https://github.com/python/cpython
Revision 6cb24a035c5980cab39b6dc5d70762af07293bea authored by Miss Islington (bot) on 09 June 2020, 13:54:54 UTC, committed by GitHub on 09 June 2020, 13:54:54 UTC

"make install" now uses the PLATLIBDIR variable for the destination
lib-dynload/ directory when ./configure --with-platlibdir is used.

Update --with-platlibdir comment in configure.
(cherry picked from commit 51ae31e5b93b986e57a7e18e25f981a6ffcdefb7)

Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 1a819ca
Raw File
Tip revision: 6cb24a035c5980cab39b6dc5d70762af07293bea authored by Miss Islington (bot) on 09 June 2020, 13:54:54 UTC
bpo-40684: Fix make install for platlibdir=lib64 (GH-20736)
Tip revision: 6cb24a0
_math.h
#ifdef HAVE_ACOSH
#  define m_acosh acosh
#else
/* if the system doesn't have acosh, use the substitute
   function defined in Modules/_math.c. */
double _Py_acosh(double x);
#  define m_acosh _Py_acosh
#endif

#ifdef HAVE_ASINH
#  define m_asinh asinh
#else
/* if the system doesn't have asinh, use the substitute
   function defined in Modules/_math.c. */
double _Py_asinh(double x);
#  define m_asinh _Py_asinh
#endif

#ifdef HAVE_ATANH
#  define m_atanh atanh
#else
/* if the system doesn't have atanh, use the substitute
   function defined in Modules/_math.c. */
double _Py_atanh(double x);
#define m_atanh _Py_atanh
#endif

#ifdef HAVE_EXPM1
#  define m_expm1 expm1
#else
/* if the system doesn't have expm1, use the substitute
   function defined in Modules/_math.c. */
double _Py_expm1(double x);
#define m_expm1 _Py_expm1
#endif

double _Py_log1p(double x);

/* Use the substitute from _math.c on all platforms:
   it includes workarounds for buggy handling of zeros. */
#define m_log1p _Py_log1p
back to top