Why os.path.isabs("/") on Windows returns True?
Grant Edwards
grante at visi.com
Fri Feb 1 15:55:07 EST 2008
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!!
More information about the Python-list
mailing list