Commit 6ea78398 authored by Michael Achenbach's avatar Michael Achenbach Committed by V8 LUCI CQ

[infra] Change all Python shebangs to Python3

The infrastructure runs everything already in Python3, so this is
mostly a clean-up.

For MB, a python2 holdover was removed and new lint errors were
fixed.

The renames were automated with:
git grep -e "/usr/bin/python$" |
  cut -d':' -f1 |
  xargs
  sed -i 's/#!\/usr\/bin\/python$/#!\/usr\/bin\/python3/1'

and
git grep -e "/usr/bin/env python$" |
  cut -d':' -f1 |
  xargs
  sed -i 's/#!\/usr\/bin\/env python$/#!\/usr\/bin\/env python3/1'

Bug: v8:13148
Change-Id: If4f3c7635e72fa134798d55314ac1aa92ddd01bf
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3811499Reviewed-by: 's avatarLiviu Rau <liviurau@google.com>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82231}
parent 4bee18b1
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2021 the V8 project authors. All rights reserved. # Copyright 2021 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/python #!/usr/bin/python3
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
''' '''
......
#!/usr/bin/python #!/usr/bin/python3
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
''' '''
......
#!/usr/bin/python #!/usr/bin/python3
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
''' '''
C S u i t e because who can remember? C S u i t e because who can remember?
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2014 by Sam Mikes. All rights reserved. # Copyright 2014 by Sam Mikes. All rights reserved.
# This code is governed by the BSD license found in the LICENSE file. # This code is governed by the BSD license found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2011 by Google, Inc. All rights reserved. # Copyright 2011 by Google, Inc. All rights reserved.
# This code is governed by the BSD license found in the LICENSE file. # This code is governed by the BSD license found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2009 the Sputnik authors. All rights reserved. # Copyright 2009 the Sputnik authors. All rights reserved.
# This code is governed by the BSD license found in the LICENSE file. # This code is governed by the BSD license found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2014 by Sam Mikes. All rights reserved. # Copyright 2014 by Sam Mikes. All rights reserved.
# This code is governed by the BSD license found in the LICENSE file. # This code is governed by the BSD license found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2014 by Sam Mikes. All rights reserved. # Copyright 2014 by Sam Mikes. All rights reserved.
# This code is governed by the BSD license found in the LICENSE file. # This code is governed by the BSD license found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2014 by Sam Mikes. All rights reserved. # Copyright 2014 by Sam Mikes. All rights reserved.
# This code is governed by the BSD license found in the LICENSE file. # This code is governed by the BSD license found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2014 by Sam Mikes. All rights reserved. # Copyright 2014 by Sam Mikes. All rights reserved.
# This code is governed by the BSD license found in the LICENSE file. # This code is governed by the BSD license found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2017 the V8 project authors. All rights reserved. # Copyright 2017 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2012 the V8 project authors. All rights reserved. # Copyright 2012 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can # Use of this source code is governed by a BSD-style license that can
......
#!/usr/bin/python #!/usr/bin/python3
# Copyright 2017 the V8 project authors. All rights reserved. # Copyright 2017 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2022 the V8 project authors. All rights reserved. # Copyright 2022 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can # Use of this source code is governed by a BSD-style license that can
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2022 the V8 project authors. All rights reserved. # Copyright 2022 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can # Use of this source code is governed by a BSD-style license that can
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2022 the V8 project authors. All rights reserved. # Copyright 2022 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can # Use of this source code is governed by a BSD-style license that can
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2016 the V8 project authors. All rights reserved. # Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2020 the V8 project authors. All rights reserved. # Copyright 2020 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2020 the V8 project authors. All rights reserved. # Copyright 2020 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2020 the V8 project authors. All rights reserved. # Copyright 2020 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2020 the V8 project authors. All rights reserved. # Copyright 2020 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2017 the V8 project authors. All rights reserved. # Copyright 2017 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2016 the V8 project authors. All rights reserved. # Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2011 the V8 project authors. All rights reserved. # Copyright 2011 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2016 the V8 project authors. All rights reserved. # Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2015 the V8 project authors. All rights reserved. # Copyright 2015 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2014 the V8 project authors. All rights reserved. # Copyright 2014 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2015 the V8 project authors. All rights reserved. # Copyright 2015 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2010 the V8 project authors. All rights reserved. # Copyright 2010 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2016 the V8 project authors. All rights reserved. # Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2012 the V8 project authors. All rights reserved. # Copyright 2012 the V8 project authors. All rights reserved.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2021 the V8 project authors. All rights reserved. # Copyright 2021 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2014 the V8 project authors. All rights reserved. # Copyright 2014 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# vim:fenc=utf-8:shiftwidth=2 # vim:fenc=utf-8:shiftwidth=2
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2013 the V8 project authors. All rights reserved. # Copyright 2013 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
...@@ -18,15 +18,17 @@ def _CommonChecks(input_api, output_api): ...@@ -18,15 +18,17 @@ def _CommonChecks(input_api, output_api):
# Run the MB unittests. # Run the MB unittests.
results.extend( results.extend(
input_api.canned_checks.RunUnitTestsInDirectory(input_api, output_api, input_api.canned_checks.RunUnitTestsInDirectory(input_api, output_api,
'.', [r'^.+_test\.py$'])) '.', [r'^.+_test\.py$'],
run_on_python2=False))
# Validate the format of the mb_config.pyl file. # Validate the format of the mb_config.pyl file.
cmd = [input_api.python_executable, 'mb.py', 'validate'] cmd = [input_api.python3_executable, 'mb.py', 'validate']
kwargs = {'cwd': input_api.PresubmitLocalPath()} kwargs = {'cwd': input_api.PresubmitLocalPath()}
results.extend(input_api.RunTests([ results.extend(input_api.RunTests([
input_api.Command(name='mb_validate', input_api.Command(name='mb_validate',
cmd=cmd, kwargs=kwargs, cmd=cmd, kwargs=kwargs,
message=output_api.PresubmitError)])) message=output_api.PresubmitError,
python3=True)]))
is_mb_config = (lambda filepath: 'mb_config.pyl' in filepath.LocalPath()) is_mb_config = (lambda filepath: 'mb_config.pyl' in filepath.LocalPath())
results.extend( results.extend(
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2016 the V8 project authors. All rights reserved. # Copyright 2016 the V8 project authors. All rights reserved.
# Copyright 2015 The Chromium Authors. All rights reserved. # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
...@@ -66,9 +66,9 @@ def _v8_builder_fallback(builder, builder_group): ...@@ -66,9 +66,9 @@ def _v8_builder_fallback(builder, builder_group):
elif builder.endswith(' builder'): elif builder.endswith(' builder'):
builders.append(builder[:-len(' builder')]) builders.append(builder[:-len(' builder')])
for builder in builders: for b in builders:
if builder in builder_group: if b in builder_group:
return builder_group[builder] return builder_group[b]
return None return None
...@@ -77,7 +77,7 @@ def main(args): ...@@ -77,7 +77,7 @@ def main(args):
return mbw.Main(args) return mbw.Main(args)
class MetaBuildWrapper(object): class MetaBuildWrapper():
def __init__(self): def __init__(self):
self.chromium_src_dir = CHROMIUM_SRC_DIR self.chromium_src_dir = CHROMIUM_SRC_DIR
self.default_config = os.path.join(self.chromium_src_dir, 'infra', 'mb', self.default_config = os.path.join(self.chromium_src_dir, 'infra', 'mb',
...@@ -562,7 +562,7 @@ class MetaBuildWrapper(object): ...@@ -562,7 +562,7 @@ class MetaBuildWrapper(object):
contents = ast.literal_eval(self.ReadFile(self.args.config_file)) contents = ast.literal_eval(self.ReadFile(self.args.config_file))
except SyntaxError as e: except SyntaxError as e:
raise MBErr('Failed to parse config file "%s": %s' % raise MBErr('Failed to parse config file "%s": %s' %
(self.args.config_file, e)) (self.args.config_file, e)) from e
self.configs = contents['configs'] self.configs = contents['configs']
self.luci_tryservers = contents.get('luci_tryservers', {}) self.luci_tryservers = contents.get('luci_tryservers', {})
...@@ -587,8 +587,8 @@ class MetaBuildWrapper(object): ...@@ -587,8 +587,8 @@ class MetaBuildWrapper(object):
', '.join(duplicates)) ', '.join(duplicates))
isolate_maps.update(isolate_map) isolate_maps.update(isolate_map)
except SyntaxError as e: except SyntaxError as e:
raise MBErr( raise MBErr('Failed to parse isolate map file "%s": %s' %
'Failed to parse isolate map file "%s": %s' % (isolate_map, e)) (isolate_map, e)) from e
return isolate_maps return isolate_maps
def ConfigFromArgs(self): def ConfigFromArgs(self):
...@@ -1071,7 +1071,7 @@ class MetaBuildWrapper(object): ...@@ -1071,7 +1071,7 @@ class MetaBuildWrapper(object):
force_verbose=force_verbose) force_verbose=force_verbose)
except Exception as e: except Exception as e:
raise MBErr('Error %s writing to the output path "%s"' % raise MBErr('Error %s writing to the output path "%s"' %
(e, path)) (e, path)) from e
def CheckCompile(self, builder_group, builder): def CheckCompile(self, builder_group, builder):
url_template = self.args.url_template + '/{builder}/builds/_all?as_text=1' url_template = self.args.url_template + '/{builder}/builds/_all?as_text=1'
...@@ -1089,7 +1089,7 @@ class MetaBuildWrapper(object): ...@@ -1089,7 +1089,7 @@ class MetaBuildWrapper(object):
if not successes: if not successes:
return "no successful builds" return "no successful builds"
build = builds[str(successes[0])] build = builds[str(successes[0])]
step_names = set([step["name"] for step in build["steps"]]) step_names = {step["name"] for step in build["steps"]}
compile_indicators = set(["compile", "compile (with patch)", "analyze"]) compile_indicators = set(["compile", "compile (with patch)", "analyze"])
if compile_indicators & step_names: if compile_indicators & step_names:
return "compiles" return "compiles"
......
#!/usr/bin/python #!/usr/bin/python3
# Copyright 2016 the V8 project authors. All rights reserved. # Copyright 2016 the V8 project authors. All rights reserved.
# Copyright 2015 The Chromium Authors. All rights reserved. # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"""Tests for mb.py.""" """Tests for mb.py."""
import json import json
import StringIO import io
import os import os
import sys import sys
import unittest import unittest
...@@ -17,7 +17,7 @@ import mb ...@@ -17,7 +17,7 @@ import mb
class FakeMBW(mb.MetaBuildWrapper): class FakeMBW(mb.MetaBuildWrapper):
def __init__(self, win32=False): def __init__(self, win32=False):
super(FakeMBW, self).__init__() super().__init__()
# Override vars for test portability. # Override vars for test portability.
if win32: if win32:
...@@ -85,14 +85,14 @@ class FakeMBW(mb.MetaBuildWrapper): ...@@ -85,14 +85,14 @@ class FakeMBW(mb.MetaBuildWrapper):
def RemoveFile(self, path): def RemoveFile(self, path):
del self.files[path] del self.files[path]
def RemoveDirectory(self, path): def RemoveDirectory(self, abs_path):
self.rmdirs.append(path) self.rmdirs.append(abs_path)
files_to_delete = [f for f in self.files if f.startswith(path)] files_to_delete = [f for f in self.files if f.startswith(abs_path)]
for f in files_to_delete: for f in files_to_delete:
self.files[f] = None self.files[f] = None
class FakeFile(object): class FakeFile():
def __init__(self, files): def __init__(self, files):
self.name = '/tmp/file' self.name = '/tmp/file'
...@@ -592,7 +592,7 @@ class UnitTest(unittest.TestCase): ...@@ -592,7 +592,7 @@ class UnitTest(unittest.TestCase):
def test_help(self): def test_help(self):
orig_stdout = sys.stdout orig_stdout = sys.stdout
try: try:
sys.stdout = StringIO.StringIO() sys.stdout = io.StringIO()
self.assertRaises(SystemExit, self.check, ['-h']) self.assertRaises(SystemExit, self.check, ['-h'])
self.assertRaises(SystemExit, self.check, ['help']) self.assertRaises(SystemExit, self.check, ['help'])
self.assertRaises(SystemExit, self.check, ['help', 'gen']) self.assertRaises(SystemExit, self.check, ['help', 'gen'])
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2016 the V8 project authors. All rights reserved. # Copyright 2016 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2017 the V8 project authors. All rights reserved. # Copyright 2017 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2012 the V8 project authors. All rights reserved. # Copyright 2012 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2019 the V8 project authors. All rights reserved. # Copyright 2019 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2014 the V8 project authors. All rights reserved. # Copyright 2014 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2017 the V8 project authors. All rights reserved. # Copyright 2017 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2015 the V8 project authors. All rights reserved. # Copyright 2015 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2015 the V8 project authors. All rights reserved. # Copyright 2015 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2017 the V8 project authors. All rights reserved. # Copyright 2017 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2019 the V8 project authors. All rights reserved. # Copyright 2019 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2016 the V8 project authors. All rights reserved. # Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2016 the V8 project authors. All rights reserved. # Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2016 the V8 project authors. All rights reserved. # Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2018 the V8 project authors. All rights reserved. # Copyright 2018 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
......
#!/usr/bin/env python #!/usr/bin/env python3
# #
# Copyright 2008 the V8 project authors. All rights reserved. # Copyright 2008 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2019 the V8 project authors. All rights reserved. # Copyright 2019 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2014 the V8 project authors. All rights reserved. # Copyright 2014 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2017 the V8 project authors. All rights reserved. # Copyright 2017 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2017 the V8 project authors. All rights reserved. # Copyright 2017 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2017 the V8 project authors. All rights reserved. # Copyright 2017 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2020 the V8 project authors. All rights reserved. # Copyright 2020 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2019 the V8 project authors. All rights reserved. # Copyright 2019 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be found # Use of this source code is governed by a BSD-style license that can be found
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2019 the V8 project authors. All rights reserved. # Copyright 2019 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be found # Use of this source code is governed by a BSD-style license that can be found
......
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2019 the V8 project authors. All rights reserved. # Copyright 2019 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be found # Use of this source code is governed by a BSD-style license that can be found
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment