| 
								
								
									 Xiang Zhang | ea1cf87030 | Issue #29044: Fix a use-after-free in string '%c' formatter. | 2016-12-22 15:30:47 +08:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 419967b832 | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | 2016-12-06 00:13:34 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 292dd1b2ad | Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). | 2016-11-16 16:12:34 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | f5894dd646 | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. The latter function is more readable, faster and doesn't raise exceptions.
Based on patch by Xiang Zhang. | 2016-11-16 15:40:39 +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 | 6b4b6e956e | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode astral characters. | 2016-11-12 14:35:46 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 84293aff9f | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode astral characters. | 2016-11-12 14:29:48 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | b626643734 | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode astral characters. | 2016-11-12 14:28:06 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 839023f12c | Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build. | 2016-10-25 10:13:43 +03:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 77eede35fc | Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build. | 2016-10-25 10:07:51 +03:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | 8d761ff045 | remove extra PyErr_Format arguments (closes #28454) Patch from Xiang Zhang. | 2016-10-16 15:41:46 -07:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 9c0e1f83af | Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters(). Patch by Xiang Zhang. | 2016-10-08 22:45:38 +03:00 |  | 
				
					
						| 
								
								
									 Victor Stinner | 1ddf53d496 | Fix PyUnicode_FromFormatV() error handling Issue #28233: Fix a memory leak if the format string contains a non-ASCII
character, destroy the unicode writer. | 2016-09-21 14:13:14 +02:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | 33d2a492d0 | promote some shifts to unsigned, so as not to invoke undefined behavior | 2016-09-06 20:40:04 -07:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 9305d83425 | Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as an iterable of integers. Now only strings and byte-like objects are accepted. | 2016-06-18 13:53:36 +03:00 |  | 
				
					
						| 
								
								
									 Martin Panter | e26da7c03a | Issue #27171: Fix typos in documentation, comments, and test function names | 2016-06-02 10:07:09 +00:00 |  | 
				
					
						| 
								
								
									 Martin Panter | 6245cb3c01 | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc This affects documentation, code comments, and a debugging messages. | 2016-04-15 02:14:19 +00:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 57a01d3a0e | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF in places where Py_DECREF was used. | 2016-04-10 18:05:40 +03:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 48842714b9 | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | 2016-04-06 09:45:48 +03:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | fbb1c5ee06 | Issue #26494: Fixed crash on iterating exhausting iterators. Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator. | 2016-03-30 20:40:02 +03:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 31b9410654 | Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. | 2015-12-03 01:02:03 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 7aa690860e | Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. | 2015-12-03 01:02:03 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | d65c9496da | Issue #25523: Further a-to-an corrections. | 2015-11-02 14:10:23 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 28b21e50c8 | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: 1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate. | 2015-10-02 13:07:28 +03:00 |  | 
				
					
						| 
								
								
									 Zachary Ware | 79b98df023 | Issue #21279: Flesh out str.translate docs Initial patch by Kinga Farkas, Martin Panter, and John Posner. | 2015-08-05 23:54:15 -05:00 |  | 
				
					
						| 
								
								
									 Antoine Pitrou | f6d1f1fa8a | Fix some compilation warnings when using gcc (-Wmaybe-uninitialized). | 2015-05-19 21:04:33 +02:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | e5a853c390 | use PyMem_NEW to detect overflow (closes #23362) | 2015-03-02 13:23:25 -05:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 4dbc305002 | Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV.  Analysis and fix by Guido Vranken. | 2015-01-27 22:18:46 +02:00 |  | 
				
					
						| 
								
								
									 Antoine Pitrou | b6dc9b7554 | Fixed signed/unsigned comparison warning | 2014-10-15 23:14:53 +02:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | 1e211ff10d | it suffices to check for PY_SSIZE_T_MAX overflow (#22643) | 2014-10-15 12:17:21 -04:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | c0e64f5027 | make sure length is unsigned | 2014-10-15 11:51:05 -04:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | e1bd38c03c | fix integer overflow in unicode case operations (closes #22643) | 2014-10-15 11:47:36 -04:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | 736b8012b4 | prevent overflow in unicode_repr (closes #22520) | 2014-09-29 23:02:15 -04:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | a1c1be4e03 | cleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_ucs1 (closes #22518) | 2014-09-29 18:18:57 -04:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 48070c1248 | Issue #23803: Fixed str.partition() and str.rpartition() when a separator is wider then partitioned string. | 2015-03-29 19:21:02 +03:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | 92ce1b4392 | merge 3.3 (#23362) | 2015-03-02 13:23:41 -05:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | e55181f517 | Issue #23490: Fixed possible crashes related to interoperability between old-style and new API for string with 2**30-1 characters. | 2015-02-20 21:34:06 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 1a1ff29659 | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer overflows.  Added few missed PyErr_NoMemory(). | 2015-02-16 13:28:22 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 7e4b9057b3 | Issue #23321: Fixed a crash in str.decode() when error handler returned replacment string longer than mailformed input data. | 2015-01-26 01:22:54 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | d3faf43f9b | Issue #23181: More "codepoint" -> "code point". | 2015-01-18 11:28:37 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | b757c83ec6 | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | 2014-12-05 22:25:22 +02:00 |  | 
				
					
						| 
								
								
									 Serhiy Storchaka | 133b11b566 | Issue #22975: Close block at right place. | 2014-12-01 18:56:28 +02:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | fa5021699a | Merge 3.3 | 2014-10-15 23:58:32 -04:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | 9c422f3c3d | merge 3.3 | 2014-10-15 12:17:33 -04:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | 60d7a73194 | Merge 3.3 | 2014-10-15 11:51:12 -04:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | 1cbb3fe775 | merge 3.3 (#22643) | 2014-10-15 11:48:41 -04:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | 43030ee780 | merge 3.3 (#22520) | 2014-09-29 23:02:35 -04:00 |  | 
				
					
						| 
								
								
									 Benjamin Peterson | 2b76ce6d27 | merge 3.3 (closes #22518) | 2014-09-29 18:50:06 -04:00 |  | 
				
					
						| 
								
								
									 Victor Stinner | a33bce0945 | Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, PyErr_Format() uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T | 2014-07-04 22:47:46 +02:00 |  | 
				
					
						| 
								
								
									 Victor Stinner | 293f3f526d | Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C size_t, because %zi/%u is not supported on all platforms. | 2014-07-01 08:57:10 +02:00 |  |