1) I am trying to compile Chromium with hammer/scons on Windows, with
the latest source, and I am getting the following error message:

    scons: Reading SConscript files ...
      File "D:\chromium\src\tools\grit\grit\scons.py", line 83

        finally:

              ^

    SyntaxError: invalid syntax

2) I looked into the "\src\tools\grit\grit\scons.py" file, find a "try-
except-finally" branch around line 83 mentioned in the error message.

3) I tried to write a test Python script, both "try-except" and "try-
finally" works, however when I wrote "try-except-finally" I got the
same error message like above. Seems that Python does NOT support the
grammar?

Is this an issue with "\src\tools\grit\grit\scons.py", or do I need
some other version of python.exe? By the way, I am using "\src
\third_party\python_24\python.exe".

--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to