[issue39530] Documentation about comparisons between numeric types is misleading

2020-03-04 Thread Mark Dickinson
Mark Dickinson added the comment: Thank you for reviewing! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39530] Documentation about comparisons between numeric types is misleading

2020-03-04 Thread Mark Dickinson
Change by Mark Dickinson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39530] Documentation about comparisons between numeric types is misleading

2020-03-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +18132 pull_request: https://github.com/python/cpython/pull/18773 ___ Python tracker ___

[issue39530] Documentation about comparisons between numeric types is misleading

2020-03-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +18131 pull_request: https://github.com/python/cpython/pull/18736 ___ Python tracker ___

[issue39530] Documentation about comparisons between numeric types is misleading

2020-03-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +18127 pull_request: https://github.com/python/cpython/pull/18737 ___ Python tracker

[issue39530] Documentation about comparisons between numeric types is misleading

2020-02-26 Thread Mark Dickinson
Mark Dickinson added the comment: There's a PR on GitHub. (GH-18615) Terry: I think you've looked at similar sorts of documentation clarifications in the past. Would you have any interest in reviewing this one? -- nosy: +terry.reedy ___ Python

[issue39530] Documentation about comparisons between numeric types is misleading

2020-02-23 Thread Mark Dickinson
Change by Mark Dickinson : -- keywords: +patch pull_requests: +17980 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18615 ___ Python tracker ___

[issue39530] Documentation about comparisons between numeric types is misleading

2020-02-10 Thread Mark Dickinson
Mark Dickinson added the comment: Hi Katherine, My report was really just about the last sentence, but I agree that the "narrower" language is confusing here. If someone says that a type "A" is narrower than type "B", that suggests to my ears that "A" represents a subset of the values of

[issue39530] Documentation about comparisons between numeric types is misleading

2020-02-10 Thread Katherine Michel
Katherine Michel added the comment: I'm at the sprints at PyCascades and was looking for an issue to work on and came across this and wanted to know more about it. As I was doing some research, I found the terms "narrower" and "wider" to seem ambiguous. I'm assuming "narrower" to mean that

[issue39530] Documentation about comparisons between numeric types is misleading

2020-02-02 Thread Mark Dickinson
Mark Dickinson added the comment: Related SO question: https://stackoverflow.com/questions/60005876/how-does-python-compare-int-to-float-objects -- ___ Python tracker ___

[issue39530] Documentation about comparisons between numeric types is misleading

2020-02-02 Thread Mark Dickinson
New submission from Mark Dickinson : The documentation[1] for comparisons between mixed types says: > [...] when a binary arithmetic operator has operands of different > numeric types, the operand with the "narrower" type is widened to > that of the other, where integer is narrower than