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 | pitrou |
|---|---|
| Recipients | Jon.Oberheide, neologix, pitrou, r.david.murray, sbt, vstinner |
| Date | 2012年04月12日.14:08:35 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1334239715.9.0.428897343246.issue14532@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
You could rewrite: result |= x ^ y as: result |= (x != y) Of course, this assumes that the "!=" operator is constant-time for 1-element strings. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012年04月12日 14:08:35 | pitrou | set | recipients: + pitrou, vstinner, r.david.murray, neologix, sbt, Jon.Oberheide |
| 2012年04月12日 14:08:35 | pitrou | set | messageid: <1334239715.9.0.428897343246.issue14532@psf.upfronthosting.co.za> |
| 2012年04月12日 14:08:35 | pitrou | link | issue14532 messages |
| 2012年04月12日 14:08:35 | pitrou | create | |