Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | | add BufferedIOBase.readinto1 (closes #20578) | Benjamin Peterson | 2014-06-22 | 1 | -0/+67 |
| | | | | | | | | | | | | Patch by Nikolaus Rath. | ||||
* | | | Issue #21310: Fixed possible resource leak in failed open(). | Serhiy Storchaka | 2014-06-09 | 1 | -0/+14 |
|\ \ \ | |/ / | |||||
| * | | Issue #21310: Fixed possible resource leak in failed open(). | Serhiy Storchaka | 2014-06-09 | 1 | -0/+14 |
| | | | |||||
* | | | Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods. | Serhiy Storchaka | 2014-06-09 | 1 | -0/+51 |
|\ \ \ | |/ / | |||||
| * | | Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods. | Serhiy Storchaka | 2014-06-09 | 1 | -0/+51 |
| | | | |||||
* | | | backout 0fb7789b5eeb for test breakage (#20578) | Benjamin Peterson | 2014-06-08 | 1 | -25/+0 |
| | | | |||||
* | | | add BufferedIOBase.readinto1 (closes #20578) | Benjamin Peterson | 2014-06-08 | 1 | -0/+25 |
| | | | | | | | | | | | | Patch by Nikolaus Rath. | ||||
* | | | Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵ | Antoine Pitrou | 2014-05-08 | 1 | -0/+32 |
|\ \ \ | |/ / | | | | | | | | | | | | | flush() on the underlying binary stream. Patch by akira. | ||||
| * | | Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵ | Antoine Pitrou | 2014-05-08 | 1 | -0/+32 |
| | | | | | | | | | | | | | | | | | | flush() on the underlying binary stream. Patch by akira. | ||||
* | | | Issue #21057: TextIOWrapper now allows the underlying binary stream's read() ↵ | Antoine Pitrou | 2014-04-29 | 1 | -0/+28 |
|/ / | | | | | | | | | | | or read1() method to return an arbitrary bytes-like object (such as a memoryview). Patch by Nikolaus Rath. | ||||
* | | Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair. | Serhiy Storchaka | 2014-02-12 | 1 | -0/+38 |
|\ \ | |/ | | | | | Based on patch by Stephen Tu. | ||||
| * | Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair. | Serhiy Storchaka | 2014-02-12 | 1 | -0/+38 |
| | | | | | | | | Based on patch by Stephen Tu. | ||||
* | | Temporary silence test broken by issue19255. | Serhiy Storchaka | 2014-02-10 | 1 | -1/+2 |
| | | | | | | | | Remove unused variables. | ||||
* | | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -2/+3 |
| | | |||||
* | | Close #20404: blacklist non-text encodings in io.TextIOWrapper | Nick Coghlan | 2014-02-04 | 1 | -8/+25 |
| | | | | | | | | | | | | | | | | | | - io.TextIOWrapper (and hence the open() builtin) now use the internal codec marking system added for issue #19619 - also tweaked the C code to only look up the encoding once, rather than multiple times - the existing output type checks remain in place to deal with unmarked third party codecs. | ||||
* | | Issue #20037: Avoid crashes when doing text I/O late at interpreter shutdown. | Antoine Pitrou | 2013-12-21 | 1 | -1/+40 |
| | | |||||
* | | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -8/+4 |
|\ \ | |/ | |||||
| * | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -8/+4 |
| | | |||||
* | | Issue #15204: Silence and check the 'U' mode deprecation warnings in tests. | Serhiy Storchaka | 2013-11-24 | 1 | -1/+2 |
| | | | | | | | | Changed deprecation message in the fileinput module. | ||||
* | | Issue #18112: PEP 442 implementation (safe object finalization). | Antoine Pitrou | 2013-07-30 | 1 | -21/+24 |
| | | |||||
* | | test_io: check_interrupted_write() now cancels the alarm if ZeroDivisionError | Victor Stinner | 2013-07-15 | 1 | -3/+6 |
| | | | | | | | | | | | | exception was not raised. Before the process was killed by SIGALRM in another random test (1 second later) | ||||
* | | Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw | Serhiy Storchaka | 2013-05-28 | 1 | -0/+9 |
|\ \ | |/ | | | | | stream's read() returns more bytes than requested. | ||||
| * | Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw | Serhiy Storchaka | 2013-05-28 | 1 | -0/+9 |
| | | | | | | | | stream's read() returns more bytes than requested. | ||||
* | | Issue #17835: Fix test_io when the default OS pipe buffer size is larger ↵ | Antoine Pitrou | 2013-04-24 | 1 | -2/+2 |
|\ \ | |/ | | | | | than one million bytes. | ||||
| * | Issue #17835: Fix test_io when the default OS pipe buffer size is larger ↵ | Antoine Pitrou | 2013-04-24 | 1 | -2/+2 |
| | | | | | | | | than one million bytes. |