Issue #12780: Removed checks in logging for .pyc/.pyo in __file__.
Issue #12780: Removed checks in logging for .pyc/.pyo in __file__.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator