Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19527: Fixed tests with defined COUNT_ALLOCS. | Serhiy Storchaka | 2016-07-03 | 1 | -0/+2 |
| | |||||
* | 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. | ||||
* | 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: Fix logic for skipping test | Martin Panter | 2016-03-31 | 1 | -1/+1 |
| | |||||
* | Issue #22854: Skip pipe seek tests on Windows | Martin Panter | 2016-03-31 | 1 | -2/+7 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | | Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted | Antoine Pitrou | 2015-04-13 | 1 | -1/+44 |
|\ \ | |/ | | | | | | | | | 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/+44 |
| | | | | | | | | | | | | 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 #23799: Added test.support.start_threads() for running and cleaning up | Serhiy Storchaka | 2015-04-01 | 1 | -18/+8 |
|\ \ | |/ | | | | | multiple threads. | ||||
| * | Issue #23799: Added test.support.start_threads() for running and cleaning up | Serhiy Storchaka | 2015-04-01 | 1 | -20/+10 |
| | | | | | | | | multiple threads. | ||||
* | | Make some tests more frienly to MemoryError. | Serhiy Storchaka | 2015-03-28 | 1 | -4/+10 |
|\ \ | |/ | | | | | Free memory, unlock hanging threads. | ||||
| * | Make some tests more frienly to MemoryError. | Serhiy Storchaka | 2015-03-28 | 1 | -4/+11 |
| | | | | | | | | Free memory, unlock hanging threads. | ||||
* | | Issue #21802: The reader in BufferedRWPair now is closed even when closing | Serhiy Storchaka | 2015-03-24 | 1 | -0/+47 |
|\ \ | |/ | | | | | writer failed in BufferedRWPair.close(). | ||||
| * | Issue #21802: The reader in BufferedRWPair now is closed even when closing | Serhiy Storchaka | 2015-03-24 | 1 | -0/+47 |
| | | | | | | | | writer failed in BufferedRWPair.close(). | ||||
* | | Issue #23680: Reduce risk of race condition in check_interrupted_write() of | Victor Stinner | 2015-03-16 | 1 | -2/+2 |
| | | | | | | | | | | | | test_io. Allocate the large data before scheduling an alarm in 1 second. On very slow computer, the alarm rings sometimes during the memory allocation. | ||||
* | | Issue #23680: Reduce risk of race condition in check_interrupted_write_retry() | Victor Stinner | 2015-03-16 | 1 | -1/+8 |
| | | | | | | | | | | | | of test_io. Allocate the large data before scheduling an alarm in 1 second. On very slow computer, the alarm rings sometimes during the memory allocation. | ||||
* | | Broke reference loops in tests added in issue #5700. | Serhiy Storchaka | 2015-02-22 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Broke reference loops in tests added in issue #5700. | Serhiy Storchaka | 2015-02-22 | 1 | -0/+3 |
| | | |||||
* | | Issue #5700: io.FileIO() called flush() after closing the file. | Serhiy Storchaka | 2015-02-20 | 1 | -2/+48 |
|\ \ | |/ | | | | | flush() was not called in close() if closefd=False. | ||||
| * | Issue #5700: io.FileIO() called flush() after closing the file. | Serhiy Storchaka | 2015-02-20 | 1 | -2/+48 |
| | | | | | | | | flush() was not called in close() if closefd=False. | ||||
* | | merge 3.4 (#23093) | Benjamin Peterson | 2014-12-22 | 1 | -0/+14 |
|\ \ | |/ | |||||
| * | allow more operations to work on detached streams (closes #23093) | Benjamin Peterson | 2014-12-22 | 1 | -0/+14 |
| | | | | | | | | Patch by Martin Panter. | ||||
* | | add space | Benjamin Peterson | 2014-11-12 | 1 | -0/+1 |
| | | |||||
* | | merge 3.4 (#22849) | Benjamin Peterson | 2014-11-12 | 1 | -0/+16 |
|\ \ | |/ | |||||
| * | fix possible double free in TextIOWrapper.__init__ (closes #22849) | Benjamin Peterson | 2014-11-12 | 1 | -0/+15 |
| | | |||||
* | | merge 3.4 (#22517) | Benjamin Peterson | 2014-09-30 | 1 | -0/+6 |
|\ \ | |/ | |||||
| * | merge 3.3 (#22517) | Benjamin Peterson | 2014-09-30 | 1 | -0/+6 |
| |\ | |||||
| | * | clear BufferedRWPair weakrefs on deallocation (closes #22517) | Benjamin Peterson | 2014-09-30 | 1 | -0/+6 |
| | | | |||||
| | * | Issue #20404: reject non-text encodings early in TextIOWrapper. | Georg Brandl | 2014-03-02 | 1 | -6/+24 |
| | | | |||||
* | | | Issue #22215: Now ValueError is raised instead of TypeError when str or bytes | Serhiy Storchaka | 2014-09-06 | 1 | -2/+2 |
| | | | | | | | | | | | | argument contains not permitted null character or byte. | ||||
* | | | (Merge 3.4) Issue #22331: Skip test_interrupted_write_text() on FreeBSD older | Victor Stinner | 2014-09-03 | 1 | -0/+2 |
|\ \ \ | |/ / | | | | | | | than 8.0 | ||||
| * | | Issue #22331: Skip test_interrupted_write_text() on FreeBSD older than 8.0 | Victor Stinner | 2014-09-03 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get and | Victor Stinner | 2014-07-29 | 1 | -14/+4 |
| | | | | | | | | | | | | | | | set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is set, True otherwise). These functions are not available on Windows. | ||||
* | | | Issue #22032: __qualname__ instead of __name__ is now always used to format | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | fully qualified class names of Python implemented classes. |