mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue #26987: Correct implementation to match comment
This was inadvertently changed in 644b677c2ae5 to use self._stderr instead of _sys.stderr.
This commit is contained in:
		
							parent
							
								
									df40b62390
								
							
						
					
					
						commit
						78b5ed98d8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -921,7 +921,7 @@ def _bootstrap_inner(self): | |||
|                 # self. | ||||
|                 if _sys and _sys.stderr is not None: | ||||
|                     print("Exception in thread %s:\n%s" % | ||||
|                           (self.name, _format_exc()), file=self._stderr) | ||||
|                           (self.name, _format_exc()), file=_sys.stderr) | ||||
|                 elif self._stderr is not None: | ||||
|                     # Do the best job possible w/o a huge amt. of code to | ||||
|                     # approximate a traceback (code ideas from | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Zachary Ware
						Zachary Ware