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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								2fc8f773e1 
								
							 
						 
						
							
							
								
								Issue  #20404 : reject non-text encodings early in TextIOWrapper.  
							
							
							
						 
						
							2014-03-02 09:18:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								5bdfc51950 
								
							 
						 
						
							
							
								
								Issue  #17671 : Fixed a crash when use non-initialized io.BufferedRWPair.  
							
							... 
							
							
							
							Based on patch by Stephen Tu. 
							
						 
						
							2014-02-12 10:55:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								61e2493b83 
								
							 
						 
						
							
							
								
								Issue  #17671 : Fixed a crash when use non-initialized io.BufferedRWPair.  
							
							... 
							
							
							
							Based on patch by Stephen Tu. 
							
						 
						
							2014-02-12 10:52:35 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								d667d72cb7 
								
							 
						 
						
							
							
								
								Temporary silence test broken by issue19255.  
							
							... 
							
							
							
							Remove unused variables. 
							
						 
						
							2014-02-10 19:09:19 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								f28ba369dd 
								
							 
						 
						
							
							
								
								Issue  #20532 : Tests which use _testcapi now are marked as CPython only.  
							
							
							
						 
						
							2014-02-07 10:10:55 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								5cfc79deae 
								
							 
						 
						
							
							
								
								Issue  #20532 : Tests which use _testcapi now are marked as CPython only.  
							
							
							
						 
						
							2014-02-07 10:06:39 +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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								101d9e7250 
								
							 
						 
						
							
							
								
								Issue 19572: More silently skipped tests explicitly skipped.  
							
							
							
						 
						
							2013-12-08 00:44:27 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								9fe6d86709 
								
							 
						 
						
							
							
								
								Issue 19572: More silently skipped tests explicitly skipped.  
							
							
							
						 
						
							2013-12-08 00:20:35 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								2480c2ed59 
								
							 
						 
						
							
							
								
								Issue  #15204 : Silence and check the 'U' mode deprecation warnings in tests.  
							
							... 
							
							
							
							Changed deprecation message in the fileinput module. 
							
						 
						
							2013-11-24 23:13:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								796564c27b 
								
							 
						 
						
							
							
								
								Issue  #18112 : PEP 442 implementation (safe object finalization).  
							
							
							
						 
						
							2013-07-30 19:59:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								775b2dd778 
								
							 
						 
						
							
							
								
								test_io: check_interrupted_write() now cancels the alarm if ZeroDivisionError  
							
							... 
							
							
							
							exception was not raised.
Before the process was killed by SIGALRM in another random test (1 second later) 
							
						 
						
							2013-07-15 19:53:13 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								37a79a12d1 
								
							 
						 
						
							
							
								
								Issue  #18025 : Fixed a segfault in io.BufferedIOBase.readinto() when raw  
							
							... 
							
							
							
							stream's read() returns more bytes than requested. 
							
						 
						
							2013-05-28 16:24:45 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								281945f427 
								
							 
						 
						
							
							
								
								Issue  #18025 : Fixed a segfault in io.BufferedIOBase.readinto() when raw  
							
							... 
							
							
							
							stream's read() returns more bytes than requested. 
							
						 
						
							2013-05-28 16:27:08 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								34373b2252 
								
							 
						 
						
							
							
								
								Issue  #17835 : Fix test_io when the default OS pipe buffer size is larger than one million bytes.  
							
							
							
						 
						
							2013-04-24 23:33:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								e1a1674e1e 
								
							 
						 
						
							
							
								
								Issue  #17835 : Fix test_io when the default OS pipe buffer size is larger than one million bytes.  
							
							
							
						 
						
							2013-04-24 23:31:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								e94cbd188b 
								
							 
						 
						
							
							
								
								#17479 : merge with 3.3.  
							
							
							
						 
						
							2013-03-23 16:36:58 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								daa42c778e 
								
							 
						 
						
							
							
								
								#17479 : test_io now works with unittest test discovery.  Patch by Zachary Ware.  
							
							
							
						 
						
							2013-03-23 16:30:16 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								d7c59e101f 
								
							 
						 
						
							
							
								
								Merge  #17275 : Fix class name in init errors in C bufferedio classes.  
							
							... 
							
							
							
							This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob. 
							
						 
						
							2013-02-23 22:21:48 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								9f10f56d13 
								
							 
						 
						
							
							
								
								Merge  #17275 : Fix class name in init errors in C bufferedio classes.  
							
							... 
							
							
							
							This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob. 
							
						 
						
							2013-02-23 22:07:55 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								67bfe80758 
								
							 
						 
						
							
							
								
								#17275 : Fix class name in init errors in C bufferedio classes.  
							
							... 
							
							
							
							This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob. 
							
						 
						
							2013-02-23 21:51:05 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								cce1b8eda8 
								
							 
						 
						
							
							
								
								Issue  #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying  
							
							... 
							
							
							
							stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec). 
							
						 
						
							2013-02-03 17:09:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								d03ce4ae3d 
								
							 
						 
						
							
							
								
								Issue  #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying  
							
							... 
							
							
							
							stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec). 
							
						 
						
							2013-02-03 17:07:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								94dc6736bd 
								
							 
						 
						
							
							
								
								Issue  #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying  
							
							... 
							
							
							
							stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec). 
							
						 
						
							2013-02-03 17:03:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								441d30fac7 
								
							 
						 
						
							
							
								
								Issue  #15989 : Fix several occurrences of integer overflow  
							
							... 
							
							
							
							when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277. 
							
						 
						
							2013-01-19 12:26:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								9101e23ff6 
								
							 
						 
						
							
							
								
								Issue  #15989 : Fix several occurrences of integer overflow  
							
							... 
							
							
							
							when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277. 
							
						 
						
							2013-01-19 12:41:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								7898043868 
								
							 
						 
						
							
							
								
								Issue  #15989 : Fix several occurrences of integer overflow  
							
							... 
							
							
							
							when result of PyLong_AsLong() narrowed to int without checks. 
							
						 
						
							2013-01-15 01:12:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								f7a17b48d7 
								
							 
						 
						
							
							
								
								Replace IOError with OSError ( #16715 )  
							
							
							
						 
						
							2012-12-25 16:47:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								4c05969fc4 
								
							 
						 
						
							
							
								
								merge 3.3 ( #16597 )  
							
							
							
						 
						
							2012-12-20 11:55:16 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								68623614f0 
								
							 
						 
						
							
							
								
								call close on the underlying stream even if flush raises ( closes   #16597 )  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-12-20 11:53:11 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								3438fa496d 
								
							 
						 
						
							
							
								
								Get rig of EnvironmentError ( #16705 )  
							
							
							
						 
						
							2012-12-17 23:35:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								8261f838ff 
								
							 
						 
						
							
							
								
								Merge for issue  #15744 : add tests for the writelines() method of file objects.  
							
							
							
						 
						
							2012-10-16 23:06:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								0c7081aff4 
								
							 
						 
						
							
							
								
								Merge for issue  #15744 : add tests for the writelines() method of file objects.  
							
							
							
						 
						
							2012-10-16 23:05:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								3ed2cb5520 
								
							 
						 
						
							
							
								
								Also add tests for TextIOWrapper.writelines() (issue  #15744 ).  
							
							
							
						 
						
							2012-10-16 23:02:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								131a489903 
								
							 
						 
						
							
							
								
								Add tests for the writelines() method of file objects.  
							
							... 
							
							
							
							Original patch by Felipe Cruz. 
							
						 
						
							2012-10-16 22:57:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jesus Cea 
								
							 
						 
						
							
							
							
							
								
							
							
								dc469454ec 
								
							 
						 
						
							
							
								
								Closes   #15488 : Closed files keep their buffer alive  
							
							
							
						 
						
							2012-10-04 12:37:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								7b648753ab 
								
							 
						 
						
							
							
								
								Added test for 85cb90f79cbf and see how the code handles all flags at once  
							
							
							
						 
						
							2012-09-10 14:48:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								a264384fe6 
								
							 
						 
						
							
							
								
								Issue  #15487 : Add a __sizeof__ implementation for buffered I/O objects.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-07-29 19:04:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								10f0c50a0b 
								
							 
						 
						
							
							
								
								Issue  #15487 : Add a __sizeof__ implementation for buffered I/O objects.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-07-29 19:02:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florent Xicluna 
								
							 
						 
						
							
							
							
							
								
							
							
								109d57358e 
								
							 
						 
						
							
							
								
								Issue  #13248 : io: Remove obsolete argument "max_buffer_size" of BufferedWriter and BufferedRWPair.  
							
							
							
						 
						
							2012-07-07 17:03:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								875c1bc522 
								
							 
						 
						
							
							
								
								Backout change e8f44ebacda7052267318cecf5b6f128d35add17.  Reverting the test  
							
							... 
							
							
							
							to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1).
This is an attempt to see if this change is what caused the ubuntu arm buildbot
to hang in test_io's test_interrupted_write_retry_text.
Discussion in Issue #12268 . 
							
						 
						
							2012-06-25 01:15:14 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								b5ba203709 
								
							 
						 
						
							
							
								
								Backout change e8f44ebacda7052267318cecf5b6f128d35add17.  Reverting the test  
							
							... 
							
							
							
							to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1).
This is an attempt to see if this change is what caused the ubuntu arm buildbot
to hang in test_io's test_interrupted_write_retry_text.
Discussion in Issue #12268 . 
							
						 
						
							2012-06-25 01:13:32 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								990a5feba7 
								
							 
						 
						
							
							
								
								Fixes issue  #12268 : File readline, readlines and read() or readall() methods  
							
							... 
							
							
							
							no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods. 
							
						 
						
							2012-06-24 00:23:47 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								8150492f11 
								
							 
						 
						
							
							
								
								Speed up test_io by >2x by reducing the sleep time using setitimer instead of  
							
							... 
							
							
							
							alarm for the signal tests. 
							
						 
						
							2012-06-23 23:46:37 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jesus Cea 
								
							 
						 
						
							
							
							
							
								
							
							
								9436361e4c 
								
							 
						 
						
							
							
								
								Closes   #10142 : Support for SEEK_HOLE/SEEK_DATA  
							
							
							
						 
						
							2012-06-22 18:32:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								f86a5e8a93 
								
							 
						 
						
							
							
								
								Close   #11022 : TextIOWrapper doesn't call locale.setlocale() anymore  
							
							... 
							
							
							
							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. 
							
						 
						
							2012-06-05 13:43:22 +02:00