[Python-Dev] A wart which should have been repaired in 3.0?

Paul Moore p.f.moore at gmail.com
Wed Dec 31 09:49:43 CET 2008


2008/12/31 Phillip J. Eby <pje at telecommunity.com>:
> Change that to [os.path.normpath(p)+'/' for p in paths] and you've got
> yourself a winner.

s#'/'#os.sep# to make it work on Windows as well :-)

Have we established yet that this is hard enough to get right to
warrant a stdlib implementation?
Paul


More information about the Python-Dev mailing list