Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 771963

Summary: app-portage/mirrorselect: SyntaxWarning about "is not" comparison
Product: Gentoo Linux Reporter: Stefan Huber <shuber>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: IN_PROGRESS ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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/selectors.py:263: 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:
https://github.com/shuber2/mirrorselect/commit/be5193f7f87664f88709492ebdaccb7154f9c5bf

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.