mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	eval_code2(): Oops, in the last checkin, we shouldn't check for
PyErr_Occurred(), just set x=NULL and break. Oh, and make Jeremy stop nagging me about the "special" indentation for this block.
This commit is contained in:
		
							parent
							
								
									4961ef7086
								
							
						
					
					
						commit
						b2ba9d8963
					
				
					 1 changed files with 2 additions and 6 deletions
				
			
		|  | @ -1637,12 +1637,8 @@ eval_code2(co, globals, locals, | |||
| 			    } | ||||
| 			    nstar = PySequence_Length(stararg); | ||||
| 			    if (nstar < 0) { | ||||
| 				    if (!PyErr_Occurred) | ||||
| 					    PyErr_SetString( | ||||
| 						    PyExc_TypeError, | ||||
| 						    "len() of unsized object"); | ||||
| 				    x = NULL; | ||||
| 				    break; | ||||
| 				x = NULL; | ||||
| 				break; | ||||
| 			    } | ||||
| 			} | ||||
| 			if (nk > 0) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Barry Warsaw
						Barry Warsaw