]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Patch for bug http://bugs.python.org/issue1293
authorChristian Heimes <christian@cheimes.de>
Wed, 7 Nov 2007 17:26:16 +0000 (17:26 +0000)
committerChristian Heimes <christian@cheimes.de>
Wed, 7 Nov 2007 17:26:16 +0000 (17:26 +0000)
commit7d3bc0ade62ed38b26be03f408ad99f8fe290b5b
treeb7cbbf94b6088512b9910787c351d39ef2604b76
parentef181a7619a84639fed79d3071703636f39c3485
Patch for bug http://bugs.python.org/issue1293

The patch doesn't do the whole name mangling mambo jambo on purpose. MS sure does some weird things and I don't feel like reimplementing ntpath.normpath in C. If the user does deliberately something stupid he is on his own.

TODO: Backport to 2.6 (maybe 2.5?) and document that users should only do sys.path.append(os.path.normpath(somepath)) if they want to be on the safe side.
Python/import.c