Kaydet (Commit) 96bf3cc3 authored tarafından Neal Norwitz's avatar Neal Norwitz

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.
üst 3d7a90de
......@@ -65,7 +65,7 @@ def _decode_fontrecord(data, key):
return size, face, data[5:5+namelen]
def _decode_boolean(data, key):
return ord(data[0])
return data[0]
def _decode_text(data, key):
return data
......
......@@ -1312,7 +1312,7 @@ static PyObject *FSSpec_as_pathname(FSSpecObject *_self, PyObject *_args)
PyMac_Error(err);
return NULL;
}
_res = PyString_FromString(strbuf);
_res = PyUnicode_FromString(strbuf);
return _res;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment