Python 2.6.1 urllib error on Mac os x PPC

2009-03-02 Thread Attila Soki
hi, i trying to compile Python 2.6.1 on Mac OS X (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): - import urllib params = urllib.urlencode({'spam': 1, 'eggs': 2, 'bacon': 0}) f

Re: Python 2.6.1 urllib error on Mac os x PPC

2009-03-02 Thread Ned Deily
In article <20090302161256.120...@gmx.net>, "Attila Soki" wrote: > i trying to compile Python 2.6.1 on Mac OS X (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): > - > imp

Re: Python 2.6.1 urllib error on Mac os x PPC

2009-03-03 Thread ati
On Mon, 2009-03-02 at 13:59 -0800, Ned Deily wrote: Am 2.3.2009 22:59 Uhr schrieb "Ned Deily" unter : > > First, make sure this is the real problem by trying this snippet: > > /usr/local/test/python/bin/python2.6 from ctypes import cdll from ctypes.util import find_library sc = cd

Re: Python 2.6.1 urllib error on Mac os x PPC

2009-03-03 Thread Ned Deily
In article <1236111699.4546.4.ca...@localhost>, ati wrote: > I recompiled Python-2.6.1 with MACOSX_DEPLOYMENT_TARGET=10.3, but no > change.. > I updated developertools to xcode312_2621, no change.. > > Btw.. Python-2.5.4 compiled from scratch works fine. > > I forgot to mention the ppc computer

Re: Python 2.6.1 urllib error on Mac os x PPC

2009-03-03 Thread ati
On Tue, 2009-03-03 at 14:10 -0800, Ned Deily wrote: > Ah, "OS X Server" and "2.5.4 works fine"! For 2.6, I see that the > getproxies code in urllib was re-written to eliminate use of the > deprecated python mac Carbon interfaces and instead use ctypes to call > the SystemConfiguration framework