[Python-bugs-list] [ python-Bugs-497126 ] dl module and flags

noreply@sourceforge.net noreply@sourceforge.net
Thu, 27 Dec 2001 11:58:14 -0800


Bugs item #497126, was opened at 2001-12-27 11:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=497126&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gustavo Niemeyer (niemeyer)
Assigned to: Nobody/Anonymous (nobody)
Summary: dl module and flags

Initial Comment:
With the introduction of sys.setdlopenflags, the dl 
module got some special usefulness, carrying the 
flags used in this function. On the other hand, the 
dl module is not available on every platform where 
dlopen is. Alpha, for example, is not able to import 
the dl module because sizeof(int) is not equal to 
sizeof(long), as the assertion in initdl() ensures.

I can think about two obvious solutions:

a) Move RTLD_* flags to some standard module (sys?)

b) Make some of the functionality in dlmodule.c 
optional, instead of the whole module.



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=497126&group_id=5470