[Patches] [ python-Patches-931938 ] prefix and exec_prefix as root dir bug

SourceForge.net noreply at sourceforge.net
Mon Aug 9 15:37:34 CEST 2004


Patches item #931938, was opened at 2004-04-08 14:04
Message generated for change (Comment added) made by goertzen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=931938&group_id=5470

Category: Modules
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Daniel Goertzen (goertzen)
Assigned to: Nobody/Anonymous (nobody)
Summary: prefix and exec_prefix as root dir bug

Initial Comment:
When sys.prefix  or sys.exec_prefix are the root
directory, the reported directory is a null string
instead of "/".

This causes site.py to fail as described in bug 713601.

This patch to Modules/getpath.c inserts a SEP character
into the string if it is empty.

It should work fine on any unix, but I don't have any
python experience on the windows side...

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

>Comment By: Daniel Goertzen (goertzen)
Date: 2004-08-09 08:37

Message:
Logged In: YES 
user_id=843814

Oops.  Another try...

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

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2004-08-07 10:25

Message:
Logged In: YES 
user_id=580910

What patch?

You seem to have forgotten so check the "yes I really want to upload a 
file" checkbox.

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

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


More information about the Patches mailing list