Recognize pyc files even if they don't end in pyc.
Patch #103067 with modifications as discussed in email.
M
Martin v. Löwis committed
be4c0f56a28831f6121ef545ca8afb44a6723022
Parent: b31d36c
Patch #103067 with modifications as discussed in email.