Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								762bf40438 
								
							 
						 
						
							
							
								
								bpo-29852: Argument Clinic Py_ssize_t converter now supports None ( #716 )  
							
							... 
							
							
							
							if pass `accept={int, NoneType}`. 
							
						 
						
							2017-03-30 09:15:31 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								ba85d69a3e 
								
							 
						 
						
							
							
								
								bpo-29878: Add global instances of int for 0 and 1. ( #852 )  
							
							
							
						 
						
							2017-03-30 09:09:41 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								a5af6e1af7 
								
							 
						 
						
							
							
								
								bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. ( #514 )  
							
							
							
						 
						
							2017-03-19 19:25:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								202fda55c2 
								
							 
						 
						
							
							
								
								bpo-24037: Add Argument Clinic converter bool(accept={int}). ( #485 )  
							
							
							
						 
						
							2017-03-12 10:10:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								446a498a63 
								
							 
						 
						
							
							
								
								Merge doc fixes from 3.6  
							
							
							
						 
						
							2017-01-14 09:56:00 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								4659ddc433 
								
							 
						 
						
							
							
								
								Merge doc fixes from 3.5  
							
							
							
						 
						
							2017-01-14 09:54:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								536d70ed33 
								
							 
						 
						
							
							
								
								Fix grammar, typos and markup in documentation and code comments  
							
							... 
							
							
							
							* Indent versionchanged at method level, not class level
* Mark up ``--help`` to avoid generating an en dash
* Use forward slash in Unix command line with a dollar sign ($) prompt 
							
						 
						
							2017-01-14 08:23:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								61bdb0d319 
								
							 
						 
						
							
							
								
								Use _PyObject_CallMethodIdObjArgs() in _io  
							
							... 
							
							
							
							Issue #28915 : Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() when the format string was only made of "O"
formats, PyObject* arguments.
_PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and
doesn't have to parse a format string. 
							
						 
						
							2016-12-09 15:39:28 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								7e42541d08 
								
							 
						 
						
							
							
								
								Use _PyObject_CallMethodIdObjArgs()  
							
							... 
							
							
							
							Issue #28915 : Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() when the format string only use the format 'O'
for objects, like "(O)".
_PyObject_CallMethodIdObjArgs() avoids the code to parse a format string and
avoids the creation of a temporary tuple. 
							
						 
						
							2016-12-09 00:36:19 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								06515833fe 
								
							 
						 
						
							
							
								
								Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize  
							
							... 
							
							
							
							with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. 
							
						 
						
							2016-11-20 09:13:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								3b73ea1278 
								
							 
						 
						
							
							
								
								Issue  #28701 : Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.  
							
							... 
							
							
							
							The latter function is more readable, faster and doesn't raise exceptions. 
							
						 
						
							2016-11-16 10:19:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								f4934ea77d 
								
							 
						 
						
							
							
								
								Issue  #28701 : Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.  
							
							... 
							
							
							
							The latter function is more readable, faster and doesn't raise exceptions. 
							
						 
						
							2016-11-16 10:17:58 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								5f548a24a4 
								
							 
						 
						
							
							
								
								Issue  #28387 : Fixed possible crash in _io.TextIOWrapper deallocator when  
							
							... 
							
							
							
							the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre. 
							
						 
						
							2016-11-03 15:38:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								a7c972e03b 
								
							 
						 
						
							
							
								
								Issue  #28387 : Fixed possible crash in _io.TextIOWrapper deallocator when  
							
							... 
							
							
							
							the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre. 
							
						 
						
							2016-11-03 15:37:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								47ff0734b8 
								
							 
						 
						
							
							
								
								more PY_LONG_LONG to long long  
							
							
							
						 
						
							2016-09-08 09:15:54 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								b6a9c9761c 
								
							 
						 
						
							
							
								
								Issue  #26778 : Fixed "a/an/and" typos in code comment, documentation and error  
							
							... 
							
							
							
							messages. 
							
						 
						
							2016-04-17 09:39:28 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								ec39756960 
								
							 
						 
						
							
							
								
								Issue  #22570 : Renamed Py_SETREF to Py_XSETREF.  
							
							
							
						 
						
							2016-04-06 09:50:03 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								48842714b9 
								
							 
						 
						
							
							
								
								Issue  #22570 : Renamed Py_SETREF to Py_XSETREF.  
							
							
							
						 
						
							2016-04-06 09:45:48 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								bdb908ea54 
								
							 
						 
						
							
							
								
								Issue  #20440 : Applied yet one patch for using Py_SETREF.  
							
							... 
							
							
							
							The patch is automatically generated, it replaces the code that uses Py_CLEAR. 
							
						 
						
							2015-12-27 12:38:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								4a1e70fc31 
								
							 
						 
						
							
							
								
								Issue  #20440 : Applied yet one patch for using Py_SETREF.  
							
							... 
							
							
							
							The patch is automatically generated, it replaces the code that uses Py_CLEAR. 
							
						 
						
							2015-12-27 12:36:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								ef1585eb9a 
								
							 
						 
						
							
							
								
								Issue  #25923 : Added more const qualifiers to signatures of static and private functions.  
							
							
							
						 
						
							2015-12-25 20:01:53 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								2d06e84455 
								
							 
						 
						
							
							
								
								Issue  #25923 : Added the const qualifier to static constant arrays.  
							
							
							
						 
						
							2015-12-25 19:53:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								2eb819f7a8 
								
							 
						 
						
							
							
								
								Issue  #25523 : Merge "a" to "an" fixes from 3.4 into 3.5  
							
							
							
						 
						
							2015-11-02 04:04:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								7462b64911 
								
							 
						 
						
							
							
								
								Issue  #25523 : Correct "a" article to "an" article  
							
							... 
							
							
							
							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. 
							
						 
						
							2015-11-02 03:37:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								008d88b462 
								
							 
						 
						
							
							
								
								Issue  #24009 : Got rid of using rare "y#" format unit in TextIOWrapper.tell().  
							
							... 
							
							
							
							Parsed value should be bytes, not general robuffer, this is required in other
places. 
							
						 
						
							2015-05-06 09:53:07 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Larry Hastings 
								
							 
						 
						
							
							
							
							
								
							
							
								dbfdc380df 
								
							 
						 
						
							
							
								
								Issue  #24001 : Argument Clinic converters now use accept={type}  
							
							... 
							
							
							
							instead of types={'type'} to specify the types the converter accepts. 
							
						 
						
							2015-05-04 06:59:46 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								bb72c47996 
								
							 
						 
						
							
							
								
								Use PyArg_ParseTuple (new API) instead of PyArg_Parse (old API) for parsing tuples.  
							
							
							
						 
						
							2015-04-19 20:38:19 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								f24131ff31 
								
							 
						 
						
							
							
								
								Issue  #20175 : Converted the _io module to Argument Clinic.  
							
							
							
						 
						
							2015-04-16 11:19:43 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								56452eea39 
								
							 
						 
						
							
							
								
								Issue  #22982 : Improve BOM handling when seeking to multiple positions of a writable text file.  
							
							
							
						 
						
							2015-04-13 20:02:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								85e3ee749c 
								
							 
						 
						
							
							
								
								Issue  #22982 : Improve BOM handling when seeking to multiple positions of a writable text file.  
							
							
							
						 
						
							2015-04-13 20:01:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								2e1c4e5db2 
								
							 
						 
						
							
							
								
								Issue  #23785 : Fixed memory leak in TextIOWrapper.tell() in rare circumstances.  
							
							
							
						 
						
							2015-03-30 10:00:40 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								04d09ebd39 
								
							 
						 
						
							
							
								
								Issue  #23785 : Fixed memory leak in TextIOWrapper.tell() in rare circumstances.  
							
							
							
						 
						
							2015-03-30 09:58:41 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								98beb7599e 
								
							 
						 
						
							
							
								
								merge 3.4 ( #23093 )  
							
							
							
						 
						
							2014-12-21 21:00:51 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								10e76b67c9 
								
							 
						 
						
							
							
								
								allow more operations to work on detached streams ( closes   #23093 )  
							
							... 
							
							
							
							Patch by Martin Panter. 
							
						 
						
							2014-12-21 20:51:50 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								994c7f76a3 
								
							 
						 
						
							
							
								
								merge 3.4 ( #22849 )  
							
							
							
						 
						
							2014-11-12 10:23:35 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								6c14f23100 
								
							 
						 
						
							
							
								
								fix possible double free in TextIOWrapper.__init__ ( closes   #22849 )  
							
							
							
						 
						
							2014-11-12 10:19:46 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								78184af9b5 
								
							 
						 
						
							
							
								
								Issue  #21715 : Extracted shared complicated code in the _io module to new  
							
							... 
							
							
							
							_PyErr_ChainExceptions() function. 
							
						 
						
							2014-10-08 22:32:50 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								e2bd2a7186 
								
							 
						 
						
							
							
								
								Issue  #21715 : Extracted shared complicated code in the _io module to new  
							
							... 
							
							
							
							_PyErr_ChainExceptions() function. 
							
						 
						
							2014-10-08 22:31:52 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								706768c687 
								
							 
						 
						
							
							
								
								Issue  #22156 : Fix some "comparison between signed and unsigned integers"  
							
							... 
							
							
							
							compiler warnings in the Modules/ subdirectory. 
							
						 
						
							2014-08-16 01:03:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								7d7e7756d9 
								
							 
						 
						
							
							
								
								Issue  #10310 : Use "unsigned int field:1" instead of "signed int field:1" in a  
							
							... 
							
							
							
							private structure of the _io module to fix a compiler warning (overflow when
assigning the value 1). Fix also a cast in
incrementalnewlinedecoder_setstate().  Patch written by Hallvard B Furuseth. 
							
						 
						
							2014-06-17 23:31:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								ec87a13e5d 
								
							 
						 
						
							
							
								
								PyErr_NormalizeException doesn't like being called with an exception set  
							
							... 
							
							
							
							(issues #21677 , #21310 ). 
							
						 
						
							2014-06-11 07:19:39 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								76d3f14e01 
								
							 
						 
						
							
							
								
								PyErr_NormalizeException doesn't like being called with an exception set  
							
							... 
							
							
							
							(issues #21677 , #21310 ). 
							
						 
						
							2014-06-11 07:18:53 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								85e4235c0e 
								
							 
						 
						
							
							
								
								Issue  #21677 : Fixed chaining nonnormalized exceptions in io close() methods.  
							
							
							
						 
						
							2014-06-09 09:15:42 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								8a8f7f9830 
								
							 
						 
						
							
							
								
								Issue  #21677 : Fixed chaining nonnormalized exceptions in io close() methods.  
							
							
							
						 
						
							2014-06-09 09:13:04 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								38ca5a7b6d 
								
							 
						 
						
							
							
								
								Issue  #21396 : Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.  
							
							... 
							
							
							
							Patch by akira. 
							
						 
						
							2014-05-09 00:31:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								c644e7c39f 
								
							 
						 
						
							
							
								
								Issue  #21396 : Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.  
							
							... 
							
							
							
							Patch by akira. 
							
						 
						
							2014-05-09 00:24:50 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								b8503896ad 
								
							 
						 
						
							
							
								
								Issue  #21057 : TextIOWrapper now allows the underlying binary stream's read() or read1() method to return an arbitrary bytes-like object (such as a memoryview).  
							
							... 
							
							
							
							Patch by Nikolaus Rath. 
							
						 
						
							2014-04-29 10:14:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								a9b15241c6 
								
							 
						 
						
							
							
								
								Close   #20404 : blacklist non-text encodings in io.TextIOWrapper  
							
							... 
							
							
							
							- 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. 
							
						 
						
							2014-02-04 22:11:18 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								712cb734bd 
								
							 
						 
						
							
							
								
								Issue  #20037 : Avoid crashes when doing text I/O late at interpreter shutdown.  
							
							
							
						 
						
							2013-12-21 15:51:54 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								4d397008cd 
								
							 
						 
						
							
							
								
								Issue  #19356 : Avoid using a C variabled named "_self", it's a reserved word in some C compilers.  
							
							
							
						 
						
							2013-10-23 19:21:55 +02:00