]> granicus.if.org Git - python/commit
Issue21709: Call os.path.normcase when setting _srcfile for compatibility
authorGregory P. Smith <greg@krypto.org>
Thu, 22 Oct 2015 20:12:20 +0000 (13:12 -0700)
committerGregory P. Smith <greg@krypto.org>
Thu, 22 Oct 2015 20:12:20 +0000 (13:12 -0700)
commit64707923bef2f539c12446b880f715a70ed6c21a
tree7e2da4b6d13b445a20e71a96b3b9bbf3aba9594a
parent7427a79e12a418a76d4660799b1c75785b5ea46d
Issue21709: Call os.path.normcase when setting _srcfile for compatibility
with what findCaller() does when running on non-POSIX platforms.

(alternatively: the normcase calls in both places could be eliminated, but that
touches more code and that refactoring hasn't even been done in 3 yet...)
Lib/logging/__init__.py