[Python-Dev] Re: import w/options (original) (raw)

Neal Becker ndbecker2 at verizon.net
Tue Oct 19 00:43:14 CEST 2004


Michael Hudson wrote:

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

I have an application where it would be useful to set RTLDGLOBAL 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?

Could be. But I checked the current cvs python source, and what I see is dlopen is called with flags set to 0. What am I missing?



More information about the Python-Dev mailing list