[Python-Dev] import w/options

Michael Hudson mwh at python.net
Mon Oct 18 22:45:40 CEST 2004


"Neal D. Becker" <ndbecker2 at verizon.net> writes:

> I have an application where it would be useful to set RTLD_GLOBAL on dlopen
> when import is used.  Currently, python doesn't provide this option.  Why
> not allow an optional argument to import that would allow this?

I take it you'd be interested to learn about sys.setdlopenflags?

Cheers,
mwh

-- 
  I'm about to search Google for contract assassins to go to Iomega
  and HP's programming groups and kill everyone there with some kind
  of electrically charged rusty barbed thing.
                -- http://bofhcam.org/journal/journal.html, 2002-01-08


More information about the Python-Dev mailing list