diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-09-04 09:18:06 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-09-04 09:18:06 (GMT) |
commit | 85bcc66bb492931b6ca3de21ca53ca53b754be33 (patch) | |
tree | 3e46f8d106d8ac338238c146480568dd4a3c0083 /Include/pythonrun.h | |
parent | 53de1902e7a9788d2d4b917b1b14b2a76171f0f4 (diff) | |
download | cpython-85bcc66bb492931b6ca3de21ca53ca53b754be33.zip cpython-85bcc66bb492931b6ca3de21ca53ca53b754be33.tar.gz cpython-85bcc66bb492931b6ca3de21ca53ca53b754be33.tar.bz2 |
Convert code from sys.stdin.encoding to UTF-8 in
interactive mode. Fixes #1100.
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r-- | Include/pythonrun.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 08278cf..607826a 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -40,7 +40,8 @@ PyAPI_FUNC(int) PyRun_InteractiveLoopFlags(FILE *, const char *, PyCompilerFlags PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(const char *, const char *, int, PyCompilerFlags *flags, PyArena *); -PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *, int, +PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *, + const char*, int, char *, char *, PyCompilerFlags *, int *, PyArena *); |