comparison CHANGELOG @ 6329:29fb13dcb56c stable

python-compat: adapt to Python 3.11 BC breakage with `random.sample` As per https://docs.python.org/3/whatsnew/3.11.html#porting-to-python-3-11: "The population parameter of `random.sample()` must be a sequence, and automatic conversion of sets to lists is no longer supported. Also, if the sample size is larger than the population size, a `ValueError` is raised"
author Raphaël Gomès <rgomes@octobus.net>
date Sat, 19 Nov 2022 17:28:10 +0100
parents 7a7da643a6e3
children 47268350b3bc ba2f6764016b
comparison
equal deleted inserted replaced
6313:2cfae49c6c34 6329:29fb13dcb56c