summaryrefslogtreecommitdiffstats
path: root/Lib/_pyio.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Issue #23099: Closing io.BytesIO with exported buffer is rejected now toSerhiy Storchaka2015-02-031-0/+6
|\ \ | |/ | | | | prevent corrupting exported buffer.
| * Issue #23099: Closing io.BytesIO with exported buffer is rejected now toSerhiy Storchaka2015-02-031-0/+6
| | | | | | | | prevent corrupting exported buffer.
* | merge 3.4 (#23093)Benjamin Peterson2014-12-221-3/+3
|\ \ | |/
| * allow more operations to work on detached streams (closes #23093)Benjamin Peterson2014-12-221-3/+3
| | | | | | | | Patch by Martin Panter.
* | Issue #22869: Split pythonrun into two modulesNick Coghlan2014-11-201-1/+1
| | | | | | | | | | | | | | - interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags
* | Issue #22033: Reprs of most Python implemened classes now contain actualSerhiy Storchaka2014-07-251-4/+6
| | | | | | | | class name instead of hardcoded one.
* | add BufferedIOBase.readinto1 (closes #20578)Benjamin Peterson2014-06-221-9/+86
|/ | | | Patch by Nikolaus Rath.
* Issue #21310: Fixed possible resource leak in failed open().Serhiy Storchaka2014-06-091-30/+37
|
* Close #20404: blacklist non-text encodings in io.TextIOWrapperNick Coghlan2014-02-041-0/+5
| | | | | | | | | - 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 #20435: Fix _pyio.StringIO.getvalue() to take into account newline ↵Antoine Pitrou2014-02-021-1/+7
|\ | | | | | | translation settings.
| * Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline ↵Antoine Pitrou2014-02-021-1/+7
| | | | | | | | translation settings.
* | Issue #20424: Python implementation of io.StringIO now supports lone surrogates.Serhiy Storchaka2014-01-291-1/+1
|\ \ | |/
| * Issue #20424: Python implementation of io.StringIO now supports lone surrogates.Serhiy Storchaka2014-01-291-1/+1
| |
* | Issue #15204: Deprecated the 'U' mode in file-like objects.Serhiy Storchaka2013-11-231-2/+8
| |
* | Issue #17003: Unified the size argument names in the io module with commonSerhiy Storchaka2013-09-161-81/+81
| | | | | | | | practice.
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-0/+2
| | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-2/+2
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-2/+2
| | | | | | | | ModuleNotFoundError.
* | Issue #17516: remove dead codeVictor Stinner2013-03-261-1/+0
| |
* | Merge 3.3, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-1/+1
|\ \ | |/ | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| * Merge 3.2, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-1/+1
| |\ | | | | | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| | * Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,Terry Jan Reedy2013-03-111-1/+1
| | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-16/+16
| | |
* | | merge 3.3 (#16597)Benjamin Peterson2012-12-201-4/+8
|\ \ \ | |/ /
| * | call close on the underlying stream even if flush raises (closes #16597)Benjamin Peterson2012-12-201-4/+8
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Issue #16706: get rid of os.errorAndrew Svetlov2012-12-181-1/+1
|/ /
* | Issue #15841: The readable(), writable() and seekable() methods of BytesIOAntoine Pitrou2012-09-051-0/+8
|\ \ | |/ | | | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
| * Issue #15841: The readable(), writable() and seekable() methods of BytesIOAntoine Pitrou2012-09-051-0/+8
| | | | | | | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
* | Issue #15571: comment the fact what python impl of TextIOWrapper always ↵Andrew Svetlov2012-08-131-0/+3
| | | | | | | | works in write_throuth mode
* | Issue #13248: io: Remove obsolete argument "max_buffer_size" of ↵Florent Xicluna2012-07-071-18/+4
| | | | | | | | BufferedWriter and BufferedRWPair.
* | Closes #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-06-221-8/+13
| |
* | Close #11022: TextIOWrapper doesn't call locale.setlocale() anymoreVictor Stinner2012-06-051-2/+2
| | | | | | | | | | | | | | | | | | | | 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-3/+9
| |
* | Close #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-04-261-9/+3
| |
* | Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode.Charles-François Natali2012-01-141-1/+1
| |
* | Issue #12760: Add a create mode to open(). Patch by David Townshend.Charles-François Natali2012-01-091-15/+19
| |
* | Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError isAntoine Pitrou2011-11-211-24/+23
|\ \ | |/ | | | | | | | | | | raised when the wrapped raw file is non-blocking and the write would block. Previous code assumed that the raw write() would raise BlockingIOError, but RawIOBase.write() is defined to returned None when the call would block. Patch by sbt.
| * Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError isAntoine Pitrou2011-11-211-26/+25
| | | | | | | | | | | | | | raised when the wrapped raw file is non-blocking and the write would block. Previous code assumed that the raw write() would raise BlockingIOError, but RawIOBase.write() is defined to returned None when the call would block. Patch by sbt.
* | Merge follow-up for #11254 and other changes from 3.2Éric Araujo2011-11-031-1/+1
|\ \ | |/
| * Fix typoÉric Araujo2011-11-021-1/+1
| |
* | Issue #12797: Added custom opener parameter to builtin open() and FileIO.open().Ross Lagerwall2011-10-311-2/+8
| |
* | Use InterruptedError instead of checking for EINTRAntoine Pitrou2011-10-231-13/+4
| |
* | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.Antoine Pitrou2011-10-121-10/+2
| |
* | Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (withoutAntoine Pitrou2011-07-231-2/+6
|\ \ | |/ | | | | | | a read1() method), and add a *write_through* parameter to mandate unbuffered writes.
| * Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (withoutAntoine Pitrou2011-07-231-2/+6
| | | | | | | | | | a read1() method), and add an undocumented *write_through* parameter to mandate unbuffered writes.
* | Issue #12175: BufferedReader.read(-1) now calls raw.readall() if available.Victor Stinner2011-05-251-0/+6
| |
* | (Merge 3.2) Issue #12175: RawIOBase.readall() now returns None if read()Victor Stinner2011-05-251-1/+5
|\ \ | |/ | | | | returns None.
| * (Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read()Victor Stinner2011-05-251-1/+5
| |\ | | | | | | | | | returns None.
| | * Issue #12175: RawIOBase.readall() now returns None if read() returns None.Victor Stinner2011-05-251-1/+5
| | |
| | * Backport 87978: Do not expose function type annotations in the standard library.Raymond Hettinger2011-01-121-31/+32
| | |