This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Suresh.Kalkunte
Recipients Suresh.Kalkunte, georg.brandl, lukasz.langa
Date 2011-02-22.07:27:11
SpamBayes Score 0.0032933091
Marked as misclassified No
Message-id <1298359631.66.0.802493148363.issue11252@psf.upfronthosting.co.za>
In-reply-to
Content
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 ?
History
Date User Action Args
2011-02-22 07:27:11Suresh.Kalkuntesetrecipients: + Suresh.Kalkunte, georg.brandl, lukasz.langa
2011-02-22 07:27:11Suresh.Kalkuntesetmessageid: <1298359631.66.0.802493148363.issue11252@psf.upfronthosting.co.za>
2011-02-22 07:27:11Suresh.Kalkuntelinkissue11252 messages
2011-02-22 07:27:11Suresh.Kalkuntecreate