Why os.path.isabs("/") on Windows returns True?
Grant Edwards
grante at visi.com
Fri Feb 1 15:55:07 EST 2008
More information about the Python-list mailing list
Fri Feb 1 15:55:07 EST 2008
- Previous message (by thread): Why os.path.isabs("/") on Windows returns True?
- Next message (by thread): Why os.path.isabs("/") on Windows returns True?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2008-02-01, Giampaolo Rodola' <gnewsg at gmail.com> wrote: > I'm trying to solve a jython-related issue and I discovered a > different behavior affecting os.path.isabs between CPython and > Jython. [...] > Is there a reason why "/" is considered an absolute pathname > by CPython? Sure seems like a bug to me. On Unix, "/" is an absolute path. On windows, "/" is relative to the current device. -- Grant Edwards grante Yow! I hope something GOOD at came in the mail today so visi.com I have a REASON to live!!
- Previous message (by thread): Why os.path.isabs("/") on Windows returns True?
- Next message (by thread): Why os.path.isabs("/") on Windows returns True?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list