Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7. | Serhiy Storchaka | 2016-06-09 | 7 | -61/+115 |
| | |||||
* | Issue #27066: Fixed SystemError if a custom opener (for open()) returns a | Barry Warsaw | 2016-06-08 | 1 | -1/+7 |
|\ | | | | | | | negative number without setting an exception. | ||||
| * | Issue #27066: Fixed SystemError if a custom opener (for open()) returns | Barry Warsaw | 2016-06-08 | 1 | -1/+6 |
| | | | | | | | | a negative number without setting an exception. | ||||
* | | issue27186: add open/io.open; patch by Jelle Zijlstra | Ethan Furman | 2016-06-04 | 1 | -16/+32 |
| | | |||||
* | | Issue #20699: Merge io bytes-like fixes from 3.5 | Martin Panter | 2016-05-28 | 6 | -12/+13 |
|\ \ | |/ | |||||
| * | Issue #20699: Document that “io” methods accept bytes-like objects | Martin Panter | 2016-05-28 | 6 | -12/+13 |
| | | | | | | | | | | | | | | | | This matches the usage of ZipFile and BufferedWriter. This still requires return values to be bytes() objects. Also document and test that the write() methods should only access their argument before they return. | ||||
* | | Merge doc and comment fixes from 3.5 | Martin Panter | 2016-04-19 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Fix spelling (inital), grammar (may translates) in documentation, comments | Martin Panter | 2016-04-19 | 1 | -2/+2 |
| | | |||||
* | | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 2 | -2/+2 |
|\ \ | |/ | | | | | messages. | ||||
* | | Merge typo fixes from 3.5 | Martin Panter | 2016-04-16 | 2 | -4/+4 |
|\ \ | |/ | |||||
| * | Fix typos in code comments and documentation | Martin Panter | 2016-04-16 | 2 | -4/+4 |
| | | |||||
* | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -1/+1 |
|\ \ | |/ | | | | | in places where Py_DECREF was used. | ||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 3 | -10/+10 |
|\ \ | |/ | |||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 3 | -9/+9 |
| | | |||||
* | | Issue #22854: Merge UnsupportedOperation fixes from 3.5 | Martin Panter | 2016-03-31 | 3 | -15/+13 |
|\ \ | |/ | |||||
| * | Issue #22854: Clarify documentation about UnsupportedOperation and add tests | Martin Panter | 2016-03-31 | 3 | -15/+13 |
| | | | | | | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False. | ||||
* | | cleanup iobase.c | Victor Stinner | 2016-03-19 | 1 | -1/+1 |
| | | | | | | | | casting iobase_finalize to destructor is not needed | ||||
* | | On ResourceWarning, log traceback where the object was allocated | Victor Stinner | 2016-03-19 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | Issue #26567: * Add a new function PyErr_ResourceWarning() function to pass the destroyed object * Add a source attribute to warnings.WarningMessage * Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where source object was allocated. | ||||
* | | Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR. | Serhiy Storchaka | 2015-12-27 | 1 | -4/+2 |
| | | | | | | | | | | Old code is correct, but with Py_SETREF and Py_CLEAR it can be cleaner. This patch doesn't fix bugs and hence there is no need to backport it. | ||||
* | | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 2 | -16/+8 |
|\ \ | |/ | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
| * | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 2 | -16/+8 |
| | | | | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 4 | -14/+14 |
| | | | | | | | | private functions. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -2/+2 |
| | | |||||
* | | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -2/+1 |
|\ \ | |/ | | | | | macro Py_SETREF. | ||||
| * | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -2/+1 |
| | | | | | | | | macro Py_SETREF. | ||||
* | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 2 | -2/+2 |
|\ \ | |/ | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
| * | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 2 | -2/+2 |
| | | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
* | | Issue #25717: Merge comment from 3.5 | Martin Panter | 2015-12-06 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Issue #25717: Add comment explaining why errors are ignored | Martin Panter | 2015-12-06 | 1 | -0/+3 |
| | | |||||
* | | Issue #25717: Merge fstat() fix from 3.5 | Martin Panter | 2015-12-06 | 1 | -12/+27 |
|\ \ | |/ | |||||
| * | Issue #25717: Tolerate fstat() failures in the FileIO constructor | Martin Panter | 2015-12-06 | 1 | -12/+27 |
| | | | | | | | | | | | | This restores 3.4 behaviour, which was removed by revision 3b5279b5bfd1. The fstat() call fails with ENOENT for a Virtual Box shared folder filesystem if the file entry has been unlinked, e.g. for a temporary file. | ||||
* | | Issue #25523: Merge a-to-an corrections from 3.5 | Martin Panter | 2015-11-02 | 2 | -3/+3 |
|\ \ | |/ | |||||
| * | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 2 | -3/+3 |
| |\ | |||||
| | * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | | | 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 #22413: Merge StringIO doc from 3.5 | Martin Panter | 2015-10-10 | 2 | -5/+8 |
|\ \ \ | |/ / | |||||
| * | | Issue #22413: Remove comment made out of date by Argument Clinic | Martin Panter | 2015-10-10 | 1 | -4/+2 |
| | | | |||||
| * | | Issue #22413: Merge StringIO doc from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 1 | -1/+6 |
| |\ \ | | |/ | |||||
| | * | Issue #22413: Document newline effect on StringIO initializer and getvalue | Martin Panter | 2015-10-10 | 1 | -1/+6 |
| | | | | | | | | | | | | Also add to comment in the C code. | ||||
* | | | Merge typo fixes from 3.5 | Martin Panter | 2015-10-07 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge typo fixes from 3.4 into 3.5 | Martin Panter | 2015-10-07 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Various minor typos in documentation and comments | Martin Panter | 2015-10-07 | 1 | -1/+1 |
| | | | |||||
| | * | Issue #25030: Do not document seek() as if it accepts keyword arguments | Martin Panter | 2015-09-11 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch from Shiyao Ma. | ||||
| | * | Issue #23796: peak and read1 methods of BufferedReader now raise ValueError | Berker Peksag | 2015-05-12 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | if they called on a closed object. Patch by John Hergenroeder. | ||||
| * | | Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is | Serhiy Storchaka | 2015-09-04 | 1 | -1/+5 |
| | | | | | | | | | | | | set beyond size. Based on patch by John Leitch. | ||||
* | | | 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 #24989: Fixed buffer overread in BytesIO.readline() if a position is | Serhiy Storchaka | 2015-09-03 | 1 | -1/+5 |
|\ \ \ | | | | | | | | | | | | | set beyond size. Based on patch by John Leitch. | ||||
| * | | | Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is | Serhiy Storchaka | 2015-09-03 | 1 | -1/+5 |
| |/ / | | | | | | | | | | set beyond size. Based on patch by John Leitch. | ||||
* | | | - 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. | ||||
* | | Fixes cast warning in bufferedio.c | Steve Dower | 2015-05-23 | 1 | -1/+1 |
| | | |||||
* | | Issue #9858: Add missing method stubs to _io.RawIOBase. Patch by Laura ↵ | Antoine Pitrou | 2015-05-20 | 1 | -0/+16 |
| | | | | | | | | Rupprecht. |