Skip to content

getrandbits(0) causes infinite loop #670

@GKotsifos

Description

@GKotsifos

Calling getrandbits(0) results in an infinite loop and the interpreter becomes stuck. It should probably return either 0 immediately or raise an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions