➜

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.

作者 vstinner
收信人 christian.heimes, ncoghlan, vstinner
日期 2019-05-15.02:23:01
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1557886981.84.0.910024691827.issue26122@roundup.psfhosted.org>
In-reply-to
内容
This issue has been fixed in Python 3.8 with my work on refactoring Py_Main(). -E and -I command line options are now parsed, before reading PYTHONHASHSEED, and -I imply -E as expected. Extract of the code:

    if (config->isolated > 0) {
        config->user_site_directory = 0;
    }

    if (config->use_environment) {
        err = config_read_env_vars(config);
        if (_Py_INIT_FAILED(err)) {
            return err;
        }
    }

where config_read_env_vars() indirectly reads PYTHONHASHSEED.

I'm not sure if the issue is fixed in Python 3.7 or not. The code in Python 3.7 was in a bad state. It's getting better with Python 3.8 :-)

Note: the overall refactoring work is related to PEP 432 and PEP 587.
历史
日期 用户 动作 参数
2019-05-15 02:23:01vstinner修改recipients: + vstinner, ncoghlan, christian.heimes
2019-05-15 02:23:01vstinner修改messageid: <1557886981.84.0.910024691827.issue26122@roundup.psfhosted.org>
2019-05-15 02:23:01vstinner链接issue26122 messages
2019-05-15 02:23:01vstinner创建