[Python-ideas] Re: set arbitrary hash random seed to ensure reproducible results

2021-12-23 Thread Chris Angelico
On Fri, Dec 24, 2021 at 12:14 AM Hao Hu wrote: >- generalize the signature of __hash__(object) to __hash__(object, > *args, **kwargs). In the default implementation, we discard the keyword > "salt" and use the default fallback salt if the keyword is not present, > otherwise we use the salt

[Python-ideas] Re: set arbitrary hash random seed to ensure reproducible results

2021-12-23 Thread Hao Hu
On 12/23/21 07:39, Stephen J. Turnbull wrote: Hao Hu writes: > On 12/18/21 08:44, Stephen J. Turnbull wrote: > > Hao Hu writes: > > > >> For instance, if we create a caching programming interface that > > > >> relies on a distributed kv store, > > > > I would be very suspicious