This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rsanchezsaez
Recipients khinsen, naufraghi, rsanchezsaez
Date 2009-12-15.15:16:37
SpamBayes Score 2.449531e-08
Marked as misclassified No
Message-id <1260890200.87.0.966372402109.issue3588@psf.upfronthosting.co.za>
In-reply-to
Content
This bug is still present in Python 2.6 and Python 3.0 included with
Snow Leopard.

Code:

/Library/Frameworks/Python.framework/Versions/3.0/bin/python
Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) 
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
>> import distutils.sysconfig
>> print(distutils.sysconfig.get_config_var('LINKFORSHARED'))

returns:
  Python.framework/Versions/3.0/Python

and

/Library/Frameworks/Python.framework/Versions/2.6/bin/python
Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39) 
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
>> import distutils.sysconfig
>> print(distutils.sysconfig.get_config_var('LINKFORSHARED'))

Returns:
  -u _PyMac_Error Python.framework/Versions/2.6/Python

However,

/usr/bin/python
Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
>> import distutils.sysconfig
>> print(distutils.sysconfig.get_config_var('LINKFORSHARED'))

returns the correct path:
   -u _PyMac_Error
/System/Library/Frameworks/Python.framework/Versions/2.6/Python
History
Date User Action Args
2009-12-15 15:16:41rsanchezsaezsetrecipients: + rsanchezsaez, naufraghi, khinsen
2009-12-15 15:16:40rsanchezsaezsetmessageid: <1260890200.87.0.966372402109.issue3588@psf.upfronthosting.co.za>
2009-12-15 15:16:38rsanchezsaezlinkissue3588 messages
2009-12-15 15:16:38rsanchezsaezcreate