Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) | Serhiy Storchaka | 2017-04-16 | 1 | -4/+4 |
| | |||||
* | bpo-29852: Argument Clinic Py_ssize_t converter now supports None (#716) | Serhiy Storchaka | 2017-03-30 | 1 | -24/+0 |
| | | | if pass `accept={int, NoneType}`. | ||||
* | bpo-29878: Add global instances of int for 0 and 1. (#852) | Serhiy Storchaka | 2017-03-30 | 1 | -4/+0 |
| | |||||
* | bpo-29730: replace some calls to PyNumber_Check and improve some error ↵ | Oren Milman | 2017-03-12 | 1 | -3/+4 |
| | | | | messages (#650) | ||||
* | bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485) | Serhiy Storchaka | 2017-03-12 | 1 | -2/+2 |
| | |||||
* | Merge from 3.5. | Serhiy Storchaka | 2016-12-07 | 1 | -1/+1 |
|\ | |||||
| * | Change order of io.UnsupportedOperation base classes. | Serhiy Storchaka | 2016-12-07 | 1 | -1/+1 |
| | | | | | | | | This makes tests passing after changes by issue #5322. | ||||
* | | Issue #1602: Windows console doesn't input or print Unicode (PEP 528) | Steve Dower | 2016-08-31 | 1 | -3/+21 |
| | | | | | | | | Closes #17602: Adds a readline implementation for the Windows console | ||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -2/+2 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -2/+2 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | issue27186: add open/io.open; patch by Jelle Zijlstra | Ethan Furman | 2016-06-04 | 1 | -16/+32 |
| | | |||||
* | | Issue #25523: Merge a-to-an corrections from 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| |\ | |||||
| | * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | | Issue #15989: Fixed some scarcely probable integer overflows. | Serhiy Storchaka | 2015-09-06 | 1 | -1/+2 |
| | | | | | | | | | | | | It is very unlikely that they can occur in real code for now. | ||||
* | | | - Issue #2091: error correctly on open() with mode 'U' and '+' | Robert Collins | 2015-07-25 | 1 | -8/+8 |
|/ / | | | | | | | | | open() accepted a 'U' mode string containing '+', but 'U' can only be used with 'r'. Patch from Jeff Balogh and John O'Connor. | ||||
* | | 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 |
|/ |