nvie/pip-tools — pull request #71 by blueyed (2014-01-04 22:24:24+00:00)
Title: pip-review: fix interactive mode for Python2

With Python2 (2.7.5), `input` exists and is quite different from
`raw_input`:

Help on built-in function input in module __builtin__:

input(...)
input([prompt]) -> value

Equivalent to eval(raw_input(prompt)).

Therefore, this patch overwrites `input` with `raw_input`, if it exists.

Source: http://stackoverflow.com/a/18332097/15690