https://github.com/python/cpython
Revision 2daf6ae2495c862adf8bc717bfe9964081ea0b10 authored by Georg Brandl on 20 February 2012, 18:54:16 UTC, committed by Georg Brandl on 20 February 2012, 18:54:16 UTC
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
1 parent ec1712a
History
Tip revision: 2daf6ae2495c862adf8bc717bfe9964081ea0b10 authored by Georg Brandl on 20 February 2012, 18:54:16 UTC
Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
Tip revision: 2daf6ae
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 723 bytes
.hgeol -rw-r--r-- 650 bytes
.hgignore -rw-r--r-- 963 bytes
.hgtags -rw-r--r-- 3.7 KB
LICENSE -rw-r--r-- 14.1 KB
Makefile.pre.in -rw-r--r-- 39.2 KB
README -rw-r--r-- 6.8 KB
configure -rwxr-xr-x 386.6 KB
configure.in -rw-r--r-- 115.8 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 32.5 KB
runtests.sh -rwxr-xr-x 2.1 KB
setup.py -rw-r--r-- 77.2 KB

README

back to top