Message129039
lukasz.langa, confirming the difference in return values for glob.glob() on Win32/Cygwin vs. Linux as the following results show:
--------------------------------------------------------
F1()
ret_val1
F2(ret_val1)
ret_val2
--
\\\
Cygwin
///
--
string.split()
/
glob.glob('/')
['/']
string.split()
\
glob.glob('\')
['\\']
--
\\\
Win32
///
--
string.split()
/
glob.glob('/')
['/']
string.split()
\
glob.glob('\')
['\\']
--
\\\
Linux
///
--
string.split()
/
glob.glob('/')
['/']
string.split()
\
glob.glob('\')
[]
--------------------------------------------------------
For my education, is there a reason why glob.glob('\') on Win32/Cygwin returns ['\\'] instead of [] in Linux ? |
|
Date |
User |
Action |
Args |
2011-02-22 07:27:11 | Suresh.Kalkunte | set | recipients:
+ Suresh.Kalkunte, georg.brandl, lukasz.langa |
2011-02-22 07:27:11 | Suresh.Kalkunte | set | messageid: <1298359631.66.0.802493148363.issue11252@psf.upfronthosting.co.za> |
2011-02-22 07:27:11 | Suresh.Kalkunte | link | issue11252 messages |
2011-02-22 07:27:11 | Suresh.Kalkunte | create | |
|