Message94958
2009/11/5 flashk <report@bugs.python.org>:
>
> flashk <flashk@gmail.com> added the comment:
>
> Ok, but why am I still getting a syntax error in both 2.6 and 3.1 on the
> file, even after converting the newlines?
>
> If I remove the trailing indentation then everything works properly on 2.6
> and 3.1, even with DOS newlines.
>
> It just seems that exec does not properly handle code that ends with an
> empty indented line, but execfile handles it correctly.
Well, it works for me with the empty newline. Can you isolate the exact problem? |
|
| Date |
User |
Action |
Args |
| 2009-11-06 01:48:39 | benjamin.peterson | set | recipients:
+ benjamin.peterson, flashk |
| 2009-11-06 01:48:38 | benjamin.peterson | link | issue7268 messages |
| 2009-11-06 01:48:38 | benjamin.peterson | create | |
|