Xiang Zhang added the comment: This is the design of getpath.c, when no exec/exec_prefix can be found it will emit warning and use the default one. Fortunately it gives use the ability to suppress the warnings. :) Simply set Py_FrozenFlag in _freeze_importlib.c can solve this problem. Upload a trivial patch to set the flag.
---------- keywords: +patch Added file: http://bugs.python.org/file44156/issue27713.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27713> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com