Message21299
Logged In: YES
user_id=11105
I assume the behaviour occurrs when an unknown encoding is
specified. It can be reproduced on Windows:
compile("# -*- coding: xxx -*-", "test.py", "exec")
It should probably raise a SyntaxError, as trying to import
a module containing this encoding does.
The problem seems that when
PyParser_ParseStringFlagsFilename() calls
PyTokenizer_FromString(), and when the latter fails the
error is set to E_NOMEM. |
|
Date |
User |
Action |
Args |
2007-08-23 14:22:57 | admin | link | issue979739 messages |
2007-08-23 14:22:57 | admin | create | |
|