Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue34552

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Clarify built-in types comparisons
Type:enhancementStage:resolved
Components:DocumentationVersions:Python 3.8, Python 3.7, Python 3.6, Python 3.4, Python 3.5, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: docs@pythonNosy List: Windson Yang, docs@python, gvanrossum, iritkatriel, miss-islington, njs, zach.ware
Priority:normalKeywords:patch

Created on2018-08-31 05:37 byWindson Yang, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 9035mergedWindson Yang,2018-09-02 16:16
Messages (4)
msg324403 -(view)Author: Windson Yang (Windson Yang)*Date: 2018-08-31 05:37
Inhttps://docs.python.org/3.5/library/stdtypes.html#comparisons "some types (for example, function objects) support only a degenerate notion of comparison where any two objects of that type are unequal."We had some discussion at zulipchat already:"more seriously: I think we can just delete that sentence. The next sentence makes clear that < and friends arne't always defined, and the sentence after that notes that == defaults to is if there's nothing better." - by Nathaniel J. SmithIMO, I think we should also clarify the relationship between "==", "is" and "__eq__".
msg325324 -(view)Author: miss-islington (miss-islington)Date: 2018-09-14 04:50
New changeset1aeba7458d2aaf8a03b5d443179d122ceb2ccece by Miss Islington (bot) (Windson yang) in branch 'master':bpo-34552: Clarify built-in types comparisons (GH-9035)https://github.com/python/cpython/commit/1aeba7458d2aaf8a03b5d443179d122ceb2ccece
msg378287 -(view)Author: Irit Katriel (iritkatriel)*(Python committer)Date: 2020-10-08 21:53
This seems complete, can it be closed?
msg378289 -(view)Author: Guido van Rossum (gvanrossum)*(Python committer)Date: 2020-10-08 22:06
Yup. Thanks for catching this!
History
DateUserActionArgs
2022-04-11 14:59:05adminsetgithub: 78733
2020-10-08 22:06:03gvanrossumsetstatus: open -> closed
resolution: fixed
messages: +msg378289

stage: patch review -> resolved
2020-10-08 21:53:09iritkatrielsetnosy: +iritkatriel
messages: +msg378287
2018-09-14 04:50:24miss-islingtonsetnosy: +miss-islington
messages: +msg325324
2018-09-02 16:16:15Windson Yangsetkeywords: +patch
stage: patch review
pull_requests: +pull_request8497
2018-08-31 05:37:52Windson Yangcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp