38 Commits (10db4dec61d85ad7e09c37e2d463c19fac06f9cf)

Author SHA1 Message Date
Nadeem Vawda d41a98bdd9 Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one. 15 years ago
Victor Stinner c655a726db Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows. 15 years ago
Victor Stinner b79f28ccbd Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if 15 years ago
Victor Stinner e0daff1c61 Issue #11395: io.FileIO().write() clamps the data length to 32,767 bytes on 15 years ago
Victor Stinner 7234479580 Issue #9611: remove useless and dangerous explicit conversion to size_t 16 years ago
Victor Stinner 89e3436606 Issue #10841: set binary mode on files; the parser translates newlines 16 years ago
Victor Stinner e6edec2371 Issue #9015, #9611: FileIO.readinto(), FileIO.write() and os.write() clamp the 16 years ago
Georg Brandl d62ecbf0ba Merged revisions 85728,85731,85735,85766-85771,85773,85777 via svnmerge from 16 years ago
Antoine Pitrou 243757eb79 Issue #10180: Pickling file objects is now explicitly forbidden, since 16 years ago
Antoine Pitrou 735e3b195a Merged revisions 85982 via svnmerge from 16 years ago
Benjamin Peterson bbb0412ad1 if FileIO.__init__ fails, close fd 16 years ago
Benjamin Peterson 430d469758 fix style 16 years ago
Antoine Pitrou 8d2b51b46a Issue #10253: FileIO leaks a file descriptor when trying to open a file 16 years ago
Antoine Pitrou e033e06db0 Issue #10093: ResourceWarnings are now issued when files and sockets are 16 years ago
Georg Brandl 28928aef2e #4829: better error message for invalid file mode 16 years ago
Antoine Pitrou 0d739d7047 Issue #9293: I/O streams now raise `io.UnsupportedOperation` when an 16 years ago
Victor Stinner ae6265f8d0 Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a Unicode 16 years ago
Antoine Pitrou f7ec1fd846 Merged revisions 80798 via svnmerge from 16 years ago
Antoine Pitrou ae4b472810 Merged revisions 80796 via svnmerge from 16 years ago
Benjamin Peterson 2614cda209 Merged revisions 78338,78345-78346,78561-78562,78566,78574,78581,78634,78660,78675 via svnmerge from 16 years ago
Antoine Pitrou 66f9fea782 Merged revisions 77895-77896 via svnmerge from 17 years ago
Antoine Pitrou 905a2ffe3e Merged revisions 77890 via svnmerge from 17 years ago
Benjamin Peterson 371c307e56 Merged revisions 77781-77782 via svnmerge from 17 years ago
Benjamin Peterson 255058fae3 don't accept bytes in FileIO.write #7785 17 years ago
Benjamin Peterson 6b59f77c43 Merged revisions 76806,76808 via svnmerge from 17 years ago
Benjamin Peterson bf5ff76597 Merged revisions 76805 via svnmerge from 17 years ago
Antoine Pitrou 384c920832 Merged revisions 75009 via svnmerge from 17 years ago
Antoine Pitrou ca767bd2db Merged revisions 75007 via svnmerge from 17 years ago
Hirokazu Yamamoto 892a37aff1 Merged revisions 73603 via svnmerge from 17 years ago
Benjamin Peterson 680bf1afe8 move to a naming scheme with all lowercase and underscores 17 years ago
Antoine Pitrou 716c444edc Issue #5761: Add the name of the underlying file to the repr() of various IO objects. 17 years ago
Hirokazu Yamamoto 8223c24d07 Merged revisions 72698-72699 via svnmerge from 17 years ago
Raymond Hettinger c3583b292a Silence a compiler warning. 17 years ago
Martin v. Löwis 43c57785d3 Rename utf8b error handler to surrogateescape. 17 years ago
Martin v. Löwis 011e842033 Issue #5915: Implement PEP 383, Non-decodable Bytes in 17 years ago
Benjamin Peterson 1fea321502 use NULL for the ends of tables 17 years ago
Alexandre Vassalotti 8d8d630003 Issue 5682: Move _io module into its own subdirectory. 17 years ago
Antoine Pitrou 7d037a7b52 Plug another leak, and finally add a test for #1174606 (read() from /dev/zero). 17 years ago
Antoine Pitrou 8e21fb2c69 Fix leak in _fileio.c (patch by Hirokazu Yamamoto) 17 years ago
Antoine Pitrou 9041daa9a7 Restore a conditional I removed by mistake. 17 years ago
Antoine Pitrou 66994e1154 Issue #1174606: Calling read() without arguments of an unbounded file 17 years ago
Kristján Valur Jónsson a8abe86331 http://bugs.python.org/issue5544 17 years ago
Kristján Valur Jónsson 8915e0e43a http://bugs.python.org/issue5544 17 years ago
Kristján Valur Jónsson dc7c128d74 http://bugs.python.org/issue5544 17 years ago
Antoine Pitrou a28fcfdbda Issue #5016: FileIO.seekable() could return False if the file position 17 years ago
Antoine Pitrou 0ae29cf617 The error detection code in FileIO.close() could fail to reflect the `errno` value, and report it as -1 instead. 17 years ago
Benjamin Peterson 9a8082f107 FileIO.readinto() isn't going anywhere 17 years ago
Antoine Pitrou 7fb111bb9e Fix failures introduced by buggy merge (1) 17 years ago
Benjamin Peterson 4fa88fa0ba merge the io-c branch: C implementation of the io module 17 years ago
Benjamin Peterson f91df0465d Merged revisions 69364-69365,69409-69410,69413,69417,69435,69442,69447,69495,69519-69521 via svnmerge from 18 years ago