Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #23099: Closing io.BytesIO with exported buffer is rejected now to | Serhiy Storchaka | 2015-02-03 | 1 | -0/+6 | |
|\ \ | |/ | | | | | prevent corrupting exported buffer. | |||||
| * | Issue #23099: Closing io.BytesIO with exported buffer is rejected now to | Serhiy Storchaka | 2015-02-03 | 1 | -0/+6 | |
| | | | | | | | | prevent corrupting exported buffer. | |||||
* | | merge 3.4 (#23093) | Benjamin Peterson | 2014-12-22 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | allow more operations to work on detached streams (closes #23093) | Benjamin Peterson | 2014-12-22 | 1 | -3/+3 | |
| | | | | | | | | Patch by Martin Panter. | |||||
* | | Issue #22869: Split pythonrun into two modules | Nick Coghlan | 2014-11-20 | 1 | -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 actual | Serhiy Storchaka | 2014-07-25 | 1 | -4/+6 | |
| | | | | | | | | class name instead of hardcoded one. | |||||
* | | add BufferedIOBase.readinto1 (closes #20578) | Benjamin Peterson | 2014-06-22 | 1 | -9/+86 | |
|/ | | | | Patch by Nikolaus Rath. | |||||
* | Issue #21310: Fixed possible resource leak in failed open(). | Serhiy Storchaka | 2014-06-09 | 1 | -30/+37 | |
| | ||||||
* | Close #20404: blacklist non-text encodings in io.TextIOWrapper | Nick Coghlan | 2014-02-04 | 1 | -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 Pitrou | 2014-02-02 | 1 | -1/+7 | |
|\ | | | | | | | translation settings. | |||||
| * | Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline ↵ | Antoine Pitrou | 2014-02-02 | 1 | -1/+7 | |
| | | | | | | | | translation settings. | |||||
* | | Issue #20424: Python implementation of io.StringIO now supports lone surrogates. | Serhiy Storchaka | 2014-01-29 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Issue #20424: Python implementation of io.StringIO now supports lone surrogates. | Serhiy Storchaka | 2014-01-29 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #15204: Deprecated the 'U' mode in file-like objects. | Serhiy Storchaka | 2013-11-23 | 1 | -2/+8 | |
| | | ||||||
* | | Issue #17003: Unified the size argument names in the io module with common | Serhiy Storchaka | 2013-09-16 | 1 | -81/+81 | |
| | | | | | | | | practice. | |||||
* | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -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 Cannon | 2013-07-04 | 1 | -2/+2 | |
| | | ||||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -2/+2 | |
| | | | | | | | | ModuleNotFoundError. | |||||
* | | Issue #17516: remove dead code | Victor Stinner | 2013-03-26 | 1 | -1/+0 | |
| | | ||||||
* | | Merge 3.3, issue #17047: remove doubled words found in 2.7 to | Terry Jan Reedy | 2013-03-11 | 1 | -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 to | Terry Jan Reedy | 2013-03-11 | 1 | -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 Reedy | 2013-03-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | |||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -16/+16 | |
| | | | ||||||
* | | | merge 3.3 (#16597) | Benjamin Peterson | 2012-12-20 | 1 | -4/+8 | |
|\ \ \ | |/ / | ||||||
| * | | call close on the underlying stream even if flush raises (closes #16597) | Benjamin Peterson | 2012-12-20 | 1 | -4/+8 | |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | | Issue #16706: get rid of os.error | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 | |
|/ / | ||||||
* | | Issue #15841: The readable(), writable() and seekable() methods of BytesIO | Antoine Pitrou | 2012-09-05 | 1 | -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 BytesIO | Antoine Pitrou | 2012-09-05 | 1 | -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 Svetlov | 2012-08-13 | 1 | -0/+3 | |
| | | | | | | | | works in write_throuth mode | |||||
* | | Issue #13248: io: Remove obsolete argument "max_buffer_size" of ↵ | Florent Xicluna | 2012-07-07 | 1 | -18/+4 | |
| | | | | | | | | BufferedWriter and BufferedRWPair. | |||||
* | | Closes #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-06-22 | 1 | -8/+13 | |
| | | ||||||
* | | Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore | Victor Stinner | 2012-06-05 | 1 | -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 yet | Jesus Cea | 2012-04-26 | 1 | -3/+9 | |
| | | ||||||
* | | Close #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-04-26 | 1 | -9/+3 | |
| | | ||||||
* | | Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode. | Charles-François Natali | 2012-01-14 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #12760: Add a create mode to open(). Patch by David Townshend. | Charles-François Natali | 2012-01-09 | 1 | -15/+19 | |
| | | ||||||
* | | Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is | Antoine Pitrou | 2011-11-21 | 1 | -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 is | Antoine Pitrou | 2011-11-21 | 1 | -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 Araujo | 2011-11-03 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix typo | Éric Araujo | 2011-11-02 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #12797: Added custom opener parameter to builtin open() and FileIO.open(). | Ross Lagerwall | 2011-10-31 | 1 | -2/+8 | |
| | | ||||||
* | | Use InterruptedError instead of checking for EINTR | Antoine Pitrou | 2011-10-23 | 1 | -13/+4 | |
| | | ||||||
* | | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. | Antoine Pitrou | 2011-10-12 | 1 | -10/+2 | |
| | | ||||||
* | | Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (without | Antoine Pitrou | 2011-07-23 | 1 | -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 (without | Antoine Pitrou | 2011-07-23 | 1 | -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 Stinner | 2011-05-25 | 1 | -0/+6 | |
| | | ||||||
* | | (Merge 3.2) Issue #12175: RawIOBase.readall() now returns None if read() | Victor Stinner | 2011-05-25 | 1 | -1/+5 | |
|\ \ | |/ | | | | | returns None. | |||||
| * | (Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read() | Victor Stinner | 2011-05-25 | 1 | -1/+5 | |
| |\ | | | | | | | | | | returns None. | |||||
| | * | Issue #12175: RawIOBase.readall() now returns None if read() returns None. | Victor Stinner | 2011-05-25 | 1 | -1/+5 | |
| | | | ||||||
| | * | Backport 87978: Do not expose function type annotations in the standard library. | Raymond Hettinger | 2011-01-12 | 1 | -31/+32 | |
| | | |