[New-bugs-announce] [issue14071] allow more than one hash seed per process (move _Py_HashSecret into PyInterpreterState)

Gregory P. Smith report at bugs.python.org
Tue Feb 21 07:54:47 CET 2012


New submission from Gregory P. Smith <greg at krypto.org>:

The newly added hash randomization seed (issue 13703) is a global defined in object/object.c that is initialized only once within a process by a call from Py_InitializeEx().

For applications embedding Python interpreters it may be useful for them to NOT share a hash randomization seed across all interpreter instances within that process.  That way long living processes or processes serving many independent tasks can avoid using the same hash seed for separate tasks.

----------
components: Interpreter Core
messages: 153855
nosy: gregory.p.smith
priority: normal
severity: normal
status: open
title: allow more than one hash seed per process (move _Py_HashSecret into PyInterpreterState)
type: enhancement
versions: Python 3.3

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


More information about the New-bugs-announce mailing list