Message154859
| Author |
barry-scott |
| Recipients |
barry-scott |
| Date |
2012年03月03日.23:56:17 |
| SpamBayes Score |
6.625446e-07 |
| Marked as misclassified |
No |
| Message-id |
<1330818978.97.0.545598673172.issue14188@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I'm testing on Mac OS X 10.7.3
http://bugs.python.org/issue4865 added
/Library/Python/2.7/site-packages
to the path for python.org built 2.7.
This will work for .py files but .so cannot be shared.
pysvn will SEGV python.org 2.7 when it is built against apple 2.7.
Because /Library/Python/2.7/site-packages is before
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages it is not possible to work around by install two binary kits.
To reproduce:
Install pysvn 1.7.6 for python.org
Then run python.org 2.7 and import pysvn. This will work.
Install pysvn 1.7.6 for Apple python. python.org 2.7 import pysvn is now broken.
$ /usr/bin/python
Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 23351500)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysvn
>>> pysvn
<module 'pysvn' from '/Library/Python/2.7/site-packages/pysvn/__init__.pyc'>
>>> ^D
$ /usr/local/bin/python2.7
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysvn
Segmentation fault: 11 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年03月03日 23:56:19 | barry-scott | set | recipients:
+ barry-scott |
| 2012年03月03日 23:56:18 | barry-scott | set | messageid: <1330818978.97.0.545598673172.issue14188@psf.upfronthosting.co.za> |
| 2012年03月03日 23:56:18 | barry-scott | link | issue14188 messages |
| 2012年03月03日 23:56:17 | barry-scott | create |
|