Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40275: Use new test.support helper submodules in tests (GH-21314) | Hai Shi | 2020-07-06 | 1 | -2/+3 |
| | |||||
* | bpo-36842: Implement PEP 578 (GH-12613) | Steve Dower | 2019-05-23 | 1 | -0/+23 |
| | | | Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs. | ||||
* | bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514) | Serhiy Storchaka | 2017-03-19 | 1 | -1/+7 |
| | |||||
* | Issue #29409: Implement PEP 529 for io.FileIO (Patch by Eryk Sun) | Steve Dower | 2017-02-04 | 1 | -1/+19 |
| | |||||
* | Issue #28016: Skip /dev/tty seekable() test on AIX | Martin Panter | 2016-11-14 | 1 | -1/+1 |
| | |||||
* | Issue #20557: Use specific asserts in io tests. | Serhiy Storchaka | 2015-08-02 | 1 | -3/+3 |
|\ | |||||
| * | Issue #20557: Use specific asserts in io tests. | Serhiy Storchaka | 2015-08-02 | 1 | -3/+3 |
| | | |||||
| * | Backported tests from issue #20175. | Serhiy Storchaka | 2015-04-16 | 1 | -3/+12 |
| | | |||||
* | | Issue #20175: Converted the _io module to Argument Clinic. | Serhiy Storchaka | 2015-04-16 | 1 | -5/+11 |
| | | |||||
* | | Issue #21859: Added Python implementation of io.FileIO. | Serhiy Storchaka | 2015-04-10 | 1 | -58/+122 |
| | | |||||
* | | Issue #17401: Output the closefd attribute as boolean. | Serhiy Storchaka | 2014-12-02 | 1 | -4/+14 |
| | | |||||
* | | Issue #17401: document closefd in io.FileIO docs and add to repr | Robert Collins | 2014-10-18 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | | | closefd was documented in the open docs but not the matching FileIO class documented. Further, closefd, part of the core state for the object was not shown. In review it was noted that the open docs are a little confusing about the interaction between closefd and paths, so tweaked them at the same time. | ||||
* | | 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. | ||||
* | | Issue #21679: Prevent extraneous fstat() calls during open(). Patch by ↵ | Antoine Pitrou | 2014-06-30 | 1 | -1/+10 |
|/ | | | | Bohuslav Kabrda. | ||||
* | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -2/+5 |
|\ | |||||
| * | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -2/+5 |
| | | |||||
* | | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -2/+1 |
| | | |||||
* | | Issue #18876: The FileIO.mode attribute now better reflects the actual mode ↵ | Antoine Pitrou | 2013-09-04 | 1 | -1/+16 |
|\ \ | |/ | | | | | | | | | under which the file was opened. Patch by Erik Bray. | ||||
| * | Issue #18876: The FileIO.mode attribute now better reflects the actual mode ↵ | Antoine Pitrou | 2013-09-04 | 1 | -1/+16 |
| | | | | | | | | | | | | under which the file was opened. Patch by Erik Bray. | ||||
| * | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 1 | -0/+4 |
| |\ | | | | | | | | | | | | | | | | 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/+4 |
| | | | | | | | | | | | | | | | | | | 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/+4 |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. | ||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -9/+9 |
| | | | |||||
* | | | 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 | -0/+22 |
|\ \ | |/ | |||||
| * | Add tests for the writelines() method of file objects. | Antoine Pitrou | 2012-10-16 | 1 | -0/+22 |
| | | | | | | | | Original patch by Felipe Cruz. | ||||
* | | Issue #15247: FileIO now raises an error when given a file descriptor ↵ | Antoine Pitrou | 2012-07-06 | 1 | -0/+8 |
|\ \ | |/ | | | | | pointing to a directory. | ||||
| * | Issue #15247: FileIO now raises an error when given a file descriptor ↵ | Antoine Pitrou | 2012-07-06 | 1 | -0/+8 |
| | | | | | | | | pointing to a directory. | ||||
* | | #10053: Don't close FDs when FileIO.__init__ fails | Hynek Schlawack | 2012-06-21 | 1 | -0/+11 |
|\ \ | |/ | | | | | Loosely based on the work by Hirokazu Yamamoto. | ||||
| * | #10053: Don't close FDs when FileIO.__init__ fails | Hynek Schlawack | 2012-06-21 | 1 | -0/+11 |
| | | | | | | | | Loosely based on the work by Hirokazu Yamamoto. | ||||
* | | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵ | Antoine Pitrou | 2012-01-29 | 1 | -0/+5 |
|\ \ | |/ | | | | | | | | | in the file name. Patch by Hynek Schlawack. | ||||
| * | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵ | Antoine Pitrou | 2012-01-29 | 1 | -0/+5 |
| | | | | | | | | | | | | in the file name. Patch by Hynek Schlawack. | ||||
* | | use io.SEEK_* constants instead of os.SEEK_* where an IO stream is seeked, ↵ | Eli Bendersky | 2012-01-03 | 1 | -2/+3 |
|/ | | | | leaving the os.SEEK_* constants only for os.lseek, as documented | ||||
* | #9424: Replace deprecated assert* methods in the Python test suite. | Ezio Melotti | 2010-11-20 | 1 | -29/+29 |
| | |||||
* | Fix ResourceWarning about unclosed file | Brian Curtin | 2010-10-30 | 1 | -1/+0 |
| | |||||
* | Issue #10253: FileIO leaks a file descriptor when trying to open a file | Antoine Pitrou | 2010-10-30 | 1 | -0/+1 |
| | | | | for append that isn't seekable. Patch by Brian Brazil. | ||||
* | Issue #8734: Avoid crash in msvcrt.get_osfhandle() when an invalid file | Antoine Pitrou | 2010-09-04 | 1 | -0/+3 |
| | | | | descriptor is provided. Patch by Pascal Chambon. | ||||
* | Merged revisions 79024 via svnmerge from | Ezio Melotti | 2010-03-18 | 1 | -1/+1 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79024 | ezio.melotti | 2010-03-17 16:22:34 +0200 (Wed, 17 Mar 2010) | 1 line Use "x in y" instead of y.find(x) != -1. ........ | ||||
* | Merged revisions 78093 via svnmerge from | Georg Brandl | 2010-03-14 | 1 | -3/+1 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........ | ||||
* | Only the parts which are relevant for 3.x branch. | Florent Xicluna | 2010-03-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 78757-78758,78769,78815 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78757 | florent.xicluna | 2010-03-07 13:14:25 +0100 (dim, 07 mar 2010) | 2 lines Fix some py3k warnings in the standard library. ........ r78758 | florent.xicluna | 2010-03-07 13:18:33 +0100 (dim, 07 mar 2010) | 4 lines Issue #7849: Now the utility ``check_warnings`` verifies if the warnings are effectively raised. A new utility ``check_py3k_warnings`` deals with py3k warnings. ........ r78769 | florent.xicluna | 2010-03-07 20:14:12 +0100 (dim, 07 mar 2010) | 2 lines Refresh the documentation for the test.test_support module. ........ r78815 | florent.xicluna | 2010-03-09 20:57:01 +0100 (mar, 09 mar 2010) | 2 lines #7772: Fix test_py3kwarn. Now the test suite could pass with "-3" flag. ........ | ||||
* | Merged revisions 77890 via svnmerge from | Antoine Pitrou | 2010-01-31 | 1 | -0/+11 |
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77890 | antoine.pitrou | 2010-01-31 23:26:04 +0100 (dim., 31 janv. 2010) | 7 lines - Issue #6939: Fix file I/O objects in the `io` module to keep the original file position when calling `truncate()`. It would previously change the file position to the given argument, which goes against the tradition of ftruncate() and other truncation APIs. Patch by Pascal Chambon. ........ | ||||
* | don't accept bytes in FileIO.write #7785 | Benjamin Peterson | 2010-01-27 | 1 | -1/+4 |
| | |||||
* | Merged revisions 76805 via svnmerge from | Benjamin Peterson | 2009-12-13 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76805 | benjamin.peterson | 2009-12-13 13:19:07 -0600 (Sun, 13 Dec 2009) | 7 lines accept None as the same as having passed no argument in file types #7349 This is for consistency with imitation file objects like StringIO and BytesIO. This commit also adds a few tests, where they were lacking for concerned methods. ........ | ||||
* | Remove AtheOS support, as per PEP 11 (which claims that all code was removed ↵ | Antoine Pitrou | 2009-10-24 | 1 | -2/+0 |
| | | | | in Python 3.0). | ||||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 | 1 | -6/+6 |
| | |||||
* | Issue #5761: Add the name of the underlying file to the repr() of various IO ↵ | Antoine Pitrou | 2009-05-23 | 1 | -3/+7 |
| | | | | objects. | ||||
* | Merged revisions 72859 via svnmerge from | Antoine Pitrou | 2009-05-23 | 1 | -1/+1 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72859 | antoine.pitrou | 2009-05-23 18:32:32 +0200 (sam., 23 mai 2009) | 3 lines Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSD ........ | ||||
* | http://bugs.python.org/issue5544 | Kristján Valur Jónsson | 2009-03-24 | 1 | -13/+100 |
| | | | | | Guard _fileio.c against other malicious os.close(f.fileno()) attempts. Add tests to test_fileio.py to verify behaviour. | ||||
* | The error detection code in FileIO.close() could fail to reflect the `errno` ↵ | Antoine Pitrou | 2009-03-13 | 1 | -0/+15 |
| | | | | value, and report it as -1 instead. |