Movatterモバイル変換


[0]ホーム

URL:


homepage

Message321515

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

Authorserhiy.storchaka
RecipientsDan Rose, mark.dickinson, methane, serhiy.storchaka, vstinner
Date2018-07-12.04:52:16
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1531371136.95.0.56676864532.issue34100@psf.upfronthosting.co.za>
In-reply-to
Content
This is not only with integers.>>> a = ((1, 2), (1, 2))>>> a[0] is a[1]False>>> a = ('@#$', '@#$')>>> a[0] is a[1]False>>> a = (1.0, 1.0)>>> a[0] is a[1]FalseThe only exception is short ASCII identifier-like strings (as a side effect of interning them):>>> a = ('foo', 'foo')>>> a[0] is a[1]TrueI'm not sure this is a problem which should be resolved.
History
DateUserActionArgs
2018-07-12 04:52:17serhiy.storchakasetrecipients: +serhiy.storchaka,mark.dickinson,vstinner,methane,Dan Rose
2018-07-12 04:52:16serhiy.storchakasetmessageid: <1531371136.95.0.56676864532.issue34100@psf.upfronthosting.co.za>
2018-07-12 04:52:16serhiy.storchakalinkissue34100 messages
2018-07-12 04:52:16serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp