code confuses identity and equality
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mpmath (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
similar to bug 1917318
IMPACT:
Python 3.8 has started to emit warnings for code that confuses equality and identity. For more background see https:/
While it is just a warning, it is very visible when running ansible on focal for example, to the point of making the output incredibly hard to follow. Furthermore, the indifference between identity and equality might be creating true bugs as discussed in above blog entry. It seems advisable to fix this incorrect code when found.
From the terminal when installing python3-mpmath:
Setting up python3-mpmath (1.1.0-2) ...
/usr/lib/
if other is 0:
/usr/lib/
if other is 0:
This was fixed upstream in version 1.2.0 and thus does not affect hirsute and later.
description: | updated |
Changed in mpmath (Ubuntu): | |
status: | New → Fix Released |