#14500: python httplib produces an error
-----------------------------+----------------------------------------------
Reporter: zaza1851983 | Owner: tbd
Type: PLEASE CHANGE | Status: new
Priority: minor | Milestone: sage-5.10
Component: PLEASE CHANGE | Keywords:
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------------------------
If I run the following code in python it works fine
{{{
import httplib
conn = httplib.HTTPConnection("google.de", 80)
conn.request("GET", "/")
}}}
But in sage this piece prodces an error. The trackball is attached.
In sage when I changed
{{{
conn = httplib.HTTPConnection("google.de", 80)
}}}
to
{{{
conn = httplib.HTTPConnection("google.de")
}}}
it worked.
I tried replacing httplib.py and socket.py in sage with the files from
python. but the problem persists
Ubuntu 12.04 64 bit
Python 2.7
sage 5.8 installed from ubuntu repo
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14500>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.