Message28640
| Author |
foom |
| Recipients |
| Date |
2006年05月25日.15:51:31 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
But it doesn't, always.
>>> int(buffer('123a', 0, 3))
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ValueError: invalid literal for int(): 123a
Hmmmmmm...well if that works, how about this one:
>>> import array; int(buffer(array.array('c', [])))
***SEGFAULT***
Ah, there we go, a nice crasher. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:40:14 | admin | link | issue1495033 messages |
| 2007年08月23日 14:40:14 | admin | create |
|