Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.6] bpo-32964: Reuse a testing implementation of the path protocol in ↵ | Serhiy Storchaka | 2018-03-03 | 1 | -11/+14 |
| | | | | | | | tests. (GH-5930). (GH-5958) (cherry picked from commit b21d155f57d284aecf9092a9bd24258293965c2f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | [3.6] bpo-32228: Reset raw_pos after unwinding the raw stream (GH-4858) (#5389) | Antoine Pitrou | 2018-01-28 | 1 | -0/+17 |
| | | | | | Ensure that ``truncate()`` preserves the file position (as reported by ``tell()``) after writes longer than the buffer size.. (cherry picked from commit 059f58ce938d9c3f0286412a4efb1b9131339421) | ||||
* | [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) ↵ | Andrew Svetlov | 2017-12-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | (#4864) * [3.6] bpo-32297: Few misspellings found in Python source code comments. (GH-4803) * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py. (cherry picked from commit 53f7a7c2814fbfd8a29200926601a32fa48bacb3) | ||||
* | bpo-22671: Clarify and test default read method implementations (GH-4568) ↵ | Miss Islington (bot) | 2017-12-11 | 1 | -2/+51 |
| | | | | | | (#4796) Original patch written by Martin Panter, enhanced by Sanyam Khurana. (cherry picked from commit 1b74f9b77a6fa1d7828986cb79d5b10942ff9141) | ||||
* | [3.6] bpo-31243: Fixed PyArg_ParseTuple failure checks. (GH-3171) (#3233) | Oren Milman | 2017-08-29 | 1 | -0/+20 |
| | | | (cherry picked from commit ba7d7365215d791025d1efd25393c91404f2cfc8) | ||||
* | [3.6] bpo-31271: Fix an assertion failure in io.TextIOWrapper.write. ↵ | Oren Milman | 2017-08-26 | 1 | -0/+8 |
| | | | | | (GH-3201) (#3209) (cherry picked from commit a5b4ea15b61e3f3985f4f0748a18f8b888a63532) | ||||
* | [3.6] bpo-28261: Prevent raising SystemError where PyArg_ParseTuple is used ↵ | Oren Milman | 2017-08-26 | 1 | -0/+1 |
| | | | | to parse non-args. (#3210) | ||||
* | bpo-30107: don't dump core on expected test_io crash (#1235) (#1241) | Victor Stinner | 2017-04-21 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | test_io has two unit tests which trigger a deadlock: * test_daemon_threads_shutdown_stdout_deadlock() * test_daemon_threads_shutdown_stderr_deadlock() These tests call Py_FatalError() if the expected bug is triggered which calls abort(). Use test.support.SuppressCrashReport to prevent the creation on a core dump, to fix the warning: Warning -- files was modified by test_io Before: [] After: ['python.core'] (cherry picked from commit 2a1aed04b0943636f605543522e16cca1dc23e70) | ||||
* | bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() ↵ | Serhiy Storchaka | 2017-04-19 | 1 | -0/+16 |
| | | | | | | | (#1096) (#1180) raised an error. (cherry picked from commit bf623ae8843dc30b28c574bec8d29fc14be59d86) | ||||
* | bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is ↵ | Xiang Zhang | 2017-04-15 | 1 | -0/+1 |
| | | | | present (#1130) (#1150) | ||||
* | bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. ↵ | Serhiy Storchaka | 2017-03-19 | 1 | -0/+20 |
| | | | | | (#514) (#722) (cherry picked from commit a5af6e1af77ee0f9294c5776478a9c24d9fbab94) | ||||
* | Issue #26926: Skip some test_io tests on platforms without large file support | Xavier de Gaye | 2016-11-17 | 1 | -1/+4 |
| | |||||
* | Use sequence repetition instead of bytes constructor with integer argument. | Serhiy Storchaka | 2016-09-11 | 1 | -1/+1 |
| | |||||
* | Fixes expected error when getting encoding while shutting down. | Steve Dower | 2016-09-09 | 1 | -1/+1 |
| | |||||
* | Fix expected error message in PyTextIOWrapperTest | Steve Dower | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | Issue #27959: Prevent ImportError from escaping codec search function | Steve Dower | 2016-09-07 | 1 | -2/+1 |
| | |||||
* | new and exciting shutdown error on windows | Benjamin Peterson | 2016-09-07 | 1 | -1/+2 |
| | |||||
* | Issue #19527: Fixed tests with defined COUNT_ALLOCS. | Serhiy Storchaka | 2016-07-03 | 1 | -0/+2 |
|\ | |||||
| * | Issue #19527: Fixed tests with defined COUNT_ALLOCS. | Serhiy Storchaka | 2016-07-03 | 1 | -0/+2 |
| | | |||||
* | | Issue #27186: Update os.fspath()/PyOS_FSPath() to check the return | Brett Cannon | 2016-06-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | type of __fspath__(). As part of this change, also make sure that the pure Python implementation of os.fspath() is tested. | ||||
* | | Issue #27066: Fixed SystemError if a custom opener (for open()) returns a | Barry Warsaw | 2016-06-08 | 1 | -0/+16 |
|\ \ | |/ | | | | | negative number without setting an exception. | ||||
| * | Issue #27066: Fixed SystemError if a custom opener (for open()) returns | Barry Warsaw | 2016-06-08 | 1 | -0/+16 |
| | | | | | | | | a negative number without setting an exception. | ||||
* | | issue27186: add open/io.open; patch by Jelle Zijlstra | Ethan Furman | 2016-06-04 | 1 | -0/+26 |
| | | |||||
* | | Issue #20699: Merge io bytes-like fixes from 3.5 | Martin Panter | 2016-05-28 | 1 | -14/+64 |
|\ \ | |/ | |||||
| * | Issue #20699: Document that “io” methods accept bytes-like objects | Martin Panter | 2016-05-28 | 1 | -14/+64 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Issue #22854: Merge test fix from 3.5 | Martin Panter | 2016-03-31 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #22854: Fix logic for skipping test | Martin Panter | 2016-03-31 | 1 | -1/+1 |
| | | |||||
* | | Issue #22854: Merge Windows pipe skipping from 3.5 | Martin Panter | 2016-03-31 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | Issue #22854: Skip pipe seek tests on Windows | Martin Panter | 2016-03-31 | 1 | -2/+7 |
| | | |||||
* | | Issue #22854: Skip pipe seekable() tests on Windows | Martin Panter | 2016-03-31 | 1 | -1/+6 |
| | | |||||
* | | Issue #22854: Merge UnsupportedOperation fixes from 3.5 | Martin Panter | 2016-03-31 | 1 | -11/+105 |
|\ \ | |/ | |||||
| * | Issue #22854: Clarify documentation about UnsupportedOperation and add tests | Martin Panter | 2016-03-31 | 1 | -11/+105 |
| | | | | | | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False. | ||||
* | | test_io: ignore DeprecationWarning on bytes path on Windows | Victor Stinner | 2016-03-25 | 1 | -1/+5 |
| | | |||||
* | | Issue #26637: Fix test_io | Victor Stinner | 2016-03-25 | 1 | -2/+1 |
|/ | | | | | The import machinery now raises a different exception when it fails at Python shutdown. | ||||
* | Issue #26325: Added test.support.check_no_resource_warning() to check that | Serhiy Storchaka | 2016-02-11 | 1 | -9/+3 |
| | | | | no ResourceWarning is emitted. | ||||
* | Issue #25523: Merge a-to-an corrections from 3.4. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25523: Further a-to-an corrections. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #20557: Use specific asserts in io tests. | Serhiy Storchaka | 2015-08-02 | 1 | -10/+10 |
|\ \ | |/ | |||||
| * | Issue #20557: Use specific asserts in io tests. | Serhiy Storchaka | 2015-08-02 | 1 | -10/+10 |
| | | |||||
| * | Issue #23796: peak and read1 methods of BufferedReader now raise ValueError | Berker Peksag | 2015-05-12 | 1 | -0/+8 |
| | | | | | | | | | | | | if they called on a closed object. Patch by John Hergenroeder. | ||||
| * | Backported tests from issue #20175. | Serhiy Storchaka | 2015-04-16 | 1 | -0/+11 |
| | | |||||
* | | Issue #9858: Add missing method stubs to _io.RawIOBase. Patch by Laura ↵ | Antoine Pitrou | 2015-05-20 | 1 | -2/+2 |
| | | | | | | | | Rupprecht. | ||||
* | | Issue #23796: peak and read1 methods of BufferedReader now raise ValueError | Berker Peksag | 2015-05-12 | 1 | -0/+8 |
| | | | | | | | | | | | | if they called on a closed object. Patch by John Hergenroeder. | ||||
* | | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -1/+1 |
| | | | | | | | | Patch by Christie Wilson. | ||||
* | | Issue #20175: Converted the _io module to Argument Clinic. | Serhiy Storchaka | 2015-04-16 | 1 | -2/+11 |
| | | |||||
* | | issue9859: Use an expected failure rather than a skip. | Gregory P. Smith | 2015-04-14 | 1 | -1/+1 |
| | | |||||
* | | issue9859: rename CPyMatchTest to APIMismatchTest and add @support.cpython_only. | Gregory P. Smith | 2015-04-14 | 1 | -2/+3 |
| | | |||||
* | | issue9859: Adds a CPyMatchTest test case to compare the exposed APIs | Gregory P. Smith | 2015-04-14 | 1 | -1/+15 |
| | | | | | | | | | | of the Python io module and the C io module. They do not currently match so the failing test is marked with @unittest.skip. | ||||
* | | Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵ | Antoine Pitrou | 2015-04-13 | 1 | -0/+13 |
|\ \ | |/ | | | | | writable text file. | ||||
| * | Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵ | Antoine Pitrou | 2015-04-13 | 1 | -0/+13 |
| | | | | | | | | writable text file. |