Antoine Pitrou <pit...@free.fr> added the comment: 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6939> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com