Sitelet https://github.com/python/cpython/issues/135027
Skip to content

The antigravity module needs the "getRandomNumber" function #135027

Description

@mrmcscreamypant

Feature or enhancement

Proposal:

def get_random_number():
    return 4 #chosen by fair dice roll
             #guaranteed to be random

This is clearly a major issue. (https://xkcd.com/221)

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Jun 2, 2025
  2. mrmcscreamypant commented on Jun 2, 2025

    @mrmcscreamypant
    Author

    Already working on a PR

  3. picnixz commented on Jun 2, 2025

    @picnixz
    Member

    I don't know if it's useful though. This module was meant to be a bit of a joke, not to be maintained further.

  4. added
    pendingThe issue will be closed if no feedback is provided
    on Jun 2, 2025
  5. mrmcscreamypant commented on Jun 2, 2025

    @mrmcscreamypant
    Author

    The module has been maintained before:
    #19520

  6. picnixz commented on Jun 2, 2025

    @picnixz
    Member

    For a good reason, as it was a bugfix. Adding this function is honestly not a useful feature.

  7. picnixz commented on Jun 2, 2025

    @picnixz
    Member

    I will reject this feature because I don't think it's useful and I don't think this module needs to be changed more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThe issue will be closed if no feedback is providedstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions