summaryrefslogtreecommitdiff
path: root/Modules/_io
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator whenSerhiy Storchaka2016-11-031-12/+5
| |\ \ | | |/ | | | | | | | | | the garbage collector is invoked in other thread. Based on patch by Sebastian Cufre.
| | * Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator whenSerhiy Storchaka2016-11-031-12/+5
| | | | | | | | | | | | | | | the garbage collector is invoked in other thread. Based on patch by Sebastian Cufre.
* | | Issue #23214: Implement optional BufferedReader, BytesIO read1() argumentMartin Panter2016-10-204-18/+37
|/ /
* | Issue #28162: Fixes Ctrl+Z handling in console readall()Steve Dower2016-10-081-20/+29
| |
* | Issue #28217: Adds _testconsole module to test console input. Fixes some ↵Steve Dower2016-10-032-12/+45
| | | | | | | | issues found by the tests.
* | Issue #28277: remove linefeed character from iomodule.h. Patch by Michael FeltChristian Heimes2016-09-261-1/+1
| |
* | merge 3.5 (#28184)Benjamin Peterson2016-09-191-6/+6
|\ \ | |/
| * Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
| |
* | Issue #28161: Opening CON for write access failsSteve Dower2016-09-171-14/+31
| | | | | | | | | | | | Issue #28162: WindowsConsoleIO readall() fails if first line starts with Ctrl+Z Issue #28163: WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle Issue #28164: _PyIO_get_console_type fails for various paths
* | Issue #27810: Regenerate Argument Clinic.Serhiy Storchaka2016-09-112-8/+8
| |
* | Issue #1602: Windows console doesn't input or print Unicode (PEP 528)Steve Dower2016-08-304-3/+1458
| | | | | | | | Closes #17602: Adds a readline implementation for the Windows console
* | Issue #23524: Finish removing _PyVerify_fd from sourcesSteve Dower2016-09-081-26/+13
| |
* | more PY_LONG_LONG to long longBenjamin Peterson2016-09-082-9/+9
| |
* | require a long long data type (closes #27961)Benjamin Peterson2016-09-051-1/+1
| |
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
| |
* | Issue #27574: Decreased an overhead of parsing keyword arguments in functionsSerhiy Storchaka2016-08-146-26/+36
| | | | | | | | implemented with using Argument Clinic.
* | - Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-072-5/+5
|\ \ | |/ | | | | generated by Argument Clinic. Patch by Petr Viktorin.
| * Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-072-5/+5
| | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin.
| * Fix a comment.Barry Warsaw2016-06-081-1/+2
| |
* | Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7.Serhiy Storchaka2016-06-097-61/+115
| |
* | Issue #27066: Fixed SystemError if a custom opener (for open()) returns aBarry Warsaw2016-06-081-1/+7
|\ \ | |/ | | | | negative number without setting an exception.
| * Issue #27066: Fixed SystemError if a custom opener (for open()) returnsBarry Warsaw2016-06-081-1/+6
| | | | | | | | a negative number without setting an exception.
* | issue27186: add open/io.open; patch by Jelle ZijlstraEthan Furman2016-06-041-16/+32
| |
* | Issue #20699: Merge io bytes-like fixes from 3.5Martin Panter2016-05-286-12/+13
|\ \ | |/
| * Issue #20699: Document that “io” methods accept bytes-like objectsMartin Panter2016-05-286-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.
* | Merge doc and comment fixes from 3.5Martin Panter2016-04-191-2/+2
|\ \ | |/
| * Fix spelling (inital), grammar (may translates) in documentation, commentsMartin Panter2016-04-191-2/+2
| |
* | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and errorSerhiy Storchaka2016-04-172-2/+2
|\ \ | |/ | | | | messages.
* | Merge typo fixes from 3.5Martin Panter2016-04-162-4/+4
|\ \ | |/
| * Fix typos in code comments and documentationMartin Panter2016-04-162-4/+4
| |
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka2016-04-101-1/+1
|\ \ | |/ | | | | in places where Py_DECREF was used.
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-063-10/+10
|\ \ | |/
| * Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-063-9/+9
| |
* | Issue #22854: Merge UnsupportedOperation fixes from 3.5Martin Panter2016-03-313-15/+13
|\ \ | |/
| * Issue #22854: Clarify documentation about UnsupportedOperation and add testsMartin Panter2016-03-313-15/+13
| | | | | | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False.
* | cleanup iobase.cVictor Stinner2016-03-191-1/+1
| | | | | | | | casting iobase_finalize to destructor is not needed
* | On ResourceWarning, log traceback where the object was allocatedVictor Stinner2016-03-191-2/+1
| | | | | | | | | | | | | | | | | | | | Issue #26567: * Add a new function PyErr_ResourceWarning() function to pass the destroyed object * Add a source attribute to warnings.WarningMessage * Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where source object was allocated.
* | Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR.Serhiy Storchaka2015-12-271-4/+2
| | | | | | | | | | Old code is correct, but with Py_SETREF and Py_CLEAR it can be cleaner. This patch doesn't fix bugs and hence there is no need to backport it.
* | Issue #20440: Applied yet one patch for using Py_SETREF.Serhiy Storchaka2015-12-272-16/+8
|\ \ | |/ | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR.
| * Issue #20440: Applied yet one patch for using Py_SETREF.Serhiy Storchaka2015-12-272-16/+8
| | | | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR.
* | Issue #25923: Added more const qualifiers to signatures of static and ↵Serhiy Storchaka2015-12-254-14/+14
| | | | | | | | private functions.
* | Issue #25923: Added the const qualifier to static constant arrays.Serhiy Storchaka2015-12-251-2/+2
| |
* | Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka2015-12-241-2/+1
|\ \ | |/ | | | | macro Py_SETREF.
| * Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka2015-12-241-2/+1
| | | | | | | | macro Py_SETREF.
* | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-192-2/+2
|\ \ | |/ | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
| * Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-192-2/+2
| | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
* | Issue #25717: Merge comment from 3.5Martin Panter2015-12-061-0/+3
|\ \ | |/
| * Issue #25717: Add comment explaining why errors are ignoredMartin Panter2015-12-061-0/+3
| |
* | Issue #25717: Merge fstat() fix from 3.5Martin Panter2015-12-061-12/+27
|\ \ | |/
| * Issue #25717: Tolerate fstat() failures in the FileIO constructorMartin Panter2015-12-061-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.