]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-41302: Support system libmpdec 2.5 for Python 3.8 (GH-21488)
authorFelix Yan <felixonmars@archlinux.org>
Wed, 15 Jul 2020 20:22:23 +0000 (04:22 +0800)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2020 20:22:23 +0000 (22:22 +0200)
commit16eea45fbd3b7c3d1b222b7eb7a5d7ee427f70bd
treee0d98312741fc2fdf81709303b984ed66d4c5db4
parentf8055fb0f1054fce6a21047da39b92ae32416b80
[3.8] bpo-41302: Support system libmpdec 2.5 for Python 3.8 (GH-21488)

Define UNUSED only when mpdecimal.h doesn't define it. This would support
building with system libmpdec 2.5 while retaining compatibility with system
libmpdec 2.4 or the vendored copy.

Tested to build fine with either system libmpdec or the vendored one.
Misc/NEWS.d/next/Build/2020-07-15-17-56-32.bpo-41302.S3o-x9.rst [new file with mode: 0644]
Modules/_decimal/_decimal.c