[pypy-issue] [issue1696] Can not install pip with get-pip.py

mattip tracker at bugs.pypy.org
Mon Mar 17 21:56:01 CET 2014


mattip <matti.picus at gmail.com> added the comment:

I have boiled this down to a 10 line test on using login(), passes on cpython, 
fails on pypy win32. It would be nice to be able to run this test untranslated. 
Naively trying pyinteractive with

c:\Python27\python.exe pypy\bin\pyinteractive.py --withmod-_ssl --withmod-
_socket --withmod-struct --withmod-binascii --withmod-select --withmod-time --
withmod-signal --withmod-thread c:\temp\logintest.py

unfortunately crashes before it runs the test

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1696>
________________________________________
-------------- next part --------------
import sys
sys.modules['_testcapi'] = sys

from test import test_ftplib
import ftplib

server = test_ftplib.DummyTLS_FTPServer(('127.0.0.1',0))
server.start()
client = ftplib.FTP_TLS(timeout=10)
client.connect(server.host, server.port)
client.debugging = 1
client.login()
client.close()
server.stop()


More information about the pypy-issue mailing list