Consider ourselves interactive if sys.flags.interactive is set.
Add comment
Merge pull request #2503 from mdboom/fix-interactive

Fix interactive mode detection