Message150527
All proposed fixes for a randomized hashing function raise and fall with
a good random number generator to feed the random seed. The seed must be
created very early in the startup phase of the interpreter, preferable
before the basic types are initialized. CPython already have multiple
sources for random data (win32_urandom in Modules/posixmodule.c, urandom
in Lib/os.py, Mersenne twister in Modules/_randommodule.c). However we
can't use them because they are wrapped inside Python modules which
require infrastructure like initialized base types.
Discussion at http://mail.python.org/pipermail/python-dev/2012-January/115263.html
My proposed changes are implemented in my feature fork but not yet well tested. Windows build files needs modification, too. |
|
Date |
User |
Action |
Args |
2012-01-03 20:24:33 | christian.heimes | set | recipients:
+ christian.heimes, gvanrossum, barry, georg.brandl, pitrou, benjamin.peterson |
2012-01-03 20:24:33 | christian.heimes | set | messageid: <1325622273.87.0.90076525746.issue13704@psf.upfronthosting.co.za> |
2012-01-03 20:24:33 | christian.heimes | link | issue13704 messages |
2012-01-03 20:24:32 | christian.heimes | create | |
|