Message97854
He, roundup ate part of the code I pasted. Here it is again:
>>> import io
[39516 refs]
>>> f = io.open("foo", "wb", buffering=0)
[39542 refs]
>>> f.truncate()
0L
[39544 refs]
>>> f.truncate()
0L
[39544 refs]
>>> f.truncate(2)
2
[39543 refs]
>>> f.truncate(2)
2
[39542 refs]
>>> while True: f.truncate(2)
...
[snip]
Erreur de segmentation |
|
Date |
User |
Action |
Args |
2010-01-15 22:17:39 | pitrou | set | recipients:
+ pitrou, pakal |
2010-01-15 22:17:39 | pitrou | set | messageid: <1263593859.56.0.243466641946.issue6939@psf.upfronthosting.co.za> |
2010-01-15 22:17:38 | pitrou | link | issue6939 messages |
2010-01-15 22:17:38 | pitrou | create | |
|