| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix creating install directories in `make sharedinstall` if they exist
already outside `DESTDIR`. The previous make rules assumed that
the directories would be created via a dependency on a rule
for `$(DESTSHARED)` that did not fire if the directory did exist outside
`$(DESTDIR)`.
While technically `$(DESTDIR)` could be prepended to the rule name,
moving the rules for creating directories straight into
the `sharedinstall` rule seems to fit the common practices better.
Since the rule explicitly checks whether the individual directories
exist anyway, there seems to be no reason to rely on make determining
that implicitly as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use `set -e` before compound shell commands in order to ensure that make
targets fail correctly when at least one of the subcommands fail.
This is necessary since make considers a target failed only if one of
the shell invocations returns with unsuccessful exit status. If a shell
script does not exit explicitly, the shell uses the exit status
of the *last* executed command. This means that when multiple commands
are executed (e.g. through a `for` loop), the exit statuses of prior
command invocations are ignored.
This can be either resolved by adding an explicit `|| exit 1` to every
command that is expected to succeed, or by running the whole script
with `set -e`. The latter was used here as it the rules seem to be
written with the assumption that individual commands were supposed
to cause the make rules to fail.
|
|
|
|
|
|
|
| |
Fix the gdbm_compat library detection logic to actually check for
-lgdbm_compat independently of the ndbm detection. This fixes the build
failure with `--with-dbmliborder=gdbm`, and implicit fallback to ndbm
with the default value.
|
|
|
|
|
|
|
|
|
| |
These tests fail on filesystems which disallow
non-UTF8, like ZFS with 'utf8only' on.
Bug: https://bugs.python.org/issue37584
Bug: https://github.com/python/cpython/issues/81765
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The current configure code detects musl and sets an appropriate suffix
correctly but afterwards verifies that the detection result matches
whatever --print-multiarch prints. Unfortunately, the current Clang
releases incorrectly report linux-gnu on musl, causing the safety check
to fail. Until upstreams sort that out, just nuke the multiarch check
on musl target.
Bug: https://bugs.gentoo.org/862888
|
|
|
|
|
|
|
|
| |
These tests try to change the priority of the running process, but if
e.g. PORTAGE_NICENESS=19, you can't spawn a process with lower (or higher!)
niceness, as there's nowhere to go. Ditto priorities.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Bug: https://bugs.gentoo.org/767886
|
| |
|
|
|
|
|
| |
The test imports numpy, bringing its warnings along with it and causing
the test to fail.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(GH-27376)
|
| |
|
| |
|
|
|
|
| |
(GH-100381)
|
|
|
|
| |
in `mathmodule.c` (#100881)
|
|
|
|
| |
callback (#13364)
|
| |
|
|
|
|
| |
files(#100765)
|
| |
|
|
|
| |
Co-authored-by: HARSHA VARDHAN <75431678+Thunder-007@users.noreply.github.com>
|
|
|
|
| |
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
| |
This PR removes the `volatile` qualifier on various intermediate quantities
in the `math.fsum` implementation, and updates the notes preceding the
algorithm accordingly (as well as fixing some of the exsting notes). See
the linked issue #100833 for discussion.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
memory (GH-24061)" (#100745)
* gh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory (GH-24061)"
This reverts commit 7c83eaa536d2f436ae46211ca48692f576c732f0.
|
|
|
|
|
|
| |
- Use "drive", not "drive letter", because of UNC paths
- Previous components are not thrown away from relative drive letters
- Use "segment" instead of "component" for consistency with pathlib
- Other miscellaneous improvements
|
|
|
|
|
|
|
|
| |
Adapted from
https://github.com/python/cpython/pull/24779/commits/046c84e8f9
This makes arithmetic between Fractions with small components
just as fast as before python/cpython#24779, at some expense of
mixed arithmetic (e.g. Fraction + int).
|
|
|
|
| |
unittest.TestLoader.testNamePatterns (#100825)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Removed erroneous note in the get_type_hints docs
typing.get_type_hints still includes base class type hints.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
using Mock (#100691)
Mock objects which are not unsafe will now raise an AttributeError when accessing an
attribute that matches the name of an assertion but without the prefix `assert_`, e.g. accessing `called_once` instead of `assert_called_once`.
This is in addition to this already happening for accessing attributes with prefixes assert, assret, asert, aseert, and assrt.
|
|
|
|
|
|
| |
- This doesn't cover everything (far from it) but it's a start.
- This uses pytest, which isn't ideal, but was quickest to get started.
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
|