Serhiy Storchaka added the comment: If config.py is just executed, __file__ can be a relative path.
RemoveFile() looks as a part of public API. If you are sure that nobody needs to remove a config file, you can remove this method. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27452> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com