mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Remove another INT_MAX limitation
This commit is contained in:
		
							parent
							
								
									8ce358f5fe
								
							
						
					
					
						commit
						f15da6995b
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -225,8 +225,7 @@ PyUnicodeObject *_PyUnicode_New(Py_ssize_t length) | |||
|      */ | ||||
|     unicode->str[0] = 0; | ||||
|     unicode->str[length] = 0; | ||||
| 	assert(length<INT_MAX); | ||||
|     unicode->length = (int)length; | ||||
|     unicode->length = length; | ||||
|     unicode->hash = -1; | ||||
|     unicode->defenc = NULL; | ||||
|     return unicode; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Martin v. Löwis
						Martin v. Löwis