[issue22235] httplib: TypeError with file() object in ssl.py

2015-02-18 Thread R. David Murray
R. David Murray added the comment: Verification errors that used to be ignored (ie: verification was not done by default) are now reported. That was basically the whole point of 2.7.9. So this is most likely a problem with the site certificate, not python. As far as I can see there aren't

[issue22235] httplib: TypeError with file() object in ssl.py

2015-02-09 Thread Etienne Robillard
Etienne Robillard added the comment: sometimes urllib break at different packages, with SSL: CERTIFICATE_VERIFY_FAILED message. It seem related to the new ssl.py backport and pip. sudo python setup.py install --prefix=/usr/local Downloading

[issue22235] httplib: TypeError with file() object in ssl.py

2015-02-08 Thread Etienne Robillard
Etienne Robillard added the comment: problem is fixed with python 2.7.9. it seem ssl.py module has been greatly improved with this release. Thanks! -- resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22235

[issue22235] httplib: TypeError with file() object in ssl.py

2015-02-08 Thread Etienne Robillard
Etienne Robillard added the comment: hg push worked like a charm... but for some reasons i get another error trying to install things with setuptools: erob@nguns:~/Desktop/pyaml-14.12.10$ sudo python setup.py install --prefix=/usr/local Processing dependencies for pyaml==14.12.10 Searching

[issue22235] httplib: TypeError with file() object in ssl.py

2014-08-25 Thread Etienne Robillard
Etienne Robillard added the comment: the bug appear to be reproducible with python 2.7.2 as well. I wonder if --enable-shared is relevant to this problem. My configuration options: ./configure --prefix=/usr/local --enable-unicode=ucs4 --with-threads --enable-shared --disable-ipv6

[issue22235] httplib: TypeError with file() object in ssl.py

2014-08-20 Thread Etienne Robillard
New submission from Etienne Robillard: Trying to push to a ssl server but python break in httplib. erob@nguns:~/django-hotsauce$ hg push https://tkad...@bitbucket.org/tkadm30/django-hotsauce pushing to https://tkad...@bitbucket.org/tkadm30/django-hotsauce warning: bitbucket.org certificate

[issue22235] httplib: TypeError with file() object in ssl.py

2014-08-20 Thread Etienne Robillard
Etienne Robillard added the comment: interpreter is Python 2.7.3. 2.7.8 is buggy! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22235 ___ ___

[issue22235] httplib: TypeError with file() object in ssl.py

2014-08-20 Thread R. David Murray
R. David Murray added the comment: Are you saying that it works with 2.7.2? If not, you should report this to mercurial first, as recommended by the error message you got. It will be easier for them to figure out where the problem originates, since there is not really enough information here

[issue22235] httplib: TypeError with file() object in ssl.py

2014-08-20 Thread Etienne Robillard
Etienne Robillard added the comment: Thanks. I have forwarded to Mercurial bugtracker the problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22235 ___

[issue22235] httplib: TypeError with file() object in ssl.py

2014-08-20 Thread Etienne Robillard
Etienne Robillard added the comment: after reviewing with the Mercurial support it was found the issue may be caused by improper python install. However i have been able to reproduce the problem with a fresh install of python 2.7.3 only. -- ___