This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Date 2006-12-18.09:54:05
SpamBayes Score
Marked as misclassified
Glad the problem's solved. It's not appropriate to change the current behaviour of logging with respect to determining the source file of a module, for a couple of reasons:

1) There are other problems caused by out-of-date .pyo and .pyc files (every use of __file__ is potentially a problem) - which changing logging would not solve. Logging uses __file__ how it is intended to be used.
2) Some systems are shipped with .pyo and .pyc files only - no .py files are available (e.g. frozen systems).
Date User Action Args
2007-08-23 14:50:44adminlinkissue1616422 messages
2007-08-23 14:50:44admincreate