p.strip(os.sep) can't have possibly worked. It would have stripped both
leading and trailing '/' characters on Unix systems.
S
Skip Montanaro committed
9f5178abb7edd1b1bcaffcdfcf1afd8816dab102
Parent: 22e00c4
leading and trailing '/' characters on Unix systems.