Fix TypeError on "setup.py upload --show-response".
Fix bootstrap issue by importing the cgi module lazily
update Barry's email (#19563)