Message353841
Hi,
I am running Python 2.7.10 on Windows 10.
I have discovered that if a .py source text file (that is, a Module text
file) starts with a UTF-8 Byte Order Mark, the module does not get "found"
by the import statement.
I have just spent an inordinate amount of time reaching this conclusion.
I realise that 2.7.10 is probably not being supported any more, however,
please let me ask the questions anyway:
Could ...
Either: ... the error message please be more helpful? (Like, for
example, "Module begins with a Byte Order Mark")
Or: ... the BOM be allowed at the start of a Module?
Thanks.
Stephen Tucker. |
|
Date |
User |
Action |
Args |
2019-10-03 12:10:17 | Stephen_Tucker | set | recipients:
+ Stephen_Tucker |
2019-10-03 12:10:17 | Stephen_Tucker | link | issue38363 messages |
2019-10-03 12:10:16 | Stephen_Tucker | create | |
|