Message78614
This also happens if there is any kind of syntax error in the file:
"SyntaxError: None" is printed without any other hint.
The (char*) filename passed to PyRun_AnyFile should be utf-8 encoded;
Otherwise the file cannot be re-opened.
Attached patch fixes both issues, please review.
It removes one occurrence of wcstombs in favor of the PyUnicode machinery. |
|
Date |
User |
Action |
Args |
2008-12-31 15:32:21 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, ggenellina |
2008-12-31 15:32:21 | amaury.forgeotdarc | set | messageid: <1230737541.69.0.666670439587.issue4747@psf.upfronthosting.co.za> |
2008-12-31 15:32:21 | amaury.forgeotdarc | link | issue4747 messages |
2008-12-31 15:32:20 | amaury.forgeotdarc | create | |
|