Message130684
Python 2.7 on Windows converts the URL path '/C|/' to a naked drive letter 'C:'.
C:\src>c:\Python27\python.exe -c "import urllib;print urllib.url2pathname('/C|/')"
C:
C:\src>
Expected and I believe the correct output would be C:\, not C:. Reason is that a naked drive letter C: means "current directory in drive C:", whereas C:\ means "root directory in drive C:". So if you happen to start your application in "C:\src" for example, the output "C:" is interpreted as "C:\src", not as "C:\". |
|
Date |
User |
Action |
Args |
2011-03-12 15:30:23 | calvin | set | recipients:
+ calvin |
2011-03-12 15:30:23 | calvin | set | messageid: <1299943823.36.0.437320049664.issue11474@psf.upfronthosting.co.za> |
2011-03-12 15:30:22 | calvin | link | issue11474 messages |
2011-03-12 15:30:22 | calvin | create | |
|