Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #7865: The close() method of :mod:`io` objects should not swallow | Antoine Pitrou | 2010-05-03 | 1 | -5/+1 |
| | | | | | exceptions raised by the implicit flush(). Also ensure that calling close() several times is supported. Patch by Pascal Chambon. | ||||
* | accept None as the same as having passed no argument in file types #7349 | Benjamin Peterson | 2009-12-13 | 1 | -16/+2 |
| | | | | | | | 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. | ||||
* | Issue #7228: Fix format mismatch when printing something of type off_t. | Mark Dickinson | 2009-11-24 | 1 | -2/+4 |
| | | | | (Should silence some compiler warnings.) | ||||
* | Buffered I/O: optimize lock taking in the common non-contended case. | Antoine Pitrou | 2009-11-01 | 1 | -3/+5 |
| | |||||
* | Roll back ill-considered attempts to fix printf specifier mismatch for off_t. | Mark Dickinson | 2009-10-29 | 1 | -4/+2 |
| | | | | | The sensible solution seems to be to implement %lld for PyString_FromFormat(V) and PyErr_Format. See issue #7228. | ||||
* | Silence gcc warnings when trying to print an off_t using "lld", on platforms | Mark Dickinson | 2009-10-27 | 1 | -2/+2 |
| | | | | where off_t has type long (e.g., 64-bit Linux). | ||||
* | Use correct conversion specifier and length modifier when printing an | Mark Dickinson | 2009-10-26 | 1 | -2/+4 |
| | | | | integer of type off_t. Also, don't assume that long long is available. | ||||
* | Fix compilation warning on Windows, where size_t is 32bit but file offsets ↵ | Amaury Forgeot d'Arc | 2009-10-05 | 1 | -6/+7 |
| | | | | are 64bit. | ||||
* | Issue #6629: Fix a data corruption issue in the new `io` package, which could | Antoine Pitrou | 2009-08-06 | 1 | -0/+13 |
| | | | | | | | | occur when writing to a BufferedRandom object (e.g. a file opened in "rb+" or "wb+" mode) after having buffered a certain amount of data for reading. This bug was not present in the pure Python implementation. Yes, this is a serious issue. | ||||
* | Issue #6215: backport the 3.1 io lib | Antoine Pitrou | 2009-06-12 | 1 | -0/+2289 |