Issue #9948: logging: fixed problem of losing filename case information.

This commit is contained in:
Vinay Sajip 2010-10-10 20:36:04 +00:00
parent 739a59cf72
commit 5e8349e5cc
2 changed files with 3 additions and 1 deletions

View File

@ -1211,7 +1211,7 @@ class Logger(Filterer):
if filename == _srcfile:
f = f.f_back
continue
rv = (filename, f.f_lineno, co.co_name)
rv = (co.co_filename, f.f_lineno, co.co_name)
break
return rv

View File

@ -48,6 +48,8 @@ Core and Builtins
Library
-------
- Issue #9948: Fixed problem of losing filename case information.
- Issue #9437: Fix building C extensions with non-default LDFLAGS.
- Issue #9759: GzipFile now raises ValueError when an operation is attempted