Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!goblin3!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!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.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'suppose': 0.07; '[1]:': 0.09; 'python': 0.11; 'issue?': 0.16; 'symbols': 0.16; 'module': 0.19; 'not,': 0.20; 'example': 0.22; 'header:User-Agent:1': 0.23; 'library,': 0.24; 'visible': 0.24; 'extension': 0.26; 'defined': 0.27; '[1]': 0.29; 'extending': 0.31; 'another': 0.32; 'says': 0.33; 'url:python': 0.33; 'received:fr': 0.33; 'c++': 0.36; 'module.': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'to:addr:python- list': 0.38; 'list,': 0.38; 'to:addr:python.org': 0.39; 'replies.': 0.84; 'why?': 0.91 X-IronPort-AV: E=Sophos;i="4.93,604,1378850400"; d="scan'208";a="39799373" Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Sender-Computer: INRIA-ROCQ-UBUNTU-fl-58186.rocq.inria.fr To: python-list@python.org From: David Froger User-Agent: alot/0.3.5 Subject: shared libraries symbols visibility Date: Wed, 30 Oct 2013 21:33:07 +0100 X-Mailman-Approved-At: Wed, 30 Oct 2013 21:33:44 +0100 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383165225 news.xs4all.nl 15953 [2001:888:2000:d::a6]:45915 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58110 Hi list, Python documentation on Extending Python with C or C++ says [1]: When modules are used as shared libraries, however, the symbols defined in one module may not be visible to another module. Suppose I have an extension module that call functions provided by a shared library, for example blas. Do I meet the same portability issue? If not, Wh= y? Thanks for your replies. David [1] http://docs.python.org/2/extending/extending.html#providing-a-c-api-for= -an-extension-module