[Python-Dev] Backward-incompatible change to random.randrange in 2.7.6
Tres Seaver
tseaver at palladion.com
Tue Dec 17 20:02:12 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/17/2013 01:40 PM, Guido van Rossum wrote:
> This really seems a case of ZODB depending on internals where it
> really, really should have known better. Calling this "a de-facto
> public interface" seems way too far a stretch of the intention. And
> please don't fix it by version-testing and using a different argument
> name...
The usage is *ancient*: Jeremy checked it in 2001-10-05:
https://github.com/zopefoundation/ZODB/commit/fd1653580ca67bdc281fb8c54662c97dd3cf1aaa
The comment about "do not pass the 'int' or 'default' arguments" goes
back to at least the 'whrandom.py' module in 1.5.2. ;)
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlKwn7QACgkQ+gerLs4ltQ4WzACeOMXqg5Jg8ck3vK3cCDuTgKSS
8GwAn0yR8ukdQTh5Wo0jGDHq/AIgu+Yg
=fTUf
-----END PGP SIGNATURE-----
More information about the Python-Dev
mailing list