tomerfiliba/plumbum — pull request #39 by obmarg (2012-10-15 14:20:30+00:00)
Title: LocalPath no longer lowercases it's paths on win32

This is the fix I've been using locally for #38. I'm not sure if it's correct, so feel free to reject the pull request if I've messed up somehow.

I've updated LocalPath to not call str.lower() on paths that are passed in to it. The base Path class calls str.lower() before doing any comparisons already so it seems like this was a bit redundant.

Also updated Path.__hash__ to call str.lower on the path before hashing when on windows so that behaviour in dictionaries etc. is consistent.