Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.9] bpo-41302: Fix build with system libmpdec (GH-21481)#21486

Merged
miss-islington merged 1 commit into
python:3.9python/cpython:3.9from
miss-islington:backport-015efdb-3.9miss-islington/cpython:backport-015efdb-3.9Copy head branch name to clipboard
Jul 15, 2020
Merged

[3.9] bpo-41302: Fix build with system libmpdec (GH-21481)#21486
miss-islington merged 1 commit into
python:3.9python/cpython:3.9from
miss-islington:backport-015efdb-3.9miss-islington/cpython:backport-015efdb-3.9Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 15, 2020

Copy link
Copy Markdown
Contributor

Move definition of UNUSED from modified headers of libmpdec to
_decimal.c itself. This makes the vendored source closer to the
standalone library and fixes build with --with-system-libmpdec.

Tested to build fine with either system libmpdec or the vendored one.
(cherry picked from commit 015efdb)

Co-authored-by: Felix Yan felixonmars@archlinux.org

https://bugs.python.org/issue41302

Move definition of UNUSED from modified headers of libmpdec to
_decimal.c itself. This makes the vendored source closer to the
standalone library and fixes build with --with-system-libmpdec.

Tested to build fine with either system libmpdec or the vendored one.
(cherry picked from commit 015efdb)

Co-authored-by: Felix Yan <felixonmars@archlinux.org>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@felixonmars and @skrah: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 8ca63f9 into python:3.9 Jul 15, 2020
@miss-islington miss-islington deleted the backport-015efdb-3.9 branch July 15, 2020 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.