commit | baf304e82e1b54dbeee6b78ddf168e33ed8d557a | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Thu Apr 05 09:02:12 2018 -0700 |
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | Thu Apr 05 09:02:12 2018 -0700 |
tree | 502f940b1263b11be58f59249c7f6d3ac1b7072e | |
parent | 83f564fd242c1af9dbe6d4273ad50586489000e3 [diff] |
bpo-33203: Ensure random.choice always raises IndexError on empty sequence (GH-6338) (GH-6387) (cherry picked from commit 091e95e9004b794280ab35becec2c3e30dd5e96e) Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>