| commit | 30b5c5d0116f8e670a6ca74dcb6bd076a919d681 | [log] [tgz] |
|---|---|---|
| author | Neal Norwitz <nnorwitz@gmail.com> | Mon Dec 19 06:05:18 2005 +0000 |
| committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Dec 19 06:05:18 2005 +0000 |
| tree | 20c3e7e3ec210387941f3e9ac930537f71410a09 | |
| parent | 5d0ad50f5acf84f2e8a1ca5c6951f333aef0e25a [diff] [blame] |
Fix SF bug #1072182, problems with signed characters. Most of these can be backported.
diff --git a/Python/ast.c b/Python/ast.c index dde0d04..93334dc 100644 --- a/Python/ast.c +++ b/Python/ast.c
@@ -2879,7 +2879,7 @@ 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;