mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Get a bunch of tests working on Mac OS. I suspect that a bunch of the
ord()s in Lib/plat-mac/ic.py need to be removed.
This commit is contained in:
		
							parent
							
								
									3d7a90dea1
								
							
						
					
					
						commit
						96bf3cc3fc
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -65,7 +65,7 @@ def _decode_fontrecord(data, key):
 | 
				
			||||||
    return size, face, data[5:5+namelen]
 | 
					    return size, face, data[5:5+namelen]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def _decode_boolean(data, key):
 | 
					def _decode_boolean(data, key):
 | 
				
			||||||
    return ord(data[0])
 | 
					    return data[0]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def _decode_text(data, key):
 | 
					def _decode_text(data, key):
 | 
				
			||||||
    return data
 | 
					    return data
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1312,7 +1312,7 @@ static PyObject *FSSpec_as_pathname(FSSpecObject *_self, PyObject *_args)
 | 
				
			||||||
	        PyMac_Error(err);
 | 
						        PyMac_Error(err);
 | 
				
			||||||
	        return NULL;
 | 
						        return NULL;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	_res = PyString_FromString(strbuf);
 | 
						_res = PyUnicode_FromString(strbuf);
 | 
				
			||||||
	return _res;
 | 
						return _res;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue