| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
exceptions raised by the implicit flush(). Also ensure that calling
close() several times is supported. Patch by Pascal Chambon.
|
|
|
|
|
|
| |
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
ftruncate() and other truncation APIs. Patch by Pascal Chambon.
|
|
|
|
|
|
|
| |
This is for consistency with imitation file objects like StringIO and BytesIO.
This commit also adds a few tests, where they were lacking for concerned
methods.
|
|
|
|
|
|
|
| |
and other platforms, when using a non-gcc compiler. Patch by egreen.
In addition, I made explicit the signedness of all bitfields in the
IO library.
|
|
|
|
| |
this affect text files opened with io.open(), and the print() function of py3k
|
|
|