[Python-bugs-list] [ python-Bugs-574235 ] convert_path fails with empty pathname

noreply@sourceforge.net noreply@sourceforge.net
Wed, 26 Jun 2002 12:48:03 -0700


Bugs item #574235, was opened at 2002-06-26 14:48
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=574235&group_id=5470

Category: Distutils
Group: Python 2.1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Aneesh Dalvi (adalvi)
Assigned to: Nobody/Anonymous (nobody)
Summary: convert_path fails with empty pathname

Initial Comment:
In distutils/util.py, in the function convert_path, I find I 
have to add the following two lines:

def convert_path (pathname):
    ...
    if os.sep == '/':
        return pathname
>>    if pathname=='':
>>        return pathname

This is required when installing piddle-1.0.15 on a Win32 
platform.  It is required under Python 2.1.2 as well as 
2.2.1.

I don't know if it is something specific to piddle, Win32, 
or something else.


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

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