Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In Python 2, doing os.path.join(u"foo", "bar") is actually legal, and returns a unicode string. Also os.path.relpath always returns the type of its first argument. (The solution is not perfect -- e.g. os.path.join("a", "b", "c", "d", u"e") will still result in a type error. )
- Loading branch information