On 6/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > tokenize.TokenError: ('EOF in multi-line statement', (315, 0))
>
> I analyzed that a bit further, and found that
> Lib/distutils/unixccompiler.py:214 reads
>
> if not isinstance(output_dir, (str, type(None)):
>
> This is a syntax error; a closing parenthesis is missing.
> tokenize.py chokes at the EOF as the parentheses aren't balanced.
>
> > I ran reindent prior to committing, but that had no effect (ie,
> > still go the error).
>
> I find that hard to believe - running reindent.py on the file
> fails for me with Python 2.5 as well.I ran reindent with py3k, something like: ./python Tools/scripts/reindent.py Lib IIRC. I don't have the command line handy. I'll fix this when I get home tonight. Has anyone tried the 3k reindent? Or did I just screw that up? n _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
