This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients barry, benjamin.peterson, christian.heimes, georg.brandl, gvanrossum, pitrou
Date 2012-01-03.20:24:32
SpamBayes Score 3.6732352e-05
Marked as misclassified No
Message-id <1325622273.87.0.90076525746.issue13704@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-01-03 20:24:33christian.heimessetrecipients: + christian.heimes, gvanrossum, barry, georg.brandl, pitrou, benjamin.peterson
2012-01-03 20:24:33christian.heimessetmessageid: <1325622273.87.0.90076525746.issue13704@psf.upfronthosting.co.za>
2012-01-03 20:24:33christian.heimeslinkissue13704 messages
2012-01-03 20:24:32christian.heimescreate