Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:How': 0.10; 'python': 0.11; 'jan': 0.12; 'assume': 0.14; 'errors)': 0.16; 'os:': 0.16; 'subject:patch': 0.16; 'utc': 0.16; 'x86_64': 0.16; 'subject:python': 0.16; '<': 0.19; 'input': 0.22; 'python?': 0.22; 'error': 0.23; 'replace': 0.24; 'tried': 0.27; 'appreciated.': 0.29; 'url:bugs': 0.29; 'patch': 0.29; 'raise': 0.29; 'message-id:@mail.gmail.com': 0.30; 'skip:c 30': 0.32; 'linux': 0.33; 'url:python': 0.33; 'tool': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'url:org': 0.36; 'should': 0.36; 'thank': 0.38; 'to:addr:python- list': 0.38; 'files': 0.38; 'skip:- 10': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'skip:t 30': 0.61; 'skip:n 10': 0.64; 'skip:1 20': 0.65; 'latest': 0.67; '8bit%:27': 0.74; '2015': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LQUFKNhTPfA9beGS+Vn30JIMdOHEbpMSapidj2SMK34=; b=KLAILRjt7lsvsxFexp2yTViEq/jptN54XwwSuNi2omJ1l3ZWa82pN1nO1dQbtY2Ney bHSElgsROmabzah7AySoyvSuo76K4AcHolI6ceZALB63xfEAHIKJM4nvvX7ZBWEnkygS 3AUCwPvsRKYgmgm82JR3ldNrwfQ++sytaAXG7U7J7SMsROAZL5/LHw3uDxa9V4Wl2LiB S0N0EcaRG4S4hXXmrye+VHdbyLqaeX1CEZu/US8FhAO72T24OahsD26BVHoTv2eFs76M WVpKN2bTsL3VGMToFt4REEFXixu71LgcsA3CeVmd0aw/he+ua0rLfMEkd7bpryuHYHO0 QjXQ== MIME-Version: 1.0 X-Received: by 10.140.51.107 with SMTP id t98mr27352278qga.63.1424725792970; Mon, 23 Feb 2015 13:09:52 -0800 (PST) Date: Mon, 23 Feb 2015 16:09:52 -0500 Subject: How to apply python patch for issue9729 From: Sada Shirol To: python-list@python.org Content-Type: multipart/alternative; boundary=001a1135244ecadc86050fc7d284 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: 89 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424725795 news.xs4all.nl 2830 [2001:888:2000:d::a6]:34569 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86269 --001a1135244ecadc86050fc7d284 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =E2=80=8BHi everyone: Below is the error while I try to connect to Cassandr= a database with SSL-enable Python driver: raise NoHostAvailable("Unable to connect to any servers", errors) cassandra.cluster.NoHostAvailable: ('Unable to connect to any servers', {'IP Address': TypeError("'member_descriptor' object is not callable",)}) Upon some research found that I need to apply below patch: http://bugs.python.org/issue9729 There are three version for patch, I assume I should apply the latest version of the three files - issue9729-3.patch: issue9729.patch Dated: 2010-09-14 06:28 issue9729-2.patch Dated:2010-09-14 13:06 issue9729-3.patch Dated:2010-09-14 13:36 How do I apply a patch to python 2.6.6 on Linux? I tried to use the below patch tool patch -p1 --dry-run < name.patch what should be replace for --dry-run in case of python? Below is my OS: OS: Linux ------.x86_64 #1 SMP Wed Jan 28 21:11:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Any input is much appreciated. Thank You, --001a1135244ecadc86050fc7d284 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=E2=80=8BHi everyone: Below is the error while I try to connect= to Cassandra database with SSL-enable Python driver:
=C2=A0
raise NoHostAv= ailable("Unable to connect to any servers", errors)
cassandra.= cluster.NoHostAvailable: ('Unable to connect to any servers', {'= ;IP Address': TypeError("'member_descriptor' object is not= callable",)})
Upon some research found that I need to apply below= patch:
=C2=A0
=C2=A0
There are three version for patch, I assume I= =C2=A0should apply the latest version of the three files - issue9729-3.patc= h:
=C2=A0
issue9729.patch=C2=A0 Dated: 2010-09-14 06:28
issue9729-2.patch D= ated:2010-09-14 13:06
issue9729-3.patch Dated:2010-09-14 13:36
=C2=A0
=
How d= o I apply a patch to python 2.6.6 on Linux?
=C2=A0
I tried to use the below= patch tool
=C2=A0
patch -p1 --dry-run < name.patch
=C2=A0
what should b= e replace for --dry-run in case of python?
=C2=A0
=C2=A0
Below is my OS:
OS= : Linux ------.x86_64 #1 SMP Wed Jan 28 21:11:36 UTC 2015 x86_64 x86_64 x86= _64 GNU/Linux
=C2=A0
Any input is much appreciated.
=C2=A0
Thank You,
--001a1135244ecadc86050fc7d284--