Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771963 - app-portage/mirrorselect: SyntaxWarning about "is not" comparison
Summary: app-portage/mirrorselect: SyntaxWarning about "is not" comparison
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Portage Tools Team
Depends on:
Reported: 2021-02-21 17:34 UTC by Stefan Huber
Modified: 2023-07-06 07:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Huber 2021-02-21 17:34:08 UTC
When emerging mirrorselect then a warning is shown:
/usr/lib/python3.8/site-packages/mirrorselect/ SyntaxWarning: "is not" with a literal. Did you m
ean "!="?

This warning is reasonable. A fix with a comment as git-commit message can be found here on a clone of the mirrorselect git repository:

Reproducible: Always
Comment 1 Stefan Huber 2021-07-05 15:50:15 UTC
Any news to this? It also happens during invocation of mirrorselect in some cases.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-06 07:57:28 UTC
This seems to have been fixed by which is in 2.3.0.