mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Store actual ints, not pointers to them in the interpreter state. (GH-29274)
This commit is contained in:
		
							parent
							
								
									13d9205f40
								
							
						
					
					
						commit
						4fc68560ea
					
				
					 5 changed files with 10 additions and 21 deletions
				
			
		|  | @ -659,9 +659,7 @@ pycore_init_singletons(PyInterpreterState *interp) | |||
| { | ||||
|     PyStatus status; | ||||
| 
 | ||||
|     if (_PyLong_Init(interp) < 0) { | ||||
|         return _PyStatus_ERR("can't init longs"); | ||||
|     } | ||||
|     _PyLong_Init(interp); | ||||
| 
 | ||||
|     if (_Py_IsMainInterpreter(interp)) { | ||||
|         _PyFloat_Init(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Mark Shannon
						Mark Shannon