mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00
#7301: decode $PYTHONWARNINGS in the same way as argv, test non-ascii values
This commit is contained in:
parent
9b82f990cb
commit
e53de3dc4a
4 changed files with 55 additions and 17 deletions
|
@ -123,6 +123,9 @@
|
|||
/* _Py_Mangle is defined in compile.c */
|
||||
PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
|
||||
|
||||
/* _Py_char2wchar lives in python.c */
|
||||
PyAPI_FUNC(wchar_t *) _Py_char2wchar(char *);
|
||||
|
||||
/* Convert a possibly signed character to a nonnegative int */
|
||||
/* XXX This assumes characters are 8 bits wide */
|
||||
#ifdef __CHAR_UNSIGNED__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue