Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 2 | -5/+5 |
| | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | Fix a comment. | Barry Warsaw | 2016-06-08 | 1 | -1/+2 |
| | |||||
* | Issue #27066: Fixed SystemError if a custom opener (for open()) returns | Barry Warsaw | 2016-06-08 | 1 | -1/+6 |
| | | | | a negative number without setting an exception. | ||||
* | Issue #20699: Document that “io” methods accept bytes-like objects | Martin Panter | 2016-05-28 | 6 | -12/+13 |
| | | | | | | | | This matches the usage of ZipFile and BufferedWriter. This still requires return values to be bytes() objects. Also document and test that the write() methods should only access their argument before they return. | ||||
* | Fix spelling (inital), grammar (may translates) in documentation, comments | Martin Panter | 2016-04-19 | 1 | -2/+2 |
| | |||||
* | Fix typos in code comments and documentation | Martin Panter | 2016-04-16 | 2 | -4/+4 |
| | |||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 3 | -9/+9 |
| | |||||
* | Issue #22854: Clarify documentation about UnsupportedOperation and add tests | Martin Panter | 2016-03-31 | 3 | -15/+13 |
| | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False. | ||||
* | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 2 | -16/+8 |
| | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -2/+1 |
| | | | | macro Py_SETREF. | ||||
* | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 2 | -2/+2 |
| | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
* | Issue #25717: Add comment explaining why errors are ignored | Martin Panter | 2015-12-06 | 1 | -0/+3 |
| | |||||
* | Issue #25717: Tolerate fstat() failures in the FileIO constructor | Martin Panter | 2015-12-06 | 1 | -12/+27 |
| | | | | | | This restores 3.4 behaviour, which was removed by revision 3b5279b5bfd1. The fstat() call fails with ENOENT for a Virtual Box shared folder filesystem if the file entry has been unlinked, e.g. for a temporary file. | ||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 2 | -3/+3 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 2 | -3/+3 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Issue #22413: Remove comment made out of date by Argument Clinic | Martin Panter | 2015-10-10 | 1 | -4/+2 |
| | | |||||
* | | Issue #22413: Merge StringIO doc from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 1 | -1/+6 |
|\ \ | |/ | |||||
| * | Issue #22413: Document newline effect on StringIO initializer and getvalue | Martin Panter | 2015-10-10 | 1 | -1/+6 |
| | | | | | | | | Also add to comment in the C code. | ||||
* | | Merge typo fixes from 3.4 into 3.5 | Martin Panter | 2015-10-07 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Various minor typos in documentation and comments | Martin Panter | 2015-10-07 | 1 | -1/+1 |
| | | |||||
| * | Issue #25030: Do not document seek() as if it accepts keyword arguments | Martin Panter | 2015-09-11 | 1 | -1/+1 |
| | | | | | | | | Patch from Shiyao Ma. | ||||
| * | Issue #23796: peak and read1 methods of BufferedReader now raise ValueError | Berker Peksag | 2015-05-12 | 1 | -0/+5 |
| | | | | | | | | | | | | if they called on a closed object. Patch by John Hergenroeder. | ||||
* | | Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is | Serhiy Storchaka | 2015-09-04 | 1 | -1/+5 |
| | | | | | | | | set beyond size. Based on patch by John Leitch. | ||||
* | | Fixes cast warning in bufferedio.c | Steve Dower | 2015-05-23 | 1 | -1/+1 |
| | | |||||
* | | Issue #9858: Add missing method stubs to _io.RawIOBase. Patch by Laura ↵ | Antoine Pitrou | 2015-05-20 | 1 | -0/+16 |
| | | | | | | | | Rupprecht. | ||||
* | | Issue #23796: peak and read1 methods of BufferedReader now raise ValueError | Berker Peksag | 2015-05-12 | 1 | -0/+5 |
| | | | | | | | | | | | | if they called on a closed object. Patch by John Hergenroeder. | ||||
* | | Issue #24009: Got rid of using rare "y#" format unit in TextIOWrapper.tell(). | Serhiy Storchaka | 2015-05-06 | 1 | -2/+11 |
| | | | | | | | | | | Parsed value should be bytes, not general robuffer, this is required in other places. | ||||
* | | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 5 | -20/+20 |
| | | | | | | | | instead of types={'type'} to specify the types the converter accepts. | ||||
* | | Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the | Serhiy Storchaka | 2015-04-23 | 7 | -87/+42 |
| | | | | | | | | same line as function name. | ||||
* | | Issue #23908: os functions now reject paths with embedded null character | Serhiy Storchaka | 2015-04-20 | 1 | -7/+6 |
|\ \ | |/ | | | | | | | | | on Windows instead of silently truncate them. Removed no longer used _PyUnicode_HasNULChars(). | ||||
| * | Issue #23908: os functions now reject paths with embedded null character | Serhiy Storchaka | 2015-04-20 | 1 | -7/+6 |
| | | | | | | | | on Windows instead of silently truncate them. | ||||
* | | Use PyArg_ParseTuple (new API) instead of PyArg_Parse (old API) for parsing ↵ | Serhiy Storchaka | 2015-04-19 | 1 | -5/+5 |
| | | | | | | | | tuples. | ||||
* | | Fix typo in assert statement | Christian Heimes | 2015-04-16 | 1 | -1/+1 |
| | | |||||
* | | Issue #20175: Converted the _io module to Argument Clinic. | Serhiy Storchaka | 2015-04-16 | 14 | -1348/+4170 |
| | | |||||
* | | Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵ | Antoine Pitrou | 2015-04-13 | 1 | -4/+21 |
|\ \ | |/ | | | | | writable text file. | ||||
| * | Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵ | Antoine Pitrou | 2015-04-13 | 1 | -4/+21 |
| | | | | | | | | writable text file. | ||||
* | | Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted | Antoine Pitrou | 2015-04-13 | 1 | -1/+22 |
|\ \ | |/ | | | | | | | | | while it is holding a lock to a buffered I/O object, and the main thread tries to use the same I/O object (typically stdout or stderr). A fatal error is emitted instead. | ||||
| * | Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted | Antoine Pitrou | 2015-04-13 | 1 | -1/+22 |
| | | | | | | | | | | | | while it is holding a lock to a buffered I/O object, and the main thread tries to use the same I/O object (typically stdout or stderr). A fatal error is emitted instead. | ||||
* | | Issue #23668: Suppresses invalid parameter handler around chsize calls. | Steve Dower | 2015-04-12 | 1 | -0/+2 |
| | | |||||
* | | Issue #23524: Replace _PyVerify_fd function with calls to ↵ | Steve Dower | 2015-04-12 | 1 | -1/+13 |
| | | | | | | | | _set_thread_local_invalid_parameter_handler. | ||||
* | | Issue #23668: Adds support for os.truncate and os.ftruncate on Windows | Steve Dower | 2015-03-21 | 1 | -50/+4 |
| | | |||||
* | | Issue #21859: Corrected FileIO docstrings. | Serhiy Storchaka | 2015-04-10 | 1 | -15/+18 |
|\ \ | |/ | |||||
| * | Issue #21859: Corrected FileIO docstrings. | Serhiy Storchaka | 2015-04-10 | 1 | -15/+18 |
| | | |||||
* | | Replaced "string" with "bytes object" in docstrings of binary I/O objects. | Serhiy Storchaka | 2015-04-09 | 2 | -13/+13 |
|\ \ | |/ | |||||
| * | Replaced "string" with "bytes object" in docstrings of binary I/O objects. | Serhiy Storchaka | 2015-04-09 | 2 | -13/+13 |
| | | |||||
* | | Issue #23752: _Py_fstat() is now responsible to raise the Python exception | Victor Stinner | 2015-03-30 | 1 | -6/+4 |
| | | | | | | | | Add _Py_fstat_noraise() function when a Python exception is not welcome. | ||||
* | | Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances. | Serhiy Storchaka | 2015-03-30 | 1 | -6/+2 |
|\ \ | |/ | |||||
| * | Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances. | Serhiy Storchaka | 2015-03-30 | 1 | -6/+2 |
| | | |||||
* | | Issue #23752: When built from an existing file descriptor, io.FileIO() now only | Victor Stinner | 2015-03-30 | 1 | -24/+0 |
| | | | | | | | | calls fstat() once. Before fstat() was called twice, which was not necessary. | ||||
* | | Issue #21802: The reader in BufferedRWPair now is closed even when closing | Serhiy Storchaka | 2015-03-24 | 1 | -4/+10 |
|\ \ | |/ | | | | | writer failed in BufferedRWPair.close(). |