mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #8485: PyUnicode_FSConverter() doesn't accept bytearray object anymore,
you have to convert your bytearray filenames to bytes
This commit is contained in:
parent
c303c12160
commit
dcb2403022
8 changed files with 104 additions and 151 deletions
|
@ -1238,8 +1238,8 @@ PyAPI_FUNC(int) PyUnicode_EncodeDecimal(
|
|||
/* --- File system encoding ---------------------------------------------- */
|
||||
|
||||
/* ParseTuple converter which converts a Unicode object into the file
|
||||
system encoding, using the PEP 383 error handler; bytes objects are
|
||||
output as-is. */
|
||||
system encoding as a bytes object, using the PEP 383 error handler; bytes
|
||||
objects are output as-is. */
|
||||
|
||||
PyAPI_FUNC(int) PyUnicode_FSConverter(PyObject*, void*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue