[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available
Nick Coghlan
report at bugs.python.org
Mon Nov 25 13:58:05 CET 2013
Nick Coghlan added the comment:
That I can help with. Steal the "import_fresh_module helper function from test.support (or the gist of it anyway - you can likely leave out the stuff about deprecated imports):
http://hg.python.org/cpython/file/default/Lib/test/support/__init__.py#l192
Then do:
pip_nossl = import_fresh_module("pip", blocked=["ssl"])
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19744>
_______________________________________
More information about the Python-bugs-list
mailing list