[Python-Dev] Backward-incompatible change to random.randrange in 2.7.6

Benjamin Peterson benjamin at python.org
Wed Dec 18 00:54:40 CET 2013

2013/12/17 Antoine Pitrou <solipsis at pitrou.net>:
> On Tue, 17 Dec 2013 13:18:25 -0500
> Tres Seaver <tseaver at palladion.com> wrote:
>> Hash: SHA1
>> http://hg.python.org/cpython/rev/b1e94e332ec8
>> Do we really want to change an undocumented-but-effectively-public API in
>> a late-in-the-release-cycle third dot release?  It caused, ZODB's tests
>> to fail, for instance.
> Given the change doesn't seem to bring any visible change for users
> (either performance or robustness), I think it would be safe to revert
> it *in 2.7*.

I agree with Antoine. It's better not to break even morally-broken
programs like the zope tests in 2.7.x if it doesn't win anything.


More information about the Python-Dev mailing list