mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Issue #21201: Improves readability of multiprocessing error message from server to client for certain exceptions
This commit is contained in:
		
							parent
							
								
									014d52ffc4
								
							
						
					
					
						commit
						37156a70b9
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -275,7 +275,7 @@ class Server(object):
 | 
			
		|||
                try:
 | 
			
		||||
                    send(msg)
 | 
			
		||||
                except Exception as e:
 | 
			
		||||
                    send(('#UNSERIALIZABLE', repr(msg)))
 | 
			
		||||
                    send(('#UNSERIALIZABLE', format_exc()))
 | 
			
		||||
            except Exception as e:
 | 
			
		||||
                util.info('exception in thread serving %r',
 | 
			
		||||
                        threading.current_thread().name)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -221,6 +221,9 @@ Library
 | 
			
		|||
- Issue #27930: Improved behaviour of logging.handlers.QueueListener.
 | 
			
		||||
  Thanks to Paulo Andrade and Petr Viktorin for the analysis and patch.
 | 
			
		||||
 | 
			
		||||
- Issue #21201: Improves readability of multiprocessing error message.  Thanks
 | 
			
		||||
  to Wojciech Walczak for patch.
 | 
			
		||||
 | 
			
		||||
IDLE
 | 
			
		||||
----
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue