benoitc/gunicorn — pull request #789 by benoitc (2014-06-14 08:12:24+00:00)
Title: fix #787 check if we load a pyc file or not.

PR to fix #787.

The current change test if the filename ends with `.pyc` to know if i needs to load it differently or not. Other way would be testing on ImportError but I am worried of the possible side effect,

Please review and test. cc @jerynmathew @tilgovi