mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Patch 1494554: Update numeric properties to Unicode 4.1.
This commit is contained in:
		
							parent
							
								
									d1b6cd7bfb
								
							
						
					
					
						commit
						d004fc810a
					
				
					 6 changed files with 336 additions and 11 deletions
				
			
		|  | @ -2376,6 +2376,7 @@ PyObject *_PyUnicode_DecodeUnicodeInternal(const char *s, | |||
|     end = s + size; | ||||
| 
 | ||||
|     while (s < end) { | ||||
| 	*p = *(Py_UNICODE*)s; | ||||
|         memcpy(p, s, sizeof(Py_UNICODE)); | ||||
|         /* We have to sanity check the raw data, otherwise doom looms for
 | ||||
|            some malformed UCS-4 data. */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Martin v. Löwis
						Martin v. Löwis