Message109470
| Author |
ronaldoussoren |
| Recipients |
ezio.melotti, ijmorlan, loewis, ned.deily, ronaldoussoren |
| Date |
2010年07月07日.11:57:39 |
| SpamBayes Score |
0.014250488 |
| Marked as misclassified |
No |
| Message-id |
<1278503863.43.0.55591245347.issue3485@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Note that this does not just affect MacOSX, this even affects Linux (although the behaviour on the default filesystems is different).
On Linux the default is case-sensitive filesystems, but you can use network filesystems that have case-insensitive behavior, for example by using a CIFS share.
This means that /mnt/myserver-share/foo/bar and /mnt/myserver-share/FOO/BAR may or may not refer to the same "object": there aren't the same if /mnt/myserver-share is a regular Linux filesystem but will be when /mnt/myserver-share is a mount from a CIFS server.
In short: os.path.normcase is hopelessly naive in its assumptions about system behavior. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年07月07日 11:57:43 | ronaldoussoren | set | recipients:
+ ronaldoussoren, loewis, ijmorlan, ned.deily, ezio.melotti |
| 2010年07月07日 11:57:43 | ronaldoussoren | set | messageid: <1278503863.43.0.55591245347.issue3485@psf.upfronthosting.co.za> |
| 2010年07月07日 11:57:39 | ronaldoussoren | link | issue3485 messages |
| 2010年07月07日 11:57:39 | ronaldoussoren | create |
|