Message268096
| Author | benjamin.peterson |
|---|---|
| Recipients | Demur Rumed, Mark.Shannon, benjamin.peterson, brett.cannon, georg.brandl, ncoghlan, serhiy.storchaka, vstinner, yselivanov |
| Date | 2016-06-10.06:46:34 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1465541194.35.0.788211545776.issue27140@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Does this change break this function?
def subtle():
one = {-0. : 'a', -1: 'b'}
two = {0. : 'a', -1: 'b'}
assert all(math.copysign(1, x) < 0 for x in one)
assert any(math.copysign(1, x) > 0 for x in two)
Perhaps you should restrict yourself to strings... |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-06-10 06:46:34 | benjamin.peterson | set | recipients: + benjamin.peterson, brett.cannon, georg.brandl, ncoghlan, vstinner, Mark.Shannon, serhiy.storchaka, yselivanov, Demur Rumed |
| 2016-06-10 06:46:34 | benjamin.peterson | set | messageid: <1465541194.35.0.788211545776.issue27140@psf.upfronthosting.co.za> |
| 2016-06-10 06:46:34 | benjamin.peterson | link | issue27140 messages |
| 2016-06-10 06:46:34 | benjamin.peterson | create | |