#7301: decode $PYTHONWARNINGS in the same way as argv, test non-ascii values

This commit is contained in:
Philip Jenvey 2010-04-14 03:01:39 +00:00
parent 9b82f990cb
commit e53de3dc4a
4 changed files with 55 additions and 17 deletions

View file

@ -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__