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. Download python 2.6 and run the "try-
except-finally" test again, it works fine!

Maybe some files under "\src\third_party\python_24" are incorrect?

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to