Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								07985ef387 
								
							 
						 
						
							
							
								
								Issue  #22286 : The "backslashreplace" error handlers now works with  
							
							... 
							
							
							
							decoding and translating. 
							
						 
						
							2015-01-25 22:56:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								582acb75e9 
								
							 
						 
						
							
							
								
								Merge issue 19548 changes from 3.4  
							
							
							
						 
						
							2015-01-07 00:37:01 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								b9fdb7a452 
								
							 
						 
						
							
							
								
								Issue 19548: update codecs module documentation  
							
							... 
							
							
							
							- clarified the distinction between text encodings and other codecs
- clarified relationship with builtin open and the io module
- consolidated documentation of error handlers into one section
- clarified type constraints of some behaviours
- added tests for some of the new statements in the docs 
							
						 
						
							2015-01-07 00:22:00 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								f65d1d3b02 
								
							 
						 
						
							
							
								
								Issue  #23071 : "namereplace_errors" was added only in 3.5.  
							
							
							
						 
						
							2014-12-20 18:53:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								4d33ff6183 
								
							 
						 
						
							
							
								
								Issue  #23071 : Added missing names to codecs.__all__.  Patch by Martin Panter.  
							
							
							
						 
						
							2014-12-20 17:46:05 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								de3ee5b94f 
								
							 
						 
						
							
							
								
								Issue  #23071 : Added missing names to codecs.__all__.  Patch by Martin Panter.  
							
							
							
						 
						
							2014-12-20 17:42:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								166ebc4e5d 
								
							 
						 
						
							
							
								
								Issue  #19676 : Added the "namereplace" error handler.  
							
							
							
						 
						
							2014-11-25 13:57:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								85e7066278 
								
							 
						 
						
							
							
								
								Issue  #22406 : Fixed the uu_codec codec incorrectly ported to 3.x.  
							
							... 
							
							
							
							Based on patch by Martin Panter. 
							
						 
						
							2014-11-07 14:06:19 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								519114df42 
								
							 
						 
						
							
							
								
								Issue  #22406 : Fixed the uu_codec codec incorrectly ported to 3.x.  
							
							... 
							
							
							
							Based on patch by Martin Panter. 
							
						 
						
							2014-11-07 14:04:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								a0f33759fa 
								
							 
						 
						
							
							
								
								Merge fix for issue  #22166  from 3.4  
							
							
							
						 
						
							2014-09-15 23:55:16 +12:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								8fad1676a2 
								
							 
						 
						
							
							
								
								Issue  #22166 : clear codec caches in test_codecs  
							
							
							
						 
						
							2014-09-15 23:50:44 +12:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								0d4e01ca07 
								
							 
						 
						
							
							
								
								Issue  #13916 : Fix surrogatepass error handler on Windows  
							
							
							
						 
						
							2014-05-16 14:46:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								88d8fb6af6 
								
							 
						 
						
							
							
								
								Issue  #13916 : Disallowed the surrogatepass error handler for non UTF-*  
							
							... 
							
							
							
							encodings. 
							
						 
						
							2014-05-15 14:37:42 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								a57dfd033c 
								
							 
						 
						
							
							
								
								Issue  #21488 : Add support of keyword arguments for codecs.encode and codecs.decode  
							
							
							
						 
						
							2014-05-14 17:13:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								07beb375b7 
								
							 
						 
						
							
							
								
								Issue  #20574 : Remove duplicated test failing on Windows XP  
							
							
							
						 
						
							2014-03-18 01:40:22 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								f8cbf78bbd 
								
							 
						 
						
							
							
								
								Issue  #20574 : Add more tests for cp65001  
							
							
							
						 
						
							2014-03-17 23:16:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								7d00cc1a64 
								
							 
						 
						
							
							
								
								Issue  #20574 : Implement incremental decoder for cp65001 code  
							
							... 
							
							
							
							(Windows code page 65001, Microsoft UTF-8). 
							
						 
						
							2014-03-17 23:08:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								3633ce3301 
								
							 
						 
						
							
							
								
								Issue  #20571 : skip test_readline() of test_codecs for Windows code page 65001.  
							
							... 
							
							
							
							The decoder does not support partial decoding yet for this code page. 
							
						 
						
							2014-02-09 13:11:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								6cbf151032 
								
							 
						 
						
							
							
								
								Issue  #20538 : UTF-7 incremental decoder produced inconsistant string when  
							
							... 
							
							
							
							input was truncated in BASE64 section. 
							
						 
						
							2014-02-08 14:06:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								016a3f33a5 
								
							 
						 
						
							
							
								
								Issue  #20538 : UTF-7 incremental decoder produced inconsistant string when  
							
							... 
							
							
							
							input was truncated in BASE64 section. 
							
						 
						
							2014-02-08 14:01:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								96252cd724 
								
							 
						 
						
							
							
								
								Issue 20542: Temporarily skip failing test  
							
							
							
						 
						
							2014-02-07 23:34:41 +10: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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								3dcb0cf9b1 
								
							 
						 
						
							
							
								
								Issue  #20520 : Fixed readline test in test_codecs.  
							
							
							
						 
						
							2014-02-06 09:27:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								5b4fab1ad7 
								
							 
						 
						
							
							
								
								Issue  #20520 : Fixed readline test in test_codecs.  
							
							
							
						 
						
							2014-02-06 09:26:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								dbe0982bc5 
								
							 
						 
						
							
							
								
								Issue  #8260 : The read(), readline() and readlines() methods of  
							
							... 
							
							
							
							codecs.StreamReader returned incomplete data when were called after
readline() or read(size).  Based on patch by Amaury Forgeot d'Arc. 
							
						 
						
							2014-01-26 19:27:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								8003850e22 
								
							 
						 
						
							
							
								
								Issue  #8260 : The read(), readline() and readlines() methods of  
							
							... 
							
							
							
							codecs.StreamReader returned incomplete data when were called after
readline() or read(size).  Based on patch by Amaury Forgeot d'Arc. 
							
						 
						
							2014-01-26 19:21:00 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								77b286b2cc 
								
							 
						 
						
							
							
								
								Close   #20105 : set __traceback__ when chaining exceptions in C  
							
							
							
						 
						
							2014-01-27 00:53:38 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								efa2e04033 
								
							 
						 
						
							
							
								
								Issue19619: skip zlib error test when zlib not available  
							
							
							
						 
						
							2013-12-30 14:54:11 -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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								be0c3250b1 
								
							 
						 
						
							
							
								
								Issue  #19668 : Added support for the cp1125 encoding.  
							
							
							
						 
						
							2013-11-23 18:52:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								9c1aed8f94 
								
							 
						 
						
							
							
								
								Close   #7475 : Restore binary & text transform codecs  
							
							... 
							
							
							
							The codecs themselves were restored in Python 3.2, this
completes the restoration by adding back the convenience
aliases.
These aliases were originally left out due to confusing
errors when attempting to use them with the text encoding
specific convenience methods. Python 3.4 includes several
improvements to those errors, thus permitting the aliases
to be restored as well. 
							
						 
						
							2013-11-23 11:13:36 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								c72e4e6dcc 
								
							 
						 
						
							
							
								
								Issue  #19619 : Blacklist non-text codecs in method API  
							
							... 
							
							
							
							str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.
The latter mechanism remains in place for third party non-text
encodings. 
							
						 
						
							2013-11-22 22:39:36 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								f1de55fb33 
								
							 
						 
						
							
							
								
								Also chain codec exceptions that allow weakrefs  
							
							... 
							
							
							
							The zlib and hex codecs throw custom exception types with
weakref support if the input type is valid, but the data
fails validation. Make sure the exception chaining in the
codec infrastructure can wrap those as well. 
							
						 
						
							2013-11-19 22:33:10 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								58cf607d13 
								
							 
						 
						
							
							
								
								Issue  #12892 : The utf-16* and utf-32* codecs now reject (lone) surrogates.  
							
							... 
							
							
							
							The utf-16* and utf-32* encoders no longer allow surrogate code points
(U+D800-U+DFFF) to be encoded.
The utf-32* decoders no longer decode byte sequences that correspond to
surrogate code points.
The surrogatepass error handler now works with the utf-16* and utf-32* codecs.
Based on patches by Victor Stinner and Kang-Hao (Kenny) Lu. 
							
						 
						
							2013-11-19 11:32:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								4e553e2e52 
								
							 
						 
						
							
							
								
								Avoid triggering the refleak detector  
							
							
							
						 
						
							2013-11-16 00:35:34 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								c4c2580d43 
								
							 
						 
						
							
							
								
								Close 19609: narrow scope of codec exc chaining  
							
							
							
						 
						
							2013-11-15 21:47:37 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								8b097b4ed7 
								
							 
						 
						
							
							
								
								Close   #17828 : better handling of codec errors  
							
							... 
							
							
							
							- output type errors now redirect users to the type-neutral
  convenience functions in the codecs module
- stateless errors that occur during encoding and decoding
  will now be automatically wrapped in exceptions that give
  the name of the codec involved 
							
						 
						
							2013-11-13 23:49:21 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								0e071c967c 
								
							 
						 
						
							
							
								
								Fixed tests for issue  #19279 .  
							
							
							
						 
						
							2013-10-19 21:14:57 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								55e092f545 
								
							 
						 
						
							
							
								
								Issue  #19279 : UTF-7 decoder no more produces illegal strings.  
							
							
							
						 
						
							2013-10-19 20:39:28 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								35804e4c63 
								
							 
						 
						
							
							
								
								Issue  #19279 : UTF-7 decoder no more produces illegal strings.  
							
							
							
						 
						
							2013-10-19 20:38:19 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								fdf239a855 
								
							 
						 
						
							
							
								
								Close   #17839 : support bytes-like objects in base64 module  
							
							... 
							
							
							
							This mostly affected the encodebytes and decodebytes function
(which are used by base64_codec)
Also added a test to ensure all bytes-bytes codecs can handle
memoryview input and tests for handling of multidimensional
and non-bytes format input in the modern base64 API. 
							
						 
						
							2013-10-03 00:43:22 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								7b07873b93 
								
							 
						 
						
							
							
								
								Add tests for raw-unicode-escape codec.  
							
							
							
						 
						
							2013-01-29 11:41:34 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								799fd9c877 
								
							 
						 
						
							
							
								
								Add tests for raw-unicode-escape codec.  
							
							
							
						 
						
							2013-01-29 11:41:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								c9c4338e2b 
								
							 
						 
						
							
							
								
								Add tests for raw-unicode-escape codec.  
							
							
							
						 
						
							2013-01-29 11:40:00 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								d8f07cd374 
								
							 
						 
						
							
							
								
								Clean up escape-decode decoder tests.  
							
							
							
						 
						
							2013-01-29 11:08:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								db6add7d71 
								
							 
						 
						
							
							
								
								Clean up escape-decode decoder tests.  
							
							
							
						 
						
							2013-01-29 11:07:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								077cb347a9 
								
							 
						 
						
							
							
								
								Clean up escape-decode decoder tests.  
							
							
							
						 
						
							2013-01-29 11:06:53 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								8fe5a9f9c3 
								
							 
						 
						
							
							
								
								Issue  #16979 : Fix error handling bugs in the unicode-escape-decode decoder.  
							
							
							
						 
						
							2013-01-29 10:37:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								24193debd4 
								
							 
						 
						
							
							
								
								Issue  #16979 : Fix error handling bugs in the unicode-escape-decode decoder.  
							
							
							
						 
						
							2013-01-29 10:28:07 +02:00