[C++-sig] BPL v2 and Exceptions

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Wed Oct 16 03:47:27 CEST 2002


Here is another thing to try:

import sys
if (sys.platform == "linux2"):
  if (hasattr(sys, "setdlopenflags")):
    sys.setdlopenflags(0x100|0x2)

I put this in all my __init__.py files (all my extensions are in packages, so
this is a very easy fix for me).

This assumes that dlopen()'ing with RTLD_GLOBAL (try man dlopen) does not lead
to name clashes in your environment.

See also:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6629

Ralf


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com




More information about the Cplusplus-sig mailing list