Message96440
| 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:41 | rsanchezsaez | set | recipients:
+ rsanchezsaez, naufraghi, khinsen |
| 2009年12月15日 15:16:40 | rsanchezsaez | set | messageid: <1260890200.87.0.966372402109.issue3588@psf.upfronthosting.co.za> |
| 2009年12月15日 15:16:38 | rsanchezsaez | link | issue3588 messages |
| 2009年12月15日 15:16:38 | rsanchezsaez | create |
|