This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Albert.Zeyer, amaury.forgeotdarc, belopolsky, meador.inge, ronaldoussoren, vstinner
Date 2014-01-16.08:24:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389860686.0.0.655478020075.issue20276@psf.upfronthosting.co.za>
In-reply-to
Content
FYI, dlopen() flags are configurable:
-  sys.setdlopenflags(n): default=RTLD_NOW (if available, or RTLD_LAZY otherwise)
- mode parameter of dl.dlopen(): default=RTLD_LAZY
- mode parameter of ctypes.CDLL: default=RTLD_LOCAL (but RTLD_GLOBAL on Mac OS X <= 10.3); but RTLD_NOW is always added

See also:
"How to disable RTLD_NOW for Python 2.7.x dlopen() in Mac OS X Mavericks?"
https://groups.google.com/forum/#!msg/comp.lang.python/DKmNGwyLl3w/1tuxcnwBAw8J

"how to handle library interdependencies"
http://osdir.com/ml/python.ctypes/2006-10/msg00022.html

"Need RTLD_GLOBAL for linux?"
http://code.google.com/p/ctypesgen/issues/detail?id=3
History
Date User Action Args
2014-01-16 08:24:46vstinnersetrecipients: + vstinner, ronaldoussoren, amaury.forgeotdarc, belopolsky, meador.inge, Albert.Zeyer
2014-01-16 08:24:45vstinnersetmessageid: <1389860686.0.0.655478020075.issue20276@psf.upfronthosting.co.za>
2014-01-16 08:24:45vstinnerlinkissue20276 messages
2014-01-16 08:24:45vstinnercreate