Mercurial > evolve
view debian/copyright @ 4754:75307f276a79
py3: make random topic name generation consistent across py2/py3
random.choice() (and others based on random.randint()) changed between
py2 and py3 without a way to get the py2 behavior. However,
random.random() did not change, so we can re-implement random.choice()
based on that.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 17 Jul 2019 11:45:37 -0700 |
parents | e3acb8823900 |
children | fc877278f79e |
line wrap: on
line source
This software was downloaded from https://www.mercurial-scm.org/repo/evolve/ Copyright 2011 Peter Arrenbrecht <peter.arrenbrecht@gmail.com> Logilab SA <contact@logilab.fr> Pierre-Yves David <pierre-yves.david@ens-lyon.org> Patrick Mezard <patrick@mezard.eu> This software may be used and distributed according to the terms of the GNU General Public License version 2 or any later version. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.