In some commercial production environments, generally will not expose the
source code, this means that only .pyc files exist in the environment.In
this case, the extension API cannot be loaded.
Closes-Bug:#1869148
Change-Id: Id5238e7efe5ff0b80197ac0afa9f5f7a73239f20
(cherry picked from commit 8c582d8791)
(cherry picked from commit 6b3daf4814)
(cherry picked from commit 3e68d6299a)
(cherry picked from commit 0070c6b28b)