[Python-Dev] Problems with Python's default dlopen flags
David Abrahams" <email@example.com
Sat, 4 May 2002 08:53:28 -0500
[remembering to delete the ----- Original Message ----- line for Guido
this time <1E-15 wink>]
> MvL wrote:
> > It seems that this is a lose-lose situation: you can't please
> > everybody. In the current state, people that want to share symbols
> > can, if they really want to. With your proposed change, symbols that
> > accidentally clash between unrelated extensions cause problems, and
> > users of those modules can do nothing about it. Hence, the current
> > state is preferable.
> So give setdlopenflags a "force" option which overrides the setting
> designated by the extension module. I realize it's messy (probably too
> messy). If I could think of some non-messy advice for my users that
> avoids a language change, I'd like that just as well.
Come to think of it, no override is needed. If the module won't work
without sharing symbols, there's no point in overriding its desire for
RTLD_GLOBAL, because it still won't work. So I'm back to suggesting that
the module ought to tell python how to load it, period.