[issue17708] sys.flags.hash_randomization doesn't return correct value

Masami HIRATA report at bugs.python.org
Sun Apr 14 02:37:10 CEST 2013


Masami HIRATA added the comment:

It seems there is a misunderstanding on my part.

Python v3.3.1 documentation says,
"sys.flags The struct sequence flags exposes the status of command line flags. The attributes are read only."

I think that sys.flags.hash_randomization should be always 1 on Python v3.3.1

because the documentation says,
"-R 
Kept for compatibility. On Python 3.3 and greater, hash randomization is turned on by default."

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17708>
_______________________________________


More information about the Python-bugs-list mailing list