[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 http://pypi.python.org/packages/source/d/distribute

[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 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

[issue17085] test_socket crashes the whole test suite

2013-05-19 Thread Etienne Robillard
Etienne Robillard added the comment: since TIPC is silently included in python 2.7.3 and recents kernel memory leaks were found in the linux TIPC kernel code, could this result in info disclosure in python when compiled with TIPC ? does the kernel module needs to be loaded to exploit

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-14 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org added the comment: +1 thanks for this input. I agree for the most part. However if the io semantics in python 3 is radically different than on python 2, I could have expected that WSGI scripts would similarly depend on a newer type of file descriptor

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.x

2011-01-13 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org added the comment: +1 -- title: cgi module cannot handle POST with multipart/form-data in 3.x - cgi module cannot handle POST with multipart/form-data in 3.x ___ Python tracker rep...@bugs.python.org

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-11 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org added the comment: On 11/01/11 07:36 PM, Glenn Linderman wrote: Is there a newer standard these browsers are following, that permits UTF-8? Or even requires it? Why is Pierre seeing cp-1252, and I'm seeing UTF-8? I'm running Windows 6.1 (Build

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-10 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org added the comment: On 10/01/11 05:23 AM, Glenn Linderman wrote: I'm basing this off the use of Firefox Live HTTP headers tool. is sendfile() available on Windows ? i thought the Apache server could use that to upload files without having to buffer

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-06 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org added the comment: On 05/01/11 09:12 PM, Glenn Linderman wrote: Glenn Linderman v+pyt...@g.nevcal.com added the comment: Pierre said: In all cases the interpreter must be launched with the -u option. As stated in the documentation, the effect

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-06 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org added the comment: yes, lets not complexify anymore please... Because the HTTP protocol is binary, only selected data, either explicitly or implicitly (by standard definition) should be decoded, using the appropriate encoding. FieldStorage should

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-03 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org added the comment: On 02/01/11 10:50 PM, Glenn Linderman wrote: Glenn Linderman v+pyt...@g.nevcal.com added the comment: Rereading the doc link I pointed at, I guess detach() is part of the new API since 3.1, so doesn't need to be checked for in 3.1

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-03 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org added the comment: i'm thinking this issue is also well connected to: http://bugs.python.org/issue1573931 so a backport of whatever solution comes to 3.2 would be a great addition to Python 2.6 as the very minimum, in order to satisfy minimal backward

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-03 Thread Etienne Robillard
Etienne Robillard e...@gthcfoundation.org added the comment: On 03/01/11 09:45 AM, R. David Murray wrote: R. David Murray rdmur...@bitdance.com added the comment: Etienne: since this is about solving a 3.x specific problem, it will not get backported. Issue 1573931 looks unrelated to me

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-02 Thread Etienne Robillard
Changes by Etienne Robillard e...@gthcfoundation.org: -- nosy: +erob ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4953 ___ ___ Python-bugs-list