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 pakal, pitrou
Date 2010-01-15.22:17:38
SpamBayes Score 0.03495687
Marked as misclassified No
Message-id <1263593859.56.0.243466641946.issue6939@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-01-15 22:17:39pitrousetrecipients: + pitrou, pakal
2010-01-15 22:17:39pitrousetmessageid: <1263593859.56.0.243466641946.issue6939@psf.upfronthosting.co.za>
2010-01-15 22:17:38pitroulinkissue6939 messages
2010-01-15 22:17:38pitroucreate