This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients dstufft, ncoghlan, steve.dower
Date 2014-10-26.20:24:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414355086.66.0.634731871403.issue22730@psf.upfronthosting.co.za>
In-reply-to
Content
I'd like to be able to run ensurepip in the 3.5 installer with pythonw.exe, to avoid having the console window appear.

Unfortunately, pip requires a valid value for sys.__stdout__. This patch adds a dummy value for __stdout__ that allows pip to be installed/uninstalled with pythonw.

I see no reason not to check this into default now, so just seeking a quick review from the module owners. I can also backport it to 3.4 if that's thought to be worthwhile, but I don't think the installer for 3.4 will be updated to use pythonw, so it probably doesn't matter.
History
Date User Action Args
2014-10-26 20:24:46steve.dowersetrecipients: + steve.dower, ncoghlan, dstufft
2014-10-26 20:24:46steve.dowersetmessageid: <1414355086.66.0.634731871403.issue22730@psf.upfronthosting.co.za>
2014-10-26 20:24:46steve.dowerlinkissue22730 messages
2014-10-26 20:24:46steve.dowercreate