[Python-bugs-list] [ python-Bugs-534807 ] C extension modules with same short name
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 25 Mar 2002 10:54:58 -0800
Bugs item #534807, was opened at 2002-03-25 10:54
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=534807&group_id=5470
Category: Extension Modules
Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 5
Submitted By: Tom Epperly (tepperly)
Assigned to: Nobody/Anonymous (nobody)
Summary: C extension modules with same short name
Initial Comment:
I am working on a language interoperability project,
http://www.llnl.gov/CASC/components/. We have an IDL
that gets converted into Python C extension modules. If
we have an IDL such as this:
package MPIB {
interface Base {
}
}
package MPIB.Default {
class Base implements-all MPIB.Base {
}
}
We end up with two C extension modules whose short name
is Base. There is a symbol conflict when loading both
because they both use "initBase" as the DLL/SO
initialization function. It would be nice if C
extension modules could use the fully qualified module
name instead of the short name for the initialization
function. For example,
initMPID_Base and initMPIB_Default_Base
or
initMPIDBase and initMPIDDefaultBase
What do you think?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=534807&group_id=5470