mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	bpo-45061: Enhance faulthandler traceback wit no Python frame (GH-28090)
Fix indentation of <no Python frame> message in a faulthandler traceback or a Fatal Python error traceback. Example: Current thread 0x00007f03896fb740 (most recent call first): Garbage-collecting <no Python frame>
This commit is contained in:
		
							parent
							
								
									3c65457156
								
							
						
					
					
						commit
						888d4cc06b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1071,7 +1071,7 @@ dump_traceback(int fd, PyThreadState *tstate, int write_header) | |||
| 
 | ||||
|     frame = tstate->frame; | ||||
|     if (frame == NULL) { | ||||
|         PUTS(fd, "<no Python frame>\n"); | ||||
|         PUTS(fd, "  <no Python frame>\n"); | ||||
|         return; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner