Message285202
| 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:58 | Vlastimil.Zíma | set | recipients: + Vlastimil.Zíma, peter.otten, r.david.murray, michael.foord, serhiy.storchaka, davin |
| 2017-01-11 09:11:58 | Vlastimil.Zíma | set | messageid: <1484125918.26.0.679376066011.issue20804@psf.upfronthosting.co.za> |
| 2017-01-11 09:11:58 | Vlastimil.Zíma | link | issue20804 messages |
| 2017-01-11 09:11:58 | Vlastimil.Zíma | create | |