[ python-Bugs-995019 ] Ensure -single_module on Mac OS X

SourceForge.net noreply at sourceforge.net
Wed Jul 21 08:35:22 CEST 2004


Bugs item #995019, was opened at 2004-07-21 02:19
Message generated for change (Comment added) made by bbum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=995019&group_id=5470

Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bill Bumgarner (bbum)
Assigned to: Nobody/Anonymous (nobody)
Summary: Ensure -single_module on Mac OS X

Initial Comment:
When building Python (and disutils based extensions) on Mac OS 
X, Python should ensure that the -single_module flag is being 
passed to the linker.

This will ensure that any given .so, .dylib, or framework is linked 
as a single module.   This will vastly reduce the startup times of 
python, reduce the load times of modules, and shave a bit of a 
performance hit off the top at runtime.

This should also be applicable to the modules built by distutils.

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

>Comment By: Bill Bumgarner (bbum)
Date: 2004-07-21 02:35

Message:
Logged In: YES 
user_id=103811

This is not applicable to the distutils modules as they are built now;  
only applicable to Python.framework (and like builds).


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

Comment By: Bob Ippolito (etrepum)
Date: 2004-07-21 02:29

Message:
Logged In: YES 
user_id=139309

[I'm closing 995023, because bbum filed first]

distutils extensions can not use -single_module because they are 
bundles, not dylibs.  Frameworks and dylibs are synonymous, of course.

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

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


More information about the Python-bugs-list mailing list