homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Vlastimil.Zíma
Recipients Vlastimil.Zíma, davin, michael.foord, peter.otten, r.david.murray, serhiy.storchaka
Date 2017年01月11日.09:11:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484125918.26.0.679376066011.issue20804@psf.upfronthosting.co.za>
In-reply-to
Content
Since the issue was dug up, I've created a patch for documentation.
I still think, that it is worth stating the equality is not preserved for sentinels when copied as the message produced by tests is rather confusing:
 class SentinelTestCase(TestCase):
 def test_sentinel(self):
 self.assertEqual(sentinel.foo, copy(sentinel.foo))
 # AssertionError: sentinel.foo != sentinel.foo
History
Date User Action Args
2017年01月11日 09:11:58Vlastimil.Zímasetrecipients: + Vlastimil.Zíma, peter.otten, r.david.murray, michael.foord, serhiy.storchaka, davin
2017年01月11日 09:11:58Vlastimil.Zímasetmessageid: <1484125918.26.0.679376066011.issue20804@psf.upfronthosting.co.za>
2017年01月11日 09:11:58Vlastimil.Zímalinkissue20804 messages
2017年01月11日 09:11:58Vlastimil.Zímacreate

AltStyle によって変換されたページ (->オリジナル) /