Message415213
float('nan')==math.nan does NOT evaluate to True (as suggested by documentation).
On the other hand, float('inf')==math.inf DOES evaluate to True (as suggested by documentation).
Documentation we're referring to: https://docs.python.org/3.8/library/math.html |
|
Date |
User |
Action |
Args |
2022-03-15 00:45:19 | w0rthle$$ | set | recipients:
+ w0rthle$$, docs@python |
2022-03-15 00:45:19 | w0rthle$$ | set | messageid: <1647305119.03.0.119079591211.issue47020@roundup.psfhosted.org> |
2022-03-15 00:45:19 | w0rthle$$ | link | issue47020 messages |
2022-03-15 00:45:18 | w0rthle$$ | create | |
|