[issue5413] urllib ctypes error on Mac OS X Server 10.5

2009-09-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've just committed a fix for another issue and that completely removes the ctypes-based code that causes this issue (replacing it by a C extension) Therefore this issue should no longer occur and hence can be closed. -- resolution: -> fixed status

[issue5413] urllib ctypes error on Mac OS X Server 10.5

2009-04-28 Thread Thomas Heller
Thomas Heller added the comment: Seems ronald takes care of this issue. -- assignee: theller -> ronaldoussoren ___ Python tracker ___

[issue5413] urllib ctypes error on Mac OS X Server 10.5

2009-04-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch is not entirely correct, I'm not yet uploading an updated patch because the fix is obvious. I cannot reproduce this with a the 2.6.2 installer (build on PPC) nor with a recent build from subversion (python-trunk, build on X86). My tests w

[issue5413] urllib ctypes error on Mac OS X Server 10.5

2009-04-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'll install 10.5 server on my PPC test machine when I'm back from PyCon, this seem to need some serious debugging. -- ___ Python tracker ___

[issue5413] urllib ctypes error on Mac OS X Server 10.5

2009-04-01 Thread Attila Soki
Attila Soki added the comment: no luck. output for t.py: Traceback (most recent call last): File "t.py", line 3, in f = urllib.urlopen("http://www.musi-cal.com/cgi-bin/query";, params) File "/var/root/pytest/python/lib/python2.6/urllib.py", line 82, in urlopen opener = FancyURLopen

[issue5413] urllib ctypes error on Mac OS X Server 10.5

2009-03-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't have a PPC machine handy at the moment, but I hope the attached copy of urllib fixes the issue. Could you please test if that's indeed the case? -- keywords: +patch Added file: http://bugs.python.org/file13489/urllib5413.patch __

[issue5413] urllib ctypes error on Mac OS X Server 10.5

2009-03-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't have time to investigate this right now, I do have access to a 10.5 server box though. With some luck I'll be able to create a patch later today. Looking at the code in urllib I found the most likely reason for the problem: the Python script tries t

[issue5413] urllib ctypes error on Mac OS X Server 10.5

2009-03-03 Thread Ned Deily
Ned Deily added the comment: For more info, see discussion starting here: I suspect a difference in the proxy configuration available between OS X and OS X Server, although I don't have a OS X Server configuration at hand t

[issue5413] urllib ctypes error on Mac OS X Server 10.5

2009-03-03 Thread Attila Soki
New submission from Attila Soki : i trying to compile Python 2.6.1 from scratch on Mac OS X Server (ppc). After configure/make/make install i test the compiled python with the followig file (t.py) (example from http://docs.python.org/library/urllib.html): Contents of /tmp/t.py: - im