mirror of
				https://github.com/jart/cosmopolitan.git
				synced 2025-10-26 11:10:58 +00:00 
			
		
		
		
	Improve Python tree-shaking
This commit is contained in:
		
							parent
							
								
									5bb2275788
								
							
						
					
					
						commit
						4f41f2184d
					
				
					 169 changed files with 4182 additions and 2411 deletions
				
			
		
							
								
								
									
										17
									
								
								third_party/python/Modules/_io/_iomodule.c
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								third_party/python/Modules/_io/_iomodule.c
									
										
									
									
										vendored
									
									
								
							|  | @ -24,6 +24,23 @@ | |||
| /* clang-format off */ | ||||
| 
 | ||||
| PYTHON_PROVIDE("_io"); | ||||
| PYTHON_PROVIDE("_io.BlockingIOError"); | ||||
| PYTHON_PROVIDE("_io.BufferedRWPair"); | ||||
| PYTHON_PROVIDE("_io.BufferedRandom"); | ||||
| PYTHON_PROVIDE("_io.BufferedReader"); | ||||
| PYTHON_PROVIDE("_io.BufferedWriter"); | ||||
| PYTHON_PROVIDE("_io.BytesIO"); | ||||
| PYTHON_PROVIDE("_io.DEFAULT_BUFFER_SIZE"); | ||||
| PYTHON_PROVIDE("_io.FileIO"); | ||||
| PYTHON_PROVIDE("_io.IncrementalNewlineDecoder"); | ||||
| PYTHON_PROVIDE("_io.StringIO"); | ||||
| PYTHON_PROVIDE("_io.TextIOWrapper"); | ||||
| PYTHON_PROVIDE("_io.UnsupportedOperation"); | ||||
| PYTHON_PROVIDE("_io._BufferedIOBase"); | ||||
| PYTHON_PROVIDE("_io._IOBase"); | ||||
| PYTHON_PROVIDE("_io._RawIOBase"); | ||||
| PYTHON_PROVIDE("_io._TextIOBase"); | ||||
| PYTHON_PROVIDE("_io.open"); | ||||
| 
 | ||||
| /*
 | ||||
|     An implementation of the new I/O lib as defined by PEP 3116 - "New I/O" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue