Issue 4349: sys.path includes extraneous junk (original) (raw)

Issue4349

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/48599

classification

Title: sys.path includes extraneous junk
Type: behavior Stage:
Components: Interpreter Core Versions: Python 3.0

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, christian.heimes, exarkun
Priority: release blocker Keywords: needs review, patch

Created on 2008-11-18 21:36 by exarkun, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
remove_old_cruft.patch benjamin.peterson,2008-11-18 22:24
Messages (4)
msg76013 - (view) Author: Jean-Paul Calderone (exarkun) * (Python committer) Date: 2008-11-18 21:36
With a recent build of the py3k branch, sys.path ends up with this element: /home/exarkun/Projects/python/branches/py3k/Lib/plat-linux2@EXTRAMACHDEPPATH@ which doesn't exist and doesn't look like it should exist. plat-linux2, which does exist, doesn't end up winth sys.path.
msg76023 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-11-18 22:24
Here's a simple patch.
msg76024 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-11-18 22:32
Go on
msg76025 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-11-18 22:37
Fixed in r67269.
History
Date User Action Args
2022-04-11 14:56:41 admin set github: 48599
2008-11-18 22:37:24 benjamin.peterson set status: open -> closedresolution: accepted -> fixedmessages: +
2008-11-18 22:32:50 christian.heimes set nosy: + christian.heimesresolution: acceptedmessages: +
2008-11-18 22:24:10 benjamin.peterson set priority: release blockerkeywords: + needs review, patchmessages: + files: + remove_old_cruft.patchnosy: + benjamin.peterson
2008-11-18 21:36:31 exarkun create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements