mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
Patch #734231: Update RiscOS support. In particular, correct
riscospath.extsep, and use os.extsep throughout.
This commit is contained in:
parent
5467d4c0e3
commit
a94568a753
27 changed files with 482 additions and 59 deletions
|
@ -420,7 +420,7 @@ optimize_code(PyObject *code, PyObject* consts)
|
|||
goto exitUnchanged;
|
||||
}
|
||||
}
|
||||
code = PyString_FromStringAndSize(codestr, codelen);
|
||||
code = PyString_FromStringAndSize((char *)codestr, codelen);
|
||||
PyMem_Free(codestr);
|
||||
return code;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue