mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	gh-93061: Mark as artificial: backwards jump after async for (GH-93062) (GH-93110)
(cherry picked from commit a458be3263)
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
			
			
This commit is contained in:
		
							parent
							
								
									96218f774e
								
							
						
					
					
						commit
						f0950585a3
					
				
					 3 changed files with 55 additions and 0 deletions
				
			
		|  | @ -3152,6 +3152,8 @@ compiler_async_for(struct compiler *c, stmt_ty s) | |||
|     /* Success block for __anext__ */ | ||||
|     VISIT(c, expr, s->v.AsyncFor.target); | ||||
|     VISIT_SEQ(c, stmt, s->v.AsyncFor.body); | ||||
|     /* Mark jump as artificial */ | ||||
|     UNSET_LOC(c); | ||||
|     ADDOP_JUMP(c, JUMP, start); | ||||
| 
 | ||||
|     compiler_pop_fblock(c, FOR_LOOP, start); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Miss Islington (bot)
						Miss Islington (bot)