Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-116303: Skip test module dependent tests if test modules are unavailable ↵ | Erlend E. Aasland | 2024-04-03 | 1 | -1/+2 |
| | | | | (#117341) | ||||
* | gh-82626: Emit a warning when bool is used as a file descriptor (GH-111275) | Serhiy Storchaka | 2024-02-05 | 1 | -0/+8 |
| | |||||
* | gh-66060: Use actual class name in _io type's __repr__ (#30824) | AN Long | 2024-01-09 | 1 | -0/+10 |
| | | | | | | Use the object's actual class name in the following _io type's __repr__: - FileIO - TextIOWrapper - _WindowsConsoleIO | ||||
* | gh-111799: Fix `testRecursiveRepr` from `test_fileio` on WASI (GH-112181) | Nikita Sobolev | 2023-11-16 | 1 | -1/+3 |
| | |||||
* | Make use of TESTFN_ASCII in test_fileio (GH-101645) | Zachary Ware | 2023-02-07 | 1 | -7/+6 |
| | | | | | testBytesOpen requires an ASCII filename, but TESTFN usually isn't ASCII. Automerge-Triggered-By: GH:zware | ||||
* | Fix links to old SF bugs (#95648) | Serhiy Storchaka | 2022-08-04 | 1 | -1/+1 |
| | |||||
* | gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803) | Christian Heimes | 2022-05-19 | 1 | -1/+4 |
| | |||||
* | bpo-40280: Address more test failures on Emscripten (GH-31050) | Christian Heimes | 2022-02-05 | 1 | -2/+2 |
| | | | Co-authored-by: Brett Cannon <brett@python.org> | ||||
* | bpo-45229: Remove test_main in many tests (GH-28405) | Serhiy Storchaka | 2021-09-19 | 1 | -9/+6 |
| | | | | | | | | | Instead of explicitly enumerate test classes for run_unittest() use the unittest ability to discover tests. This also makes these tests discoverable and runnable with unittest. load_tests() can be used for dynamic generating tests and adding doctests. setUpModule(), tearDownModule() and addModuleCleanup() can be used for running code before and after all module tests. | ||||
* | bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) | Serhiy Storchaka | 2021-08-29 | 1 | -1/+2 |
| | |||||
* | 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. ........ |