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 mark.dickinson
Recipients Mathis Hammel, mark.dickinson, rhettinger
Date 2019-05-22.06:52:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558507928.61.0.51998217996.issue37000@roundup.psfhosted.org>
In-reply-to
Content
> this could be avoided by directly returning 0 if n == 1

The other solution is to make `getrandbits(0)` valid, always returning `0`.
History
Date User Action Args
2019-05-22 06:52:08mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, Mathis Hammel
2019-05-22 06:52:08mark.dickinsonsetmessageid: <1558507928.61.0.51998217996.issue37000@roundup.psfhosted.org>
2019-05-22 06:52:08mark.dickinsonlinkissue37000 messages
2019-05-22 06:52:08mark.dickinsoncreate