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 7d03c7da19
commit 1c71b2af1a
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -92,6 +92,8 @@ Core and Builtins
Library Library
------- -------
- Issue #9948: Fixed problem of losing filename case information.
- Issue #9437: Fix building C extensions with non-default LDFLAGS. - Issue #9437: Fix building C extensions with non-default LDFLAGS.
- Issue #4661: email can now parse bytes input and generate either converted - Issue #4661: email can now parse bytes input and generate either converted