mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Close #11619: The parser and the import machinery do not encode Unicode
filenames anymore on Windows.
This commit is contained in:
parent
33824f6fd7
commit
14e461d5b9
22 changed files with 514 additions and 175 deletions
|
|
@ -17,6 +17,13 @@ PyAPI_FUNC(int) PyErr_WarnFormat(
|
|||
Py_ssize_t stack_level,
|
||||
const char *format, /* ASCII-encoded string */
|
||||
...);
|
||||
PyAPI_FUNC(int) PyErr_WarnExplicitObject(
|
||||
PyObject *category,
|
||||
PyObject *message,
|
||||
PyObject *filename,
|
||||
int lineno,
|
||||
PyObject *module,
|
||||
PyObject *registry);
|
||||
PyAPI_FUNC(int) PyErr_WarnExplicit(
|
||||
PyObject *category,
|
||||
const char *message, /* UTF-8 encoded string */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue