STINNER Victor <victor.stin...@haypocalc.com> added the comment: I found this problem while running test_os with python -bb: there is an error on os.get_exec_path() because this function checks if b'PATH' key exists in the input dictionary. Extract of the function:
def get_exec_path(env=None): if env is None: env = environ try: path_list = env.get('PATH') except TypeError: path_list = None if supports_bytes_environ: try: path_listb = env[b'PATH'] except (KeyError, TypeError): pass else: (...) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9636> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com