[Patches] [ python-Patches-1035255 ] Remove CoreServices / CoreFoundation dependencies in core

SourceForge.net noreply at sourceforge.net
Wed Oct 20 23:16:43 CEST 2004


Patches item #1035255, was opened at 2004-09-26 23:44
Message generated for change (Comment added) made by etrepum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1035255&group_id=5470

Category: Macintosh
Group: Python 2.4
Status: Open
Resolution: None
Priority: 8
Submitted By: Bob Ippolito (etrepum)
Assigned to: Brett Cannon (bcannon)
Summary: Remove CoreServices / CoreFoundation dependencies in core

Initial Comment:
This patch trims down the Python core on Darwin by making it 
independent of CoreFoundation and CoreServices.  It does this by:

Changed linker flags in configure/configure.in
Removed the unused PyMac_GetAppletScriptFile
Moved the implementation of PyMac_StrError to the MacOS module
Moved the implementation of PyMac_GetFullPathname to the 
Carbon.File module

In theory this should make Python start up faster on OS X, but I 
haven't benchmarked it.

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

>Comment By: Bob Ippolito (etrepum)
Date: 2004-10-20 17:16

Message:
Logged In: YES 
user_id=139309

It certainly won't solve the test__locale issue, but it *might* make it 
intermittent depending on what you've imported ;)

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

Comment By: Brett Cannon (bcannon)
Date: 2004-10-20 17:14

Message:
Logged In: YES 
user_id=357491

I will see if I can get to this over the weekend.  Might take a while since 
I am not familiar with much of the MacPython stuff beyond the UNIX-
level issues.

Until then, I am wondering if this will help solve test__locale from failing 
since the C locale should no longer be locked down since compilation 
against CF was what was causing trouble in the first place.

And I need to remember to regenerate configure with autoconf 2.58 (not 
2.57 as is included with OS X!).  DarwinPorts to the rescue.  =)

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

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


More information about the Patches mailing list