From 60896cc61a960e6bfef680ad890c0f848c9fc27c Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Thu, 6 Jan 2011 07:18:12 -0500 Subject: Fix AllOrNothing and random.sample() o AllOrNothing no longer fails occasionally. Patch by Lorenz Quack o random.sample() works on Python 2.1. Patch by Paul Koning and Lorenz Quack --- python-3-changes.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'python-3-changes.txt') diff --git a/python-3-changes.txt b/python-3-changes.txt index ea2c04c..ca6f5a6 100644 --- a/python-3-changes.txt +++ b/python-3-changes.txt @@ -58,12 +58,10 @@ Use instead assertEqual(expr,True) for assert_ and assertEqual(expr,False) for failIf Added unit tests for Crypto.Random.random. Fixed random.shuffle(). -Not changed: random.sample() fails on Python 2.1. This is now exposed through - the unit test. +random.sample() changed to no longer fail on Python 2.1. Added unit test for Crypto.Protocol.AllOrNothing. -Not changed: AllOrNothing fails when called a few times (<10, usually). This - is now exposed through the unit test. +AllOrNothing changed to no longer fail occasionally. C code: -- cgit v1.2.1