Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | allow more operations to work on detached streams (closes #23093) | Benjamin Peterson | 2014-12-22 | 1 | -0/+14 |
| | | | | Patch by Martin Panter. | ||||
* | fix possible double free in TextIOWrapper.__init__ (closes #22849) | Benjamin Peterson | 2014-11-12 | 1 | -0/+15 |
| | |||||
* | 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 #22331: Skip test_interrupted_write_text() on FreeBSD older than 8.0 | Victor Stinner | 2014-09-03 | 1 | -0/+2 |
| | | |||||
* | | 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 #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 #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. | ||||
* | | #17479: merge with 3.3. | Ezio Melotti | 2013-03-23 | 1 | -3/+4 |
|\ \ | |/ | |||||
| * | #17479: test_io now works with unittest test discovery. Patch by Zachary Ware. | Ezio Melotti | 2013-03-23 | 1 | -3/+4 |
| | | |||||
* | | Merge #17275: Fix class name in init errors in C bufferedio classes. | R David Murray | 2013-02-24 | 1 | -0/+18 |
|\ \ | |/ | | | | | | | | | This fixes an apparent copy-and-paste error. Patch by Manuel Jacob. | ||||
| * | Merge #17275: Fix class name in init errors in C bufferedio classes. | R David Murray | 2013-02-24 | 1 | -0/+18 |
| |\ | | | | | | | | | | | | | | | | This fixes an apparent copy-and-paste error. Patch by Manuel Jacob. | ||||
| | * | #17275: Fix class name in init errors in C bufferedio classes. | R David Murray | 2013-02-24 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | This fixes an apparent copy-and-paste error. Patch by Manuel Jacob. | ||||
* | | | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying | Serhiy Storchaka | 2013-02-03 | 1 | -0/+24 |
|\ \ \ | |/ / | | | | | | | | | | stream or a decoder produces data of an unexpected type (i.e. when io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec). | ||||
| * | | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying | Serhiy Storchaka | 2013-02-03 | 1 | -0/+24 |
| |\ \ | | |/ | | | | | | | | | | stream or a decoder produces data of an unexpected type (i.e. when io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec). | ||||
| | * | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying | Serhiy Storchaka | 2013-02-03 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | stream or a decoder produces data of an unexpected type (i.e. when io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec). | ||||
| * | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 1 | -0/+9 |
| |\ \ | | |/ | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| | * | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
* | | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-14 | 1 | -0/+9 |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. | ||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -26/+26 |
| | | | |||||
* | | | merge 3.3 (#16597) | Benjamin Peterson | 2012-12-20 | 1 | -0/+28 |
|\ \ \ | |/ / | |||||
| * | | call close on the underlying stream even if flush raises (closes #16597) | Benjamin Peterson | 2012-12-20 | 1 | -0/+28 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | Get rig of EnvironmentError (#16705) | Andrew Svetlov | 2012-12-17 | 1 | -1/+1 |
| | | | |||||
* | | | Merge for issue #15744: add tests for the writelines() method of file objects. | Antoine Pitrou | 2012-10-16 | 1 | -1/+46 |
|\ \ \ | |/ / | |||||
| * | | Merge for issue #15744: add tests for the writelines() method of file objects. | Antoine Pitrou | 2012-10-16 | 1 | -1/+46 |
| |\ \ | | |/ | |||||
| | * | Also add tests for TextIOWrapper.writelines() (issue #15744). | Antoine Pitrou | 2012-10-16 | 1 | -0/+22 |
| | | | |||||
| | * | Add tests for the writelines() method of file objects. | Antoine Pitrou | 2012-10-16 | 1 | -1/+24 |
| | | | | | | | | | | | | Original patch by Felipe Cruz. | ||||
* | | | Closes #15488: Closed files keep their buffer alive | Jesus Cea | 2012-10-04 | 1 | -0/+8 |
|/ / | |||||
* | | Added test for 85cb90f79cbf and see how the code handles all flags at once | Christian Heimes | 2012-09-10 | 1 | -0/+5 |
| | | |||||
* | | Issue #15487: Add a __sizeof__ implementation for buffered I/O objects. | Antoine Pitrou | 2012-07-29 | 1 | -3/+17 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #15487: Add a __sizeof__ implementation for buffered I/O objects. | Antoine Pitrou | 2012-07-29 | 1 | -3/+17 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Issue #13248: io: Remove obsolete argument "max_buffer_size" of ↵ | Florent Xicluna | 2012-07-07 | 1 | -6/+4 |
| | | | | | | | | BufferedWriter and BufferedRWPair. | ||||
* | | Backout change e8f44ebacda7052267318cecf5b6f128d35add17. Reverting the test | Gregory P. Smith | 2012-06-25 | 1 | -5/+5 |
|\ \ | |/ | | | | | | | | | | | | | to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1). This is an attempt to see if this change is what caused the ubuntu arm buildbot to hang in test_io's test_interrupted_write_retry_text. Discussion in Issue #12268. |