bpo-30911: Fix a crash in json on platforms with unsigned char (#2684)
when pass bad strict argument.
This commit is contained in:
parent
3fbd70018f
commit
541bd28941
|
@ -18,7 +18,7 @@ static PyTypeObject PyEncoderType;
|
|||
|
||||
typedef struct _PyScannerObject {
|
||||
PyObject_HEAD
|
||||
char strict;
|
||||
signed char strict;
|
||||
PyObject *object_hook;
|
||||
PyObject *object_pairs_hook;
|
||||
PyObject *parse_float;
|
||||
|
|
Loading…
Reference in New Issue