Re: [Python-3000] problem with checking whitespace in svn pre-commit hook

2007-06-07 Thread Guido van Rossum
On 6/7/07, Neal Norwitz <[EMAIL PROTECTED]> wrote: > 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 isinsta

Re: [Python-3000] problem with checking whitespace in svn pre-commit hook

2007-06-07 Thread Neal Norwitz
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

Re: [Python-3000] problem with checking whitespace in svn pre-commit hook

2007-06-07 Thread martin
> 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