[MacPorts] #34763: python27 @2.7.3_0 Includes system paths in sys.path

MacPorts noreply at macports.org
Mon Jun 11 14:40:31 PDT 2012


#34763: python27 @2.7.3_0 Includes system paths in sys.path
------------------------------------+---------------------------------------
 Reporter:  jameskyle@…             |       Owner:  jwa@…           
     Type:  defect                  |      Status:  new             
 Priority:  Normal                  |   Milestone:                  
Component:  ports                   |     Version:  2.1.99          
 Keywords:                          |        Port:                  
------------------------------------+---------------------------------------

Comment(by nad@…):

 Trust me, it's an upstream issue (I am part of upstream).  You'll see the
 same behavior using a python.org OS X installer for 2.7.  The reason you
 didn't see it in your test is that it only applies to OS X framework
 builds, which you did not select.  And only on 10.7 and beyond.  The code
 that does this is in Lib/site.py in getsitepackages, currently around line
 313 or so (http://hg.python.org/cpython/file/2.7/Lib/site.py).

-- 
Ticket URL: <https://trac.macports.org/ticket/34763#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list