Message24140
Logged In: YES
user_id=156682
If this special case is a feature, not a bug, than it breaks
some symmetry for sure.
If I run a script having utf-8 encoding from a file with
python script.py
then it has to have an encoding declaration. Now if I would
like to load the same file manually, decode it to a unicode
object, I also have to remove the encoding declaration at
the beginning of the file before I can give it to the
compile() function.
What special advantage comes from the fact that the compiler
does not simply ignore encoding declaration nodes from
unicode objects? Does this error message catch some possible
errors or does it make the compiler code simpler? |
|
Date |
User |
Action |
Args |
2007-08-23 14:29:18 | admin | link | issue1115379 messages |
2007-08-23 14:29:18 | admin | create | |
|