Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: > I didn't think it's worth enough because import will be much slower than one > dict lookup.
I agree. The main value of my patch is handling possible (but very unlike) errors. Implementing negative value caching adds not many lines to the existing code and additional error handling. But now, after adding the environment variable, do we still need the -X option? From a user side I don't see much difference between specifying an option and an environment variable, but the code for handling the environment variable is much simpler. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31415> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com