[issue26122] Isolated mode doesn't ignore PYTHONHASHSEED

2019-05-20 Thread STINNER Victor
STINNER Victor added the comment: > Is there a way to fix the issue in 3.7 and earlier? We might consider it a > security issue. Hum, Python 3.7 is fixed as well. At least, in the 3.7 dev branch. Fixed seed: vstinner@apu$ PYTHONHASHSEED=42 ./python -c 'print(set("abcdefgh"))' {'g', 'e', 'a'

[issue26122] Isolated mode doesn't ignore PYTHONHASHSEED

2019-05-15 Thread Christian Heimes
Christian Heimes added the comment: Is there a way to fix the issue in 3.7 and earlier? We might consider it a security issue. -- ___ Python tracker ___ _

[issue26122] Isolated mode doesn't ignore PYTHONHASHSEED

2019-05-14 Thread STINNER Victor
STINNER Victor added the comment: 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->use

[issue26122] Isolated mode doesn't ignore PYTHONHASHSEED

2017-05-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue26122] Isolated mode doesn't ignore PYTHONHASHSEED

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26122] Isolated mode doesn't ignore PYTHONHASHSEED

2016-01-15 Thread Nick Coghlan
New submission from Nick Coghlan: While working on the draft PEP 432 implementation, I noticed that -I isn't special cased for early processing the same way that -E is: https://hg.python.org/cpython/file/tip/Modules/main.c#l265 This means that when isolated mode is used to turn off environment