find . -name "*.py" -exec sed "s|\!/usr/bin/env python$|\!/usr/bin/env python3|g" -i {} \;
===================================================================
Gbp-Pq: Name python3-shebang.patch
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# =- run-find-all-symbols.py - Parallel find-all-symbols runner -*- python -*-=#
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
# ===- cindex-dump.py - cindex/Python Source Dump -------------*- python -*--===#
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
# ===- cindex-includes.py - cindex/Python Inclusion Graph -----*- python -*--===#
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Utility for opening a file using the default application in a cross-platform
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import absolute_import, division, print_function
from pprint import pprint
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import absolute_import, division, print_function
import sys
from socket import *
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""CaptureCmd - A generic tool for capturing information about the
invocations of another program.
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
A simple utility that compares tool invocations and exit codes issued by
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
import re
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
This is a generic fuzz testing tool, see --help for more information.
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import absolute_import, division, print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
CmpRuns - A simple tool for comparing two static analyzer runs to determine
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Static Analyzer qualification infrastructure: adding a new project to
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Static Analyzer qualification infrastructure.
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Update reference results for static analyzer.
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Script to Summarize statistics in the scan-build output.
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# ===- exploded-graph-rewriter.py - ExplodedGraph dump tool -----*- python -*--#
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Check CFC - Check Compile Flow Consistency
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import absolute_import, division, print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Test internal functions within check_cfc.py."""
-#!/usr/bin/env python
+#!/usr/bin/env python3
# To use:
# 1) Update the 'decls' list below with your fuzzing configuration.
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import absolute_import, division, print_function
import os
-#!/usr/bin/env python
+#!/usr/bin/env python3
# ===- lib/asan/scripts/asan_symbolize.py -----------------------------------===#
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-#!/usr/bin/env python
+#!/usr/bin/env python3
# ===- lib/fuzzer/scripts/unbalanced_allocs.py ------------------------------===#
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-#!/usr/bin/env python
+#!/usr/bin/env python3
# ===- lib/sanitizer_common/scripts/gen_dynamic_list.py ---------------------===#
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Merge or print the coverage data collected by asan's coverage.
# Input files are sequences of 4-byte integers.
# We need to merge these integers into a set and then
-#!/usr/bin/env python
+#!/usr/bin/env python3
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
from builtins import range
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
-#!/usr/bin/env python
+#!/usr/bin/env python3
import string
import struct
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
A simple bench runner which delegates to the ./dotest.py test driver to run the
-#!/usr/bin/env python
+#!/usr/bin/env python3
import argparse
import itertools
-#!/usr/bin/env python
+#!/usr/bin/env python3
import subprocess
import optparse
-#!/usr/bin/env python
+#!/usr/bin/env python3
'''This module implements a Finite State Machine (FSM). In addition to state
this FSM also maintains a user defined "memory". So this FSM can be used as a
-#!/usr/bin/env python
+#!/usr/bin/env python3
##===-- lui.py -----------------------------------------------*- Python -*-===##
##
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-#!/usr/bin/env python
+#!/usr/bin/env python3
##===-- sandbox.py -------------------------------------------*- Python -*-===##
##
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
import subprocess
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
import re
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Given a previous good compile narrow down miscompiles.
# Expects two directories named "before" and "after" each containing a set of
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# The way you use this is you create a script that takes in as its first
# argument a count. The script passes into LLVM the count via a command
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This script is used to bisect skip and count arguments for --debug-counter.
# It is similar to bisect, except it understands how to increase skip and decrease count
#
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Reduces GlobalISel failures.
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
import plistlib
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""A ladder graph creation program.
This is a python program that creates c source code that will generate
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""A tool for extracting a list of symbols to export
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This script extracts the VPlan digraphs from the vectoriser debug messages
# and saves them in individual dot files (one for each plan). Optionally, and
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""A tool for looking for indirect jumps and calls in x86 binaries.
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Source: http://code.activestate.com/recipes/475116/, with
# modifications by Daniel Dunbar.
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
import sys
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
import sys
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
import os
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
-#!/usr/bin/env python
+#!/usr/bin/env python3
import argparse
import platform
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Summarize the information in the given coverage files.
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
import re, string, sys, os, time
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
import re, string, sys, os, time, math
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""A shuffle vector fuzz tester.
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""A shuffle-select vector fuzz tester.
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Script to sort the top-most block of #include lines.
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Unicode case folding database conversion utility
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
wciia - Whose Code Is It Anyway