Message94958
| Author |
benjamin.peterson |
| Recipients |
benjamin.peterson, flashk |
| Date |
2009年11月06日.01:48:38 |
| SpamBayes Score |
1.4011842e-10 |
| Marked as misclassified |
No |
| Message-id |
<1afaf6160911051748y2e48a620lbfe91fce2307408e@mail.gmail.com> |
| In-reply-to |
<1257471498.88.0.704911920359.issue7268@psf.upfronthosting.co.za> |
| Content |
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? |
|
History
|
|---|
| 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 |
|