[Python-bugs-list] [ python-Bugs-412252 ] mimetypes.py uses posixpath not os.path

noreply@sourceforge.net noreply@sourceforge.net
Thu, 29 Mar 2001 10:50:09 -0800


Bugs item #412252, was updated on 2001-03-29 10:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=412252&group_id=5470

Category: Python Library
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: mimetypes.py uses posixpath not os.path

Initial Comment:
The mimetypes.py module imports posixpath instead of 
os.path.  There's nothing special from posixpath that 
it's using - only three calls to splitext, which 
should have the same implementation in all of the 
platform-specific path modules.

This was noted when using Gordon McMillan's installer, 
which normally excludes posixpath since it's creating 
Win32 executables that should be using ntpath.

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

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