summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-01-01 23:05:36 +0000
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-01-01 23:05:36 +0000
commit5f7ee6127f7012dfb6f97522ab0295af25bd03c4 (patch)
treec9d0870487d7947cd15716c94cbfc576fa0fbdf5 /Python/pythonrun.c
parentb140005d981ef2bb17f76ef69aa6ac1717526859 (diff)
downloadcpython-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