Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'argument': 0.05; 'subject:Python': 0.06; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; '2.7': 0.14; 'language.': 0.14; 'docs.': 0.16; 'happily': 0.16; 'host:': 0.16; 'iterable': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'typeerror:': 0.16; 'url:file': 0.16; 'language': 0.16; 'wrote:': 0.18; 'help.': 0.21; 'otherwise,': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'skip:" 30': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; "doesn't": 0.30; 'file': 0.32; 'python.org': 0.32; 'run': 0.32; 'url:python': 0.33; 'actual': 0.34; 'but': 0.35; 'url:org': 0.36; 'should': 0.36; 'nov': 0.38; 'to:addr:python-list': 0.38; 'hosted': 0.39; 'itself': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:u 10': 0.60; 'simply': 0.61; "you'll": 0.62; 'our': 0.64; 'more': 0.64; 'great': 0.65; '30,': 0.65; 'charset:windows-1252': 0.65; 'worth': 0.66; 'coexist': 0.84; 'url:cpython': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Suds Python 2.4.3 Proxy Date: Sun, 30 Nov 2014 12:53:02 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-25-9.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417351997 news.xs4all.nl 2940 [2001:888:2000:d::a6]:42639 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3973 X-Received-Body-CRC: 2414104254 Xref: csiph.com comp.lang.python:81732 On 30/11/2014 09:10, Chris Angelico wrote: > On Sun, Nov 30, 2014 at 2:01 AM, Jerry Rocteur wrote: >> This works GREAT on 2.7 but when I run it on 2.4 I get: >> >> File "/usr/lib64/python2.4/urllib2.py", line 580, in proxy_open >> if '@' in host: >> TypeError: iterable argument required > > It might be worth looking at some actual 2.4 documentation. > Unfortunately that doesn't seem to be hosted on python.org any more > (though I might be wrong), so you'll want to look on your system > itself and find some docs. > This https://hg.python.org/cpython/file/ceec209b26d4/Doc/lib/liburllib2.tex should help. > Otherwise, why not simply install Python 2.7 on those systems? It can > happily coexist with the system 2.4. > > ChrisA > -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence