This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ztane
Recipients SilentGhost, mark.dickinson, rhettinger, wrohdewald, ztane
Date 2016-08-12.09:46:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470995194.43.0.527744908777.issue27742@psf.upfronthosting.co.za>
In-reply-to
Content
It is this change in 3.2:

    randrange is more sophisticated about producing equally distributed
    values.  Formerly it used a style like ``int(random()*n)`` which  '
    could produce slightly uneven distributions.

-                return self._randbelow(istart)
+                if istart >= maxwidth:
+                    return self._randbelow(istart)
+                return int(self.random() * istart)

by rhettinger. Since there has not been any regression tests that the seeded numbers would stay compatible, they don't. Perhaps it would be a good idea to *add* such tests.
History
Date User Action Args
2016-08-12 09:46:34ztanesetrecipients: + ztane, rhettinger, mark.dickinson, SilentGhost, wrohdewald
2016-08-12 09:46:34ztanesetmessageid: <1470995194.43.0.527744908777.issue27742@psf.upfronthosting.co.za>
2016-08-12 09:46:34ztanelinkissue27742 messages
2016-08-12 09:46:34ztanecreate