[Patches] [ python-Patches-664376 ] sys.path[0] should contain absolute pathname

SourceForge.net noreply@sourceforge.net
Wed, 08 Jan 2003 05:31:56 -0800


Patches item #664376, was opened at 2003-01-08 14:26
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=664376&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Heller (theller)
Assigned to: Nobody/Anonymous (nobody)
Summary: sys.path[0] should contain absolute pathname

Initial Comment:
This patch changes sys.path[0] to contain an absolute 
instead of a relative pathname.

See python-dev thread starting here:
http://mail.python.org/pipermail/python-dev/2003-
January/031896.html

----------------------------------------------------------------------

>Comment By: Thomas Heller (theller)
Date: 2003-01-08 14:31

Message:
Logged In: YES 
user_id=11105

The attached patch (sysmodule.diff) fixes the problem on 
Windows - that's the only system where I can test it.

It leaves sys.argv alone and only changes sys.path[0] to an 
absolute pathname.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=664376&group_id=5470