From: loewis@informatik.hu-berlin.de (Martin v. Löwis)
To: Mark Mitchell <mark@codesourcery.com>
Cc: "Ralf W. Grosse-Kunstleve" <rwgk@cci.lbl.gov>,
c++std-ext@research.att.com, gcc@gcc.gnu.org
Subject: Re: Minimal GCC/Linux shared lib + EH bug example
Date: Thu, 16 May 2002 04:35:00 -0000 [thread overview]
Message-ID: <j4sn4sv0t7.fsf@informatik.hu-berlin.de> (raw)
In-Reply-To: <5040000.1021522583@localhost>
Mark Mitchell <mark@codesourcery.com> writes:
> It occurs to me that another way to solve these problems is to change
> the rules for loading modules, from the point of view of Python. The
> whole point of using RTLD_LOCAL is to prevent name clashes between
> modules.
>
> Why not define that problem away?
>
> If the rule was that, for example, all externally visible names in the
> loaded modules had to be within namespaces that were assigned by some
> naming authority, or otherwise consistent, then you could load modules
> with RTLD_GLOBAL.
>
> Yes, I know this is non-trivial, but if you want to use C++, it's the
> practical solution over the medium term.
That indeed is an option: with sys.setdlopenflags, the application can
override Python's default of RTLD_LOCAL.
Regards,
Martin
next prev parent reply other threads:[~2002-05-16 10:34 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-14 15:37 Ralf W. Grosse-Kunstleve
2002-05-15 5:05 ` Martin v. Löwis
2002-05-16 0:16 ` Mark Mitchell
2002-05-16 4:35 ` Martin v. Löwis [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-05-15 8:23 Ralf W. Grosse-Kunstleve
2002-05-15 8:32 ` David Abrahams
2002-05-15 10:44 ` Martin v. Löwis
[not found] <09b501c1f634$04747d80$6501a8c0@boostconsulting.com>
2002-05-12 4:57 ` Jason Merrill
2002-05-12 6:42 ` David Abrahams
2002-05-12 7:30 ` Jason Merrill
2002-05-12 7:31 ` David Abrahams
2002-05-12 8:07 ` Jason Merrill
2002-05-12 9:24 ` David Abrahams
2002-05-12 9:31 ` Martin v. Loewis
2002-05-12 9:34 ` David Abrahams
2002-05-12 12:17 ` Mark Mitchell
2002-05-12 12:24 ` Martin v. Loewis
2002-05-12 12:29 ` Mark Mitchell
2002-05-12 12:36 ` Jason Merrill
2002-05-12 12:37 ` Mark Mitchell
2002-05-12 16:55 ` Jason Merrill
2002-05-12 13:41 ` David Abrahams
2002-05-13 1:34 ` Martin v. Loewis
2002-05-13 2:05 ` Mark Mitchell
2002-05-13 5:44 ` David Abrahams
2002-05-13 16:58 ` Martin v. Loewis
2002-05-13 21:39 ` David Abrahams
2002-05-14 2:34 ` Martin v. Loewis
2002-05-14 13:12 ` David Abrahams
2002-05-14 14:17 ` Martin v. Loewis
2002-05-12 12:36 ` David Abrahams
2002-05-13 1:28 ` Martin v. Loewis
2002-05-13 5:00 ` David Abrahams
2002-05-13 16:50 ` Martin v. Loewis
2002-05-13 19:00 ` David Abrahams
2002-05-14 2:14 ` Martin v. Loewis
2002-05-14 6:07 ` David Abrahams
2002-05-14 13:53 ` Martin v. Loewis
2002-05-14 14:45 ` David Abrahams
2002-05-15 2:54 ` Martin v. Loewis
2002-05-14 15:28 ` Jason Merrill
2002-05-14 18:32 ` Daniel Jacobowitz
2002-05-15 1:34 ` Martin v. Loewis
2002-05-14 13:23 ` Sean Parent
2002-05-14 14:08 ` David Abrahams
2002-05-14 18:38 ` Sean Parent
2002-05-14 22:50 ` David Abrahams
2002-05-15 11:38 ` Sean Parent
2002-05-15 11:50 ` Matthew Austern
2002-05-15 12:29 ` Joe Buck
2002-05-15 17:26 ` David Abrahams
2002-05-15 20:21 ` H . J . Lu
2002-05-15 22:35 ` David Abrahams
2002-05-16 11:18 ` H . J . Lu
2002-05-18 16:53 ` David Abrahams
2002-05-18 17:55 ` Martin v. Loewis
2002-05-18 19:06 ` David Abrahams
2002-05-18 19:13 ` David Abrahams
2002-05-19 4:29 ` Martin v. Loewis
2002-05-19 5:10 ` David Abrahams
2002-05-19 14:48 ` Martin v. Loewis
2002-05-15 16:36 ` David Abrahams
2002-05-15 19:26 ` Jeff Sturm
2002-05-12 8:17 ` Martin v. Loewis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=j4sn4sv0t7.fsf@informatik.hu-berlin.de \
--to=loewis@informatik.hu-berlin.de \
--cc=c++std-ext@research.att.com \
--cc=gcc@gcc.gnu.org \
--cc=mark@codesourcery.com \
--cc=rwgk@cci.lbl.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).