d7b3b8e7a1
Commands in order: - `futurize ./ -w -n` - git grep -l "queue\.Empty" | xargs sed -i 's/queue\.Empty/queue2k.Empty/' - git grep -l "queue\.Queue" | xargs sed -i 's/queue\.Queue/queue2k.Queue/' - git grep -l "import queue" | xargs sed -i 's/import queue/import queue as queue2k/' The search and replaces are needed because the local variables named `queue` break the module that is called `queue` instead of `Queue` in Python3 The testcases all still pass with python 2 but with python3 break completely due to pwnlib issues