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 vstinner
Recipients vstinner
Date 2016-01-13.14:46:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
If the code of sitecustomize raises an ImportError because the requested module doesn't exist, sitecustomize exception is silently ignored because uses "try: import sitecustomize except ImportError: pass".

It's possible to log a warning since ImportError now has a name attribute since Python 3.3.

There is a similar issue on usercustomize.

Attached patch fixes the issue.
Date User Action Args
2016-01-13 14:46:44vstinnersetrecipients: + vstinner
2016-01-13 14:46:44vstinnersetmessageid: <>
2016-01-13 14:46:44vstinnerlinkissue26099 messages
2016-01-13 14:46:43vstinnercreate