Staging
v0.8.1
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
Raw File
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
.hgeol
[patterns]

# Non human-editable files are binary

**.dsp  = BIN
**.dsw  = BIN
**.mk   = BIN
**.sln  = BIN
**.vcproj  = BIN
**.vsprops = BIN

**.aif  = BIN
**.au   = BIN
**.bmp  = BIN
**.db   = BIN
**.exe  = BIN
**.icns = BIN
**.gif  = BIN
**.ico  = BIN
**.info = BIN
**.jpg  = BIN
**.pck  = BIN
**.png  = BIN
**.psd  = BIN
**.tar  = BIN
**.xar  = BIN
**.zip  = BIN

Lib/email/test/data/msg_26.txt = BIN
Lib/test/cjkencodings/* = BIN
Lib/test/sndhdrdata/sndhdr.* = BIN
Lib/test/decimaltestdata/*.decTest = BIN

# All other files (which presumably are human-editable) are "native".
# This must be the last rule!

** = native

[repository]
native = LF
back to top