Message258144
If the code of sitecustomize raises an ImportError because the requested module doesn't exist, sitecustomize exception is silently ignored because site.py 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:44 | vstinner | set | recipients:
+ vstinner |
2016-01-13 14:46:44 | vstinner | set | messageid: <1452696404.05.0.367833198211.issue26099@psf.upfronthosting.co.za> |
2016-01-13 14:46:44 | vstinner | link | issue26099 messages |
2016-01-13 14:46:43 | vstinner | create | |
|