Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #86269 > unrolled thread

How to apply python patch for issue9729

Started bySada Shirol <get2sada@gmail.com>
First post2015-02-23 16:09 -0500
Last post2015-02-23 16:09 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  How to apply python patch for issue9729 Sada Shirol <get2sada@gmail.com> - 2015-02-23 16:09 -0500

#86269 — How to apply python patch for issue9729

FromSada Shirol <get2sada@gmail.com>
Date2015-02-23 16:09 -0500
SubjectHow to apply python patch for issue9729
Message-ID<mailman.19101.1424725795.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

​Hi everyone: Below is the error while I try to connect to Cassandra
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,

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web