Jason, I agree the behaviour I'm arguing for is debatable. After taking a look at ntpath.py and posixpath.py, I see that a satisfactory solution would be tricky. I'll play around with a made-up hack like cygwinpath.py to see if it is worth pursuing...
>Andres, >On Mon, Aug 30, 2004 at 01:29:38PM -0400, Andres Corrada-Emmanuel wrote: >> Does it not seem inconsistent that if Cygwin Python understands how to >> execute: >> >> file( 'c:/foo/bar' ) as well as file( '/cygdrive/c/foo/bar' ) >> >> it should also treat Windows style paths correctly with os.path.join? >> In other words, it seems that Python on Cygwin cannot default to using >> posixpath.py for os.path. It's got to be posixpath.py with some >> additional magic to get it to do os.path.join correctly. >The above is debatable. You may want to try asking on one of the Python >lists. Andres Corrada-Emmanuel Senior Research Fellow Information Extraction and Synthesis Laboratory University of Massachusetts, Amherst -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/