diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-01-01 23:05:36 +0000 |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-01-01 23:05:36 +0000 |
commit | 5f7ee6127f7012dfb6f97522ab0295af25bd03c4 (patch) | |
tree | c9d0870487d7947cd15716c94cbfc576fa0fbdf5 /Python/pythonrun.c | |
parent | b140005d981ef2bb17f76ef69aa6ac1717526859 (diff) | |
download | cpython-5f7ee6127f7012dfb6f97522ab0295af25bd03c4.tar.gz |
#4747: on Windows, starting a module with a non-ascii filename would print a useless "SyntaxError: None"
when the script contains a "# coding:" declaration.
The Python API expects char* to be utf-8 encoded. wcstombs should be avoided here.
Reviewed by Benjamin. Will backport to 3.0
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions