Message13728
| Author | nascheme |
|---|---|
| Recipients | |
| Date | 2002-12-30.20:29:19 |
| SpamBayes Score | |
| Marked as misclassified | |
| Message-id | |
| In-reply-to |
| Content | |
|---|---|
type __mul__ is wierd: >> 'a'.__mul__(3.4) 'aaa' >>> [1].__mul__(3.4) [1, 1, 1] Floating point numbers with fractions should not be accepted. I think the problem is that __mul__ should not be trying to implement sq_repeat behavior (although I haven't dug deeply into this problem yet). Also, I think the code is vulnerable to integer overflow. Should also check __imul__ __add__ __iadd__. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-08-23 14:09:33 | admin | link | issue660144 messages |
| 2007-08-23 14:09:33 | admin | create | |