This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2010-08-19.00:51:09
SpamBayes Score 0.0003786766
Marked as misclassified No
Message-id <1282179071.12.0.437657762726.issue9636@psf.upfronthosting.co.za>
In-reply-to
Content
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:
    (...)
History
Date User Action Args
2010-08-19 00:51:11vstinnersetrecipients: + vstinner
2010-08-19 00:51:11vstinnersetmessageid: <1282179071.12.0.437657762726.issue9636@psf.upfronthosting.co.za>
2010-08-19 00:51:10vstinnerlinkissue9636 messages
2010-08-19 00:51:09vstinnercreate