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


Groups > comp.lang.python > #96670

Re: python how to load multiple C libraries

Path csiph.com!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'dependency': 0.07; 'cc:addr:python-list': 0.09; 'libraries.': 0.09; 'subject:python': 0.14; 'wed,': 0.15; '7:35': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.16; 'circular': 0.18; 'load': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'ctypes': 0.22; 'libraries': 0.22; 'sep': 0.22; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'them?': 0.29; 'anybody': 0.32; 'this?': 0.34; 'handle': 0.34; 'received:google.com': 0.35; 'problem.': 0.35; 'but': 0.36; 'there': 0.36; 'depends': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'chrisa': 0.84; 'to:none': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=2Urg7HXDdOzftPZQUwAPD1NVzNa7b6ZUW6aUVwV1lr0=; b=OW5t8SwIuZjE+XIN7SYUdCNeEPK816f8HA6hAdMXSIndZYTBkTN88oqBeM7P8MQtSQ wheaLqhIMcIICp6zk/3Nas3APz9FZ+IYqMPhvXyi6nWUQJhKPATPKOguv39zdKAQYGgw obunSq2XTO6osAJmg0/lO+KByIj87aDmtA0Cft43iWYWT/n4yBKwzWcszIGTmvFQXj1/ P9GZSpGvAdRyy9Tocm5rtRJnHoOEDaK55xWNxt84uBR0HttDWPw4loadXEGfEN2exCSg nK2e/Nbx0ZRLFMrqV4ZFdIp0Y6K24qI6UEwe8y2VB5C57oK2uRKRISzekPQ4394WmatE fFDg==
MIME-Version 1.0
X-Received by 10.107.36.72 with SMTP id k69mr19321198iok.157.1442396468600; Wed, 16 Sep 2015 02:41:08 -0700 (PDT)
In-Reply-To <55F937D6.6040104@inhand.com.cn>
References <55F937D6.6040104@inhand.com.cn>
Date Wed, 16 Sep 2015 19:41:08 +1000
Subject Re: python how to load multiple C libraries
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.628.1442396471.8327.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442396471 news.xs4all.nl 23865 [2001:888:2000:d::a6]:38585
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96670

Show key headers only | View raw


On Wed, Sep 16, 2015 at 7:35 PM, chenchao@inhand.com.cn
<chenchao@inhand.com.cn> wrote:
> I encountered a problem. I use ctypes load multiple C  libraries, but the
> libraries have dependence each other.So, how can i load these libraries. For
> example, I have two libraries:A、B, but A depends on B, B depends on A. So
> how do I load them? Is there anybody know how to do it?

How are the libraries built? A circular dependency is always a
problem. How would a C program handle this?

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: python how to load multiple C libraries Chris Angelico <rosuav@gmail.com> - 2015-09-16 19:41 +1000

csiph-web