Message 158105 - Python tracker
Message158105
| Author | vstinner |
|---|---|
| Recipients | Jon.Oberheide, neologix, r.david.murray, sbt, vstinner |
| Date | 2012-04-12.06:41:11 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <CAMpsgwavDhPNNzR3VmqdAN6DoiE73YXZhquOr6OnvEf+RRWdOw@mail.gmail.com> |
| In-reply-to | <1334205843.96.0.506487045653.issue14532@psf.upfronthosting.co.za> |
| Content | |
|---|---|
+def time_independent_equals(a, b): + if len(a) != len(b): + return False This is not time independent. Is it an issue? + if type(a[0]) is int: It's better to write isinstance(a, bytes). You should raise a TypeError if a is not a bytes or str. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-04-12 06:41:13 | vstinner | set | recipients: + vstinner, r.david.murray, neologix, sbt, Jon.Oberheide |
| 2012-04-12 06:41:11 | vstinner | link | issue14532 messages |
| 2012-04-12 06:41:11 | vstinner | create | |