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

MacPorts noreply at macports.org
Sat Sep 15 23:16:43 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
Resolution:               |   Keywords:
      Port:  python27     |
--------------------------+--------------------

Comment (by nad@…):

 An upstream bug was filed as http://bugs.python.org/issue15048 and was
 rejected for a 2.7.x or 3.2.x maintenance release as breaking backward
 compatibility.  If you have specific cases where this behavior causes
 problems and you can help to make a case that the current behavior should
 be changed, you could add them to the issue and ask that it be reopened.
 Otherwise, you could: try to avoid having duplicate distributions/packages
 installed for both the system Python 2.7 and MacPorts; or you could
 manually manipulate `sys.path` within your Python program; or Python's
 behavior could be patched in `site.py` by you or by the maintainer of the
 MacPorts Python ports.

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


More information about the macports-tickets mailing list