[Python-Dev] Preventing 1.5 extensions crashing under 1.6/2.0 Python

Paul Prescod paul@prescod.net
Mon, 10 Jul 2000 13:54:05 -0500

Greg Stein wrote:
> > Because Python supports a configuration time option to link modules
> > statically.

Of course. I wasn't thinking. But here's another naive question, on what
platforms is it significantly better to statically link and how is it
significantly better?

> Not to mention that the .so is loaded into the process' address space. I
> don't think that you can have two symbols in the space with the same name.

I've never been clear on that issue. It seems like an unreasonably
strict constraint. Adding a function called "doit" to one library could
break another dynamically library that happens to have the same name
defined? I'd call that a bug in the dynamic loading infrastructure (and
certainly not a problem on Windows!)!

 Paul Prescod - Not encumbered by corporate consensus
"Computer Associates is expected to come in with better than expected 
earnings." Bob O'Brien, quoted in
	- http://www.fool.com/news/2000/foth000316.htm