mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Fix SF bug #1072182, problems with signed characters.
Most of these can be backported.
This commit is contained in:
parent
5d0ad50f5a
commit
30b5c5d011
11 changed files with 16 additions and 14 deletions
|
@ -2879,7 +2879,7 @@ static PyObject *
|
|||
parsestr(const char *s, const char *encoding)
|
||||
{
|
||||
size_t len;
|
||||
int quote = *s;
|
||||
int quote = Py_CHARMASK(*s);
|
||||
int rawmode = 0;
|
||||
int need_encoding;
|
||||
int unicode = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue