Message4956
os.path.exists returns False incorrectly for some UNC directories. I'm
not sure what the particular reasons are. This is inconsistent with at
least CPython 2.5
For example in CPython 2.5.2:
>>> import os
>>> os.path.exists(u'\\\\cbmcc-fn-00020c\\1202\\RTMO')
True
>>> os.path.exists(u'\\\\cbmcc-fn-00020c\\1202\\RTMO\\')
Jython 2.5.0:
>>> import os
>>> os.path.exists(u'\\\\cbmcc-fn-00020c\\1202\\RTMO')
False
>>> os.path.exists(u'\\\\cbmcc-fn-00020c\\1202\\RTMO\\')
False
This is inconsitent even in Jython - sometimes, I get True, sometime
False. For example - a different directory will report True for the
path without the trailing slash, but False for the path with the
trailing slash. |
|
Date |
User |
Action |
Args |
2009-07-28 18:06:42 | crankycoder | set | recipients:
+ crankycoder |
2009-07-28 18:06:42 | crankycoder | set | messageid: <1248804402.23.0.912352279328.issue1414@psf.upfronthosting.co.za> |
2009-07-28 18:06:42 | crankycoder | link | issue1414 messages |
2009-07-28 18:06:41 | crankycoder | create | |
|