summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
Commit message (Collapse)AuthorAgeFilesLines
* Closes #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-06-221-0/+5
|
* Close #11022: TextIOWrapper doesn't call locale.setlocale() anymoreVictor Stinner2012-06-051-1/+7
| | | | | | | | | | open() and io.TextIOWrapper are now calling locale.getpreferredencoding(False) instead of locale.getpreferredencoding() in text mode if the encoding is not specified. Don't change temporary the locale encoding using locale.setlocale(), use the current locale encoding instead of the user preferred encoding. Explain also in open() documentation that locale.getpreferredencoding(False) is called if the encoding is not specified.
* Backing out 86dc014cdd74. Not ready yetJesus Cea2012-04-261-5/+0
|
* Close #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-04-261-0/+5
|
* Issue #12922: fix the TextIOBase documentation to include a description of ↵Antoine Pitrou2012-01-211-0/+26
|\ | | | | | | seek() and tell() methods.
| * Issue #12922: fix the TextIOBase documentation to include a description of ↵Antoine Pitrou2012-01-211-0/+26
| | | | | | | | seek() and tell() methods.
* | Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode.Charles-François Natali2012-01-141-6/+6
| |
* | Issue #12760: Add a create mode to open(). Patch by David Townshend.Charles-François Natali2012-01-091-4/+8
| |
* | Issue #13513: IOBase docs incorrectly link to the readline moduleMeador Inge2011-12-031-1/+1
|\ \ | |/
| * Issue #13513: IOBase docs incorrectly link to the readline moduleMeador Inge2011-12-031-1/+1
| |
* | Issue #12797: Added custom opener parameter to builtin open() and FileIO.open().Ross Lagerwall2011-10-311-1/+10
| |
* | Fix mentions of IOError in the io module docsAntoine Pitrou2011-10-121-9/+13
| |
* | Update doc for BlockingIOError and its alias in the io moduleAntoine Pitrou2011-10-121-10/+2
| |
* | Issue #12213: make it clear that BufferedRWPair shouldn't be called with theAntoine Pitrou2011-08-201-19/+23
|\ \ | |/ | | | | same object as reader and writer, and deemphasize it in document order.
| * Issue #12213: make it clear that BufferedRWPair shouldn't be called with theAntoine Pitrou2011-08-201-19/+23
| | | | | | | | same object as reader and writer, and deemphasize it in document order.
* | Followup to c3b47cdea0d1: document the *write_through* argument to ↵Antoine Pitrou2011-07-231-1/+9
|/ | | | TextIOWrapper.
* issue10403 - Let's not use members anymore. Use 'attribute' where it denotes ↵Senthil Kumaran2011-07-041-2/+2
| | | | attribute and 'methods' where it denotes methods. Context should clarify usage.
* Merged revisions 88540-88541 via svnmerge fromBenjamin Peterson2011-02-241-35/+31
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88540 | benjamin.peterson | 2011-02-23 20:46:00 -0600 (Wed, 23 Feb 2011) | 1 line this seems to be pointlessly nested ........ r88541 | benjamin.peterson | 2011-02-23 20:53:05 -0600 (Wed, 23 Feb 2011) | 1 line rewrite ........
* Mention that seek and tell over a TextIOWrapper can be very slow.Antoine Pitrou2011-02-041-0/+2
|
* Add an "advanced topics" section to the io doc.Antoine Pitrou2010-12-031-13/+65
|
* Fix typo: "ofbytes" should be "of bytes"Daniel Stutzbach2010-11-301-3/+3
|
* Fix errors found by "make suspicious".Georg Brandl2010-10-061-1/+1
|
* Issue #9854: The default read() implementation in io.RawIOBase nowAntoine Pitrou2010-09-141-2/+3
| | | | handles non-blocking readinto() returning None correctly.
* Issue #5506: BytesIO objects now have a getbuffer() method exporting aAntoine Pitrou2010-09-061-0/+18
| | | | | view of their contents without duplicating them. The view is both readable and writable.
* rewrite and move open() docs only to functions.rstBenjamin Peterson2010-08-301-179/+73
|
* Issue #9715: improve documentation of the io moduleAntoine Pitrou2010-08-301-52/+162
|
* Consistency check for versionadded/changed directives.Georg Brandl2010-08-171-1/+1
|
* Terminology fix: exceptions are raised, except in generator.throw().Georg Brandl2010-08-031-1/+1
|
* Clarify.Georg Brandl2010-07-191-2/+2
|
* Merged revisions 81594 via svnmerge fromAntoine Pitrou2010-05-291-4/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81594 | antoine.pitrou | 2010-05-29 14:06:13 +0200 (sam., 29 mai 2010) | 3 lines Issue #8840: Make documentation for truncate() clearer ........
* Merged revisions ↵Georg Brandl2010-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80030,80067,80069,80080-80081,80084,80432-80433,80465-80470,81059,81065-81067 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80030 | georg.brandl | 2010-04-13 08:43:54 +0200 (Di, 13 Apr 2010) | 1 line Get rid of multi-row cells. ........ r80067 | georg.brandl | 2010-04-14 10:53:38 +0200 (Mi, 14 Apr 2010) | 1 line #5341: typo. ........ r80069 | georg.brandl | 2010-04-14 15:50:31 +0200 (Mi, 14 Apr 2010) | 1 line Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek(). ........ r80080 | georg.brandl | 2010-04-14 21:16:38 +0200 (Mi, 14 Apr 2010) | 1 line #8399: add note about Windows and O_BINARY. ........ r80081 | georg.brandl | 2010-04-14 23:34:44 +0200 (Mi, 14 Apr 2010) | 1 line #5250: document __instancecheck__ and __subclasscheck__. I hope the part about the class/metaclass distinction is understandable. ........ r80084 | georg.brandl | 2010-04-14 23:46:45 +0200 (Mi, 14 Apr 2010) | 1 line Fix missing. ........ r80432 | georg.brandl | 2010-04-24 10:56:58 +0200 (Sa, 24 Apr 2010) | 1 line Markup fixes. ........ r80433 | georg.brandl | 2010-04-24 11:08:10 +0200 (Sa, 24 Apr 2010) | 1 line #7507: quote "!" in pipes.quote(); it is a special character for some shells. ........ r80465 | georg.brandl | 2010-04-25 12:29:17 +0200 (So, 25 Apr 2010) | 1 line Remove LaTeXy index entry syntax. ........ r80466 | georg.brandl | 2010-04-25 12:54:42 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Better cross-referencing in socket and winreg docs. ........ r80467 | georg.brandl | 2010-04-25 12:55:16 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Remove reference to winreg being the fabled high-level registry interface. ........ r80468 | georg.brandl | 2010-04-25 12:55:58 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Minor spelling changes to _winreg docs. ........ r80469 | georg.brandl | 2010-04-25 12:56:41 +0200 (So, 25 Apr 2010) | 1 line Fix code example to have valid syntax so that it can be highlighted. ........ r80470 | georg.brandl | 2010-04-25 12:57:15 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric. ........ r81059 | georg.brandl | 2010-05-10 23:02:51 +0200 (Mo, 10 Mai 2010) | 1 line #8642: fix wrong function name. ........ r81065 | georg.brandl | 2010-05-10 23:46:50 +0200 (Mo, 10 Mai 2010) | 1 line Fix reference direction. ........ r81066 | georg.brandl | 2010-05-10 23:50:57 +0200 (Mo, 10 Mai 2010) | 1 line Consolidate deprecation messages. ........ r81067 | georg.brandl | 2010-05-10 23:51:33 +0200 (Mo, 10 Mai 2010) | 1 line Fix typo. ........
* Merged revisions 80591-80592 via svnmerge fromAntoine Pitrou2010-04-281-8/+7
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80591 | antoine.pitrou | 2010-04-28 21:53:35 +0200 (mer., 28 avril 2010) | 4 lines State clearly that truncate() doesn't move the file position, and remove a duplicate of its specification. ........ r80592 | antoine.pitrou | 2010-04-28 21:57:33 +0200 (mer., 28 avril 2010) | 3 lines Clarify and fix the documentation for IOBase.close() ........
* Merged revisions 80544 via svnmerge fromBenjamin Peterson2010-04-271-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80544 | benjamin.peterson | 2010-04-27 16:01:54 -0500 (Tue, 27 Apr 2010) | 1 line reject None as the buffering argument like the C implementation does #8546 ........
* lower caseBenjamin Peterson2010-02-191-1/+1
|
* add a link to sys.std* in io docsBenjamin Peterson2010-02-191-0/+5
|
* Merged revisions 76896,76898 via svnmerge fromAntoine Pitrou2009-12-191-4/+14
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76896 | antoine.pitrou | 2009-12-19 22:01:10 +0100 (sam., 19 déc. 2009) | 3 lines Issue #7545: improve documentation of the `buffering` argument in io.open(). ........ r76898 | antoine.pitrou | 2009-12-19 22:06:36 +0100 (sam., 19 déc. 2009) | 3 lines Remove superfetatory paragraph (left there by mistake). ........
* Merged revisions ↵Benjamin Peterson2009-11-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-75433,75437,75445,75501,75551,75572,75589-75591,75657,75742,75868,75952-75957,76057,76105,76139,76143,76162,76223 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75149 | gregory.p.smith | 2009-09-29 16:56:31 -0500 (Tue, 29 Sep 2009) | 3 lines Mention issue6972 in extractall docs about overwriting things outside of the supplied path. ........ r75260 | andrew.kuchling | 2009-10-05 16:24:20 -0500 (Mon, 05 Oct 2009) | 1 line Wording fix ........ r75261 | andrew.kuchling | 2009-10-05 16:24:35 -0500 (Mon, 05 Oct 2009) | 1 line Fix narkup ........ r75262 | andrew.kuchling | 2009-10-05 16:25:03 -0500 (Mon, 05 Oct 2009) | 1 line Document 'skip' parameter to constructor ........ r75263 | andrew.kuchling | 2009-10-05 16:25:35 -0500 (Mon, 05 Oct 2009) | 1 line Note side benefit of socket.create_connection() ........ r75265 | andrew.kuchling | 2009-10-05 17:31:11 -0500 (Mon, 05 Oct 2009) | 1 line Reword sentence ........ r75266 | andrew.kuchling | 2009-10-05 17:32:48 -0500 (Mon, 05 Oct 2009) | 1 line Use standard comma punctuation; reword some sentences in the docs ........ r75267 | andrew.kuchling | 2009-10-05 17:42:56 -0500 (Mon, 05 Oct 2009) | 1 line Backport r73983: Document the thousands separator. ........ r75292 | benjamin.peterson | 2009-10-08 22:11:36 -0500 (Thu, 08 Oct 2009) | 1 line death to old CVS keyword ........ r75300 | benjamin.peterson | 2009-10-09 16:48:14 -0500 (Fri, 09 Oct 2009) | 1 line fix some coding style ........ r75376 | benjamin.peterson | 2009-10-11 20:26:07 -0500 (Sun, 11 Oct 2009) | 1 line platform we don't care about ........ r75405 | neil.schemenauer | 2009-10-14 12:17:14 -0500 (Wed, 14 Oct 2009) | 4 lines Issue #1754094: Improve the stack depth calculation in the compiler. There should be no other effect than a small decrease in memory use. Patch by Christopher Tur Lesniewski-Laas. ........ r75429 | benjamin.peterson | 2009-10-14 20:47:28 -0500 (Wed, 14 Oct 2009) | 1 line pep8ify if blocks ........ r75430 | benjamin.peterson | 2009-10-14 20:49:37 -0500 (Wed, 14 Oct 2009) | 1 line use floor division and add a test that exercises the tabsize codepath ........ r75431 | benjamin.peterson | 2009-10-14 20:56:25 -0500 (Wed, 14 Oct 2009) | 1 line change test to what I intended ........ r75432 | benjamin.peterson | 2009-10-14 22:05:39 -0500 (Wed, 14 Oct 2009) | 1 line some cleanups ........ r75433 | benjamin.peterson | 2009-10-14 22:06:55 -0500 (Wed, 14 Oct 2009) | 1 line make inspect.isabstract() always return a boolean; add a test for it, too #7069 ........ r75437 | benjamin.peterson | 2009-10-15 10:44:46 -0500 (Thu, 15 Oct 2009) | 1 line only clear a module's __dict__ if the module is the only one with a reference to it #7140 ........ r75445 | vinay.sajip | 2009-10-16 09:06:44 -0500 (Fri, 16 Oct 2009) | 1 line Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE. ........ r75501 | antoine.pitrou | 2009-10-18 13:37:11 -0500 (Sun, 18 Oct 2009) | 3 lines Add a comment about unreachable code, and fix a typo ........ r75551 | benjamin.peterson | 2009-10-19 22:14:10 -0500 (Mon, 19 Oct 2009) | 1 line use property api ........ r75572 | benjamin.peterson | 2009-10-20 16:55:17 -0500 (Tue, 20 Oct 2009) | 1 line clarify buffer arg #7178 ........ r75589 | benjamin.peterson | 2009-10-21 21:26:47 -0500 (Wed, 21 Oct 2009) | 1 line whitespace ........ r75590 | benjamin.peterson | 2009-10-21 21:36:47 -0500 (Wed, 21 Oct 2009) | 1 line rewrite to be nice to other implementations ........ r75591 | benjamin.peterson | 2009-10-21 21:50:38 -0500 (Wed, 21 Oct 2009) | 4 lines rewrite for style, clarify, and comments Also, use the hasattr() like scheme of allowing BaseException exceptions through. ........ r75657 | antoine.pitrou | 2009-10-24 07:41:27 -0500 (Sat, 24 Oct 2009) | 3 lines Fix compilation error in debug mode. ........ r75742 | benjamin.peterson | 2009-10-26 17:51:16 -0500 (Mon, 26 Oct 2009) | 1 line use 'is' instead of id() ........ r75868 | benjamin.peterson | 2009-10-27 15:59:18 -0500 (Tue, 27 Oct 2009) | 1 line test expect base classes ........ r75952 | georg.brandl | 2009-10-29 15:38:32 -0500 (Thu, 29 Oct 2009) | 1 line Use the correct function name in docstring. ........ r75953 | georg.brandl | 2009-10-29 15:39:50 -0500 (Thu, 29 Oct 2009) | 1 line Remove mention of the old -X command line switch. ........ r75954 | georg.brandl | 2009-10-29 15:53:00 -0500 (Thu, 29 Oct 2009) | 1 line Use constants instead of magic integers for test result. Do not re-run with --verbose3 for environment changing tests. ........ r75955 | georg.brandl | 2009-10-29 15:54:03 -0500 (Thu, 29 Oct 2009) | 1 line Use a single style for all the docstrings in the math module. ........ r75956 | georg.brandl | 2009-10-29 16:16:34 -0500 (Thu, 29 Oct 2009) | 1 line I do not think the "railroad" program mentioned is still available. ........ r75957 | georg.brandl | 2009-10-29 16:44:56 -0500 (Thu, 29 Oct 2009) | 1 line Fix constant name. ........ r76057 | benjamin.peterson | 2009-11-02 09:06:45 -0600 (Mon, 02 Nov 2009) | 1 line prevent a rather unlikely segfault ........ r76105 | georg.brandl | 2009-11-04 01:38:12 -0600 (Wed, 04 Nov 2009) | 1 line #7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs. ........ r76139 | benjamin.peterson | 2009-11-06 19:04:38 -0600 (Fri, 06 Nov 2009) | 1 line spelling ........ r76143 | georg.brandl | 2009-11-07 02:26:07 -0600 (Sat, 07 Nov 2009) | 1 line #7271: fix typo. ........ r76162 | benjamin.peterson | 2009-11-08 22:10:53 -0600 (Sun, 08 Nov 2009) | 1 line discuss how to use -p ........ r76223 | georg.brandl | 2009-11-12 02:29:46 -0600 (Thu, 12 Nov 2009) | 1 line Give the profile module a module directive. ........
* Issue #7022: clarification of RawIOBase.read(), suggested by Pascal Chambon.Antoine Pitrou2009-10-011-5/+8
|
* Issue #6929: fix a couple of statements and clarify a lot of things in the ↵Antoine Pitrou2009-09-171-68/+96
| | | | IO docs.
* Merged revisions 74207 via svnmerge fromGeorg Brandl2009-07-261-5/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line #6577: fix (hopefully) all links to builtin instead of module/class-specific objects. ........
* Merged revisions 74209 via svnmerge fromGeorg Brandl2009-07-261-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74209 | georg.brandl | 2009-07-26 16:37:28 +0200 (So, 26 Jul 2009) | 1 line builtin -> built-in. ........
* document BufferedIOBase.raw and TextIOBase.bufferBenjamin Peterson2009-06-281-1/+13
|
* rephrase for clarityBenjamin Peterson2009-06-161-1/+1
|
* update peek documentation to implementationBenjamin Peterson2009-06-141-5/+3
|
* give the C implementation of TextIOWrapper the errors property #6217Benjamin Peterson2009-06-061-5/+5
|
* Convert all "i" docs to new style optional args.Georg Brandl2009-06-011-19/+20
|
* versionaddedBenjamin Peterson2009-05-011-0/+4
|
* add myselfBenjamin Peterson2009-05-011-0/+1
|
* implement a detach() method for BufferedIOBase and TextIOBase #5883Benjamin Peterson2009-05-011-1/+25
|
* Update whatsnew based on doc search.Raymond Hettinger2009-04-091-1/+1
|