bpo-32155: Bugfixes found by flake8 F841 warnings (#4608)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 28 Nov 2017 14:30:32 +0000 (15:30 +0100)
committerGitHub <noreply@github.com>
Tue, 28 Nov 2017 14:30:32 +0000 (15:30 +0100)
commit696b501cd11dc429a0f661adeb598bfaf89e4112
treeb289e99f2857c2b129aa276f4647fecdcd67feff
parent4271dfd7815c05fd39b515c240050b3585bdfcd4
bpo-32155: Bugfixes found by flake8 F841 warnings (#4608)

* distutils.config: Use the PyPIRCCommand.realm attribute if set
* turtledemo: wait until macOS osascript command completes to not
  create a zombie process
* Tools/scripts/treesync.py: declare 'default_answer' and
  'create_files' as globals to modify them with the command line
  arguments. Previously, -y, -n, -f and -a options had no effect.

flake8 warning: "F841 local variable 'p' is assigned to but never
used".
Lib/distutils/config.py
Lib/turtledemo/__main__.py
Misc/NEWS.d/next/Library/2017-11-28-15-06-07.bpo-32155.hWHGww.rst [new file with mode: 0644]
Tools/scripts/treesync.py