mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fixed bug in input() which broke pdb
This commit is contained in:
		
							parent
							
								
									f519261563
								
							
						
					
					
						commit
						91c77301bf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1340,7 +1340,7 @@ builtin_input(PyObject *self, PyObject *args) | |||
| 				Py_DECREF(stdin_encoding); | ||||
| 				return NULL; | ||||
| 			} | ||||
| 			prompt = PyString_AsString(po); | ||||
| 			prompt = PyUnicode_AsString(po); | ||||
| 			if (prompt == NULL) { | ||||
| 				Py_DECREF(stdin_encoding); | ||||
| 				Py_DECREF(po); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Christian Heimes
						Christian Heimes