mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Changed makefile() args from r/w to rb/wb, for non-unix compatability.
This commit is contained in:
		
							parent
							
								
									0d12ead05c
								
							
						
					
					
						commit
						2bb57b81f2
					
				
					 5 changed files with 7 additions and 7 deletions
				
			
		|  | @ -392,8 +392,8 @@ class StreamRequestHandler(BaseRequestHandler): | |||
| 
 | ||||
|     def setup(self): | ||||
| 	self.connection = self.request | ||||
| 	self.rfile = self.connection.makefile('r') | ||||
| 	self.wfile = self.connection.makefile('w', 0) | ||||
| 	self.rfile = self.connection.makefile('rb') | ||||
| 	self.wfile = self.connection.makefile('wb', 0) | ||||
| 
 | ||||
|     def finish(self): | ||||
| 	self.wfile.flush() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jack Jansen
						Jack Jansen