[issue40177] Python Language Reference Documentation

2020-04-05 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report! Now fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> behavior ___ Python tracker __

[issue40177] Python Language Reference Documentation

2020-04-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +18747 pull_request: https://github.com/python/cpython/pull/19384 ___ Python tracker ___ __

[issue40177] Python Language Reference Documentation

2020-04-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +18746 pull_request: https://github.com/python/cpython/pull/19383 ___ Python tracker _

[issue40177] Python Language Reference Documentation

2020-04-04 Thread Mark Dickinson
Change by Mark Dickinson : -- keywords: +patch pull_requests: +18718 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19357 ___ Python tracker ___ _

[issue40177] Python Language Reference Documentation

2020-04-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: Oh never mind, I'm just going to slink away now and stop posting corrections when distracted... -- ___ Python tracker ___ _

[issue40177] Python Language Reference Documentation

2020-04-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: Oops, that should be ... ``x == x``, ``3 < x``, and ``x > 3`` are all false ... -- ___ Python tracker ___ _

[issue40177] Python Language Reference Documentation

2020-04-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: How about this? "The not-a-number values ``float('NaN')`` and ``decimal.Decimal('NaN')`` are special. Not-a-number values always compare unordered and unequal to any other value, including themselves. For example, if ``x = float('NaN')``, then ``x == x``,

[issue40177] Python Language Reference Documentation

2020-04-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger, stutzbach ___ Python tracker ___ ___ Python-bugs-list mai

[issue40177] Python Language Reference Documentation

2020-04-03 Thread Arnuld
New submission from Arnuld : In section "6.10.1 Value comparisons", it is written: https://docs.python.org/3/reference/expressions.html "The not-a-number values float('NaN') and decimal.Decimal('NaN') are special. Any ordered comparison of a number to a not-a-number value is false. A counter-in