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 Marcus.Smith, dstufft, ncoghlan, paul.moore, steve.dower
Date 2014-10-26.20:50:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414356644.71.0.753052013284.issue22730@psf.upfronthosting.co.za>
In-reply-to
Content
I think the only thing pip could do is to stop using print(), which is not a reasonable request.

It may be reasonable to change pythonw to use dummy IO streams by default, but that may cause programs to print() messages expecting the user to see them. It's also likely a breaking change for many programs, so I do think handling the ensurepip case like this is best.

Just realised that I probably ought to make the same fix for __stderr__, in case pip succeeds but tries to write a warning there that causes the installer to detect a failure. Assume an equivalent line of code to set stderr/__stderr__ if needed.
History
Date User Action Args
2014-10-26 20:50:44steve.dowersetrecipients: + steve.dower, paul.moore, ncoghlan, dstufft, Marcus.Smith
2014-10-26 20:50:44steve.dowersetmessageid: <1414356644.71.0.753052013284.issue22730@psf.upfronthosting.co.za>
2014-10-26 20:50:44steve.dowerlinkissue22730 messages
2014-10-26 20:50:44steve.dowercreate