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 rhettinger
Recipients eddieprebs, rhettinger
Date 2018-01-31.23:51:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517442684.85.0.467229070634.issue32736@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, while appreciate the sentiment and how well you articulated it, I'm going to decline this one for the reasons listed in the original discussion at https://bugs.python.org/issue13355 and because it is important to keep this code fast and light (so that large numbers of random variates can be created).  Also, for your own code, it is trivially easy to wrap the existing function with your own error checking.  Lastly, the ship for 2.7 sailed many years ago.  

Note, almost note of the random functions can defend themselves are incorrect argument order.  And who knows, there may be legitimate use cases for having the midpoint not between the low and high.
History
Date User Action Args
2018-01-31 23:51:24rhettingersetrecipients: + rhettinger, eddieprebs
2018-01-31 23:51:24rhettingersetmessageid: <1517442684.85.0.467229070634.issue32736@psf.upfronthosting.co.za>
2018-01-31 23:51:24rhettingerlinkissue32736 messages
2018-01-31 23:51:24rhettingercreate