Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 1 | -4/+4 | |
| | | | | | | | | instead of types={'type'} to specify the types the converter accepts. | |||||
* | | Issue #20175: Converted the _io module to Argument Clinic. | Serhiy Storchaka | 2015-04-16 | 1 | -139/+139 | |
| | | ||||||
* | | Issue #21715: Extracted shared complicated code in the _io module to new | Serhiy Storchaka | 2014-10-08 | 1 | -13/+2 | |
|\ \ | |/ | | | | | _PyErr_ChainExceptions() function. | |||||
| * | Issue #21715: Extracted shared complicated code in the _io module to new | Serhiy Storchaka | 2014-10-08 | 1 | -13/+2 | |
| | | | | | | | | _PyErr_ChainExceptions() function. | |||||
| * | properly decref the return value of close() | Benjamin Peterson | 2014-07-05 | 1 | -3/+5 | |
| | | ||||||
* | | properly decref the return value of close() | Benjamin Peterson | 2014-07-05 | 1 | -3/+5 | |
| | | ||||||
* | | Issue #21679: Prevent extraneous fstat() calls during open(). Patch by ↵ | Antoine Pitrou | 2014-06-30 | 1 | -19/+9 | |
|/ | | | | Bohuslav Kabrda. | |||||
* | PyErr_NormalizeException doesn't like being called with an exception set | Serhiy Storchaka | 2014-06-11 | 1 | -4/+4 | |
| | | | | (issues #21677, #21310). | |||||
* | Issue #21310: Fixed possible resource leak in failed open(). | Serhiy Storchaka | 2014-06-09 | 1 | -9/+27 | |
| | ||||||
* | Issue #20037: Avoid crashes when doing text I/O late at interpreter shutdown. | Antoine Pitrou | 2013-12-21 | 1 | -0/+14 | |
| | ||||||
* | Issue #15204: Deprecated the 'U' mode in file-like objects. | Serhiy Storchaka | 2013-11-23 | 1 | -2/+8 | |
| | ||||||
* | Issue #9548: Add a minimal "_bootlocale" module that is imported by the _io ↵ | Antoine Pitrou | 2013-10-11 | 1 | -1/+1 | |
| | | | | module instead of the full locale module. | |||||
* | Issue #18608: Avoid keeping a strong reference to the locale module inside ↵ | Antoine Pitrou | 2013-08-01 | 1 | -0/+25 | |
| | | | | the _io module. | |||||
* | Describe 'surrogateescape' in the documentation. | Andrew Kuchling | 2013-06-16 | 1 | -2/+2 | |
| | | | | | | Also, improve some docstring descriptions of the 'errors' parameter. Closes #14015. | |||||
* | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 | |
|\ | | | | | | | Patch by Serhiy Storchaka. | |||||
| * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 | |
| | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | #15796: merge with 3.2. | Ezio Melotti | 2012-09-18 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | #15796: Fix \n in readline docstring. Patch by Serhiy Storchaka. | Ezio Melotti | 2012-09-18 | 1 | -1/+1 | |
| | | ||||||
* | | Fixed out-of-bounce write to rawmode buffer. The fixed size buffer wasn't ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+1 | |
| | | | | | | | | enlarged for the new 'x' flag. The buffer may contain the 5 flags xrwa+ and the \0 byte | |||||
* | | (Merge 3.2) open() / TextIOWrapper doc: make it explicit than newline='\n' | Victor Stinner | 2012-08-03 | 1 | -3/+3 | |
|\ \ | |/ | | | | | doesn't translate newlines on output. | |||||
| * | open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't | Victor Stinner | 2012-08-03 | 1 | -3/+3 | |
| | | | | | | | | translate newlines on output. | |||||
* | | Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore | Victor Stinner | 2012-06-05 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Issue #14153 Create _Py_device_encoding() to prevent _io from having to import | Brett Cannon | 2012-02-29 | 1 | -11/+3 | |
| | | | | | | | | the os module. | |||||
* | | Merge 3.2 | Éric Araujo | 2012-02-26 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix typo in “seperat{or,ion}” | Éric Araujo | 2012-02-26 | 1 | -1/+1 | |
| | | ||||||
* | | Merge refleak fixes from 3.2 | Antoine Pitrou | 2012-01-18 | 1 | -54/+41 | |
|\ \ | |/ | ||||||
| * | Fix the _io module leaking references when a sub-interpreter is created. | Antoine Pitrou | 2012-01-18 | 1 | -48/+36 | |
| | | ||||||
* | | Issue #12760: Add a create mode to open(). Patch by David Townshend. | Charles-François Natali | 2012-01-09 | 1 | -11/+17 | |
| | | ||||||
* | | Replace {Get,Set,Has}AttrString with *AttrId. | Martin v. Löwis | 2011-10-14 | 1 | -1/+2 | |
| | | ||||||
* | | Issue #12797: Added custom opener parameter to builtin open() and FileIO.open(). | Ross Lagerwall | 2011-10-31 | 1 | -6/+12 | |
| | | ||||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -2/+2 | |
| | | ||||||
* | | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. | Antoine Pitrou | 2011-10-12 | 1 | -86/+5 | |
| | | ||||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -2/+5 | |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | |||||
* | | Issue #12175: BufferedReader.read(-1) now calls raw.readall() if available. | Victor Stinner | 2011-05-25 | 1 | -0/+3 | |
|/ | ||||||
* | In open(), only set the buffer size from st.st_blksize when it is greater | Antoine Pitrou | 2010-10-27 | 1 | -1/+1 | |
| | | | | | than 1. This matches the pure Python implementation in _pyio and should fix a couple of failures on the NetBSD buildbot. | |||||
* | Issue #5506: BytesIO objects now have a getbuffer() method exporting a | Antoine Pitrou | 2010-09-06 | 1 | -0/+2 | |
| | | | | | view of their contents without duplicating them. The view is both readable and writable. | |||||
* | #9184: fix default value for "buffering" param of open(). | Georg Brandl | 2010-07-11 | 1 | -1/+1 | |
| | ||||||
* | #7417: add signature to open() docstring. | Georg Brandl | 2009-12-23 | 1 | -0/+3 | |
| | ||||||
* | Merged revisions 76896,76898 via svnmerge from | Antoine Pitrou | 2009-12-19 | 1 | -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 76805 via svnmerge from | Benjamin Peterson | 2009-12-13 | 1 | -0/+26 | |
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76805 | benjamin.peterson | 2009-12-13 13:19:07 -0600 (Sun, 13 Dec 2009) | 7 lines accept None as the same as having passed no argument in file types #7349 This is for consistency with imitation file objects like StringIO and BytesIO. This commit also adds a few tests, where they were lacking for concerned methods. ........ | |||||
* | move to a naming scheme with all lowercase and underscores | Benjamin Peterson | 2009-06-12 | 1 | -4/+4 | |
| | ||||||
* | Issue #5006: Better handling of unicode byte-order marks (BOM) in the io ↵ | Antoine Pitrou | 2009-05-14 | 1 | -0/+6 | |
| | | | | | | | | library. This means, for example, that opening an UTF-16 text file in append mode doesn't add a BOM at the end of the file if the file isn't empty. | |||||
* | fix typo #5687 | Benjamin Peterson | 2009-04-05 | 1 | -1/+1 | |
| | ||||||
* | Issue 5682: Move _io module into its own subdirectory. | Alexandre Vassalotti | 2009-04-04 | 1 | -0/+760 | |
Reviewed by: Antoine Pitrou |