[issue28955] Not matched behavior of numeric comparison with the documentation

2018-09-14 Thread miss-islington


miss-islington  added the comment:


New changeset ca2fa2841f8e3ce5213a0e8c0abc1d0fdc7d386b by Miss Islington (bot) 
in branch '3.7':
closes bpo-28955: Clarified comparisons between NaN and number in reference 
documentation (GH-5982)
https://github.com/python/cpython/commit/ca2fa2841f8e3ce5213a0e8c0abc1d0fdc7d386b


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28955] Not matched behavior of numeric comparison with the documentation

2018-09-14 Thread Benjamin Peterson


Benjamin Peterson  added the comment:


New changeset ad8a0004206ba7aec5a8a60fce413da718080db2 by Benjamin Peterson 
(Tony Flury) in branch 'master':
closes bpo-28955: Clarified comparisons between NaN and number in reference 
documentation (GH-5982)
https://github.com/python/cpython/commit/ad8a0004206ba7aec5a8a60fce413da718080db2


--
nosy: +benjamin.peterson
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28955] Not matched behavior of numeric comparison with the documentation

2018-09-14 Thread miss-islington


Change by miss-islington :


--
pull_requests: +8740

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28955] Not matched behavior of numeric comparison with the documentation

2018-03-05 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
nosy: +mark.dickinson

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28955] Not matched behavior of numeric comparison with the documentation

2018-03-05 Thread Anthony Flury

Change by Anthony Flury :


--
keywords: +patch
pull_requests: +5748
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28955] Not matched behavior of numeric comparison with the documentation

2018-03-04 Thread Cheryl Sabella

Change by Cheryl Sabella :


--
keywords: +easy
stage:  -> needs patch
type: behavior -> enhancement
versions: +Python 3.7, Python 3.8 -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28955] Not matched behavior of numeric comparison with the documentation

2016-12-13 Thread R. David Murray

R. David Murray added the comment:

Sure, we like to make the docs more precise when it doesn't interfere with the 
presentation.  Perhaps something like:  "Additionally, ordering comparisions 
involving not-a-number values will always return False."

I wonder if we should also mention here that this follows the IEEE standard.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28955] Not matched behavior of numeric comparison with the documentation

2016-12-12 Thread woo yoo

woo yoo added the comment:

Maybe the description should be changed into "all order comparisons of 
not-a-number and any number will return False"

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28955] Not matched behavior of numeric comparison with the documentation

2016-12-12 Thread woo yoo

New submission from woo yoo:

According to the documentation, which said "Additionally, comparing any number 
to a not-a-number value will return False. ",the comparison of `float('nan')!= 
1`should yield False, while the result is True.

Small errors like this in documentation should be corrected?

The related link 
https://docs.python.org/3/reference/expressions.html#value-comparisons

--
assignee: docs@python
components: Documentation
messages: 283069
nosy: docs@python, woo yoo
priority: normal
severity: normal
status: open
title: Not matched behavior of numeric comparison with the documentation
type: behavior
versions: Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com