| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
quick comments, haven't looked at build system changes
Sorry, something went wrong.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
There was a problem hiding this comment.
Reviewed the changes to sbom.spdx.json and generate_sbom.py and those changes LGTM.
Sorry, something went wrong.
There was a problem hiding this comment.
Quite close, I think, just a few more cleanups.
Sorry, something went wrong.
| Previously, the :mod:`!_decimal` C extension underlying the :mod:`decimal` module | ||
| was built using an included copy of the libmpdec | ||
| library unless the build is configured ``--with-system-libmpdec``:: |
There was a problem hiding this comment.
Wouldn't hurt to fix the libffi section as well. Suggested wording here, though:
| Previously, the :mod:`!_decimal` C extension underlying the :mod:`decimal` module | |
| was built using an included copy of the libmpdec | |
| library unless the build is configured ``--with-system-libmpdec``:: | |
| The :mod:`!_decimal` C extension underlying the :mod:`decimal` module | |
| is linked to the libmpdec C library:: |
On the other hand, we could just leave this file alone for now and get someone more knowledgeable about such things to tell us what we should do in a separate issue :)
Sorry, something went wrong.
There was a problem hiding this comment.
Then lets keep this intact.
Sorry, something went wrong.
| # Disable forced inlining in debug builds, see GH-94847 | ||
| AS_VAR_IF( | ||
| [with_pydebug], [yes], | ||
| [AS_VAR_APPEND([LIBMPDEC_CFLAGS], [" -DTEST_COVERAGE"])]) |
There was a problem hiding this comment.
This is only relevant for building libmpdec itself, isn't it?
There is a usage of TEST_COVERAGE in Modules/_decimal/_decimal.c, but I don't see anything ever defining it for that module.
Sorry, something went wrong.
There was a problem hiding this comment.
There is a usage of TEST_COVERAGE in Modules/_decimal/_decimal.c, but I don't see anything ever defining it for that module.
It's defined there, no?
Sorry, something went wrong.
There was a problem hiding this comment.
Ok, sorry, my understanding of how LIBMPDEC_{CFLAGS,LDFLAGS} work was incorrect; this is fine.
Sorry, something went wrong.
There was a problem hiding this comment.
Given that this define used only in one place, we could replace it with Py_DEBUG in the code.
Sorry, something went wrong.
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
| Back | FazBrowse Home | New Git URL |
📚 Documentation preview 📚: https://cpython-previews--133964.org.readthedocs.build/