]> granicus.if.org Git - python/commit
bpo-33203: Ensure random.choice always raises IndexError on empty sequence (GH-6338)
authorWolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Thu, 5 Apr 2018 15:19:44 +0000 (17:19 +0200)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Thu, 5 Apr 2018 15:19:44 +0000 (08:19 -0700)
commit091e95e9004b794280ab35becec2c3e30dd5e96e
tree72be905acc5dd7a26b7a90a3d14efb58b99cbcad
parent74940913d26d9f94b8572eca794369841fa6d9b6
bpo-33203: Ensure random.choice always raises IndexError on empty sequence (GH-6338)
Lib/random.py
Lib/test/test_random.py
Misc/NEWS.d/next/Library/2018-04-05-11-09-45.bpo-33203.Hje9Py.rst [new file with mode: 0644]