Steve Dower added the comment: If you import os first then that's acceptable and we should document it more clearly. Try calling enable before importing os.
I wouldn't be surprised if os is imported automatically, in which case we need to figure out some alternate caching mechanism that can be reset by the enable call (or demonstrate that the caching is of no benefit). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29241> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com