★ wanayoo — archive 1999 https://mail.python.org/pipermail/pythonmac-sig/2002-February/005132.htmlNouvelle recherche | Portail wanayoo

[Pythonmac-SIG] Re: dynload_next patch - still waiting for feedback

Manoj Plakal terabaap@yumpee.org
Wed, 13 Feb 2002 03:37:44 -0600


Hi Jack,

Yes, this is the first time I'm seeing this patch.

My only comment: does this mean that one needs
to know how a module has been compiled and then
fiddle with sys.setdlopenflags() if necessary
before importing it? Isn't that a problem if you're
writing stuff that has to be distributed and needs
to import external modules not under your control?

Wouldn't it be better to shift the responsibility
to the module building phase: a change to
distutils which changes the link options between
flat or 2-level? Keep it 2-level by default,
and only those modules which absolutely need flat
can specify an extra distutils option.

Manoj


Jack Jansen wrote:
> Folks,
> I'm still waiting for feedback on the patch to enable 
> sys.setdlopenflags() and make dynload_next use module-private namespaces 
> by default, overridable with setdlopenflags(). It's patch #511962.
> 
> (Marcelinus and Manoj: I now realise that you might have missed the 
> previous announcement and you were interested, so this may be the first 
> you hear of this patch).
> --
> - Jack Jansen        <Jack.Jansen@oratrix.com>        
> http://www.cwi.nl/~jack -
> - If I can't dance I don't want to be part of your revolution -- Emma 
> Goldman -
>